Deltarune script viewer

← back to main script listing

gml_GlobalScript_scr_shopmorearrow

(view raw script w/o annotations or w/e)
1
function scr_shopmorearrow
scr_shopmorearrow

function scr_shopmorearrow(argument0) //gml_Script_scr_shopmorearrow { if (pagemax > 0) draw_sprite_ext(spr_morearrow, 0, 370, (280 - (sin(cur_jewel / 12)) * 3), 1, -1, 0, c_white, 1) if ((5 + pagemax) < argument0) { if (menu == 11) { if (itemsellname[(5 + pagemax)] != " ") draw_sprite_ext(spr_morearrow, 0, 370, (440 + (sin(cur_jewel / 12)) * 3), 1, 1, 0, c_white, 1) } else draw_sprite_ext(spr_morearrow, 0, 370, (440 + (sin(cur_jewel / 12)) * 3), 1, 1, 0, c_white, 1) } }
(argument0) //gml_Script_scr_shopmorearrow
2
{
3
    if (pagemax > 0)
4
        draw_sprite_ext(spr_morearrow, 0, 370, (280 - (sin(cur_jewel / 12)) * 3), 1, -1, 0, c_white, 1)
5
    if ((5 + pagemax) < argument0)
6
    {
7
        if (menu == 11)
8
        {
9
            if (itemsellname[(5 + pagemax)] != " ")
10
                draw_sprite_ext(spr_morearrow, 0, 370, (440 + (sin(cur_jewel / 12)) * 3), 1, 1, 0, c_white, 1)
11
        }
12
        else
13
            draw_sprite_ext(spr_morearrow, 0, 370, (440 + (sin(cur_jewel / 12)) * 3), 1, 1, 0, c_white, 1)
14
    }
15
}