DexTool/LivingDexSS.gmx/scripts/scroll_warp.gml
2020-02-17 14:31:34 -06:00

4 lines
177 B
Plaintext

var py = ((sprite_get_height(spr_source)*global.icon_scale - sprite_get_height(spr_slot)*global.icon_scale*5)/2);
view_yview[0] = global.box_header[global.current_box].y + py;