1
Fork 0
mirror of https://github.com/Steffo99/stack.git synced 2024-11-24 17:04:17 +00:00
stack/scripts/scrcursor.gml

9 lines
436 B
Text
Raw Normal View History

2013-07-18 15:18:39 +00:00
if (selected = 10 || selected = 43 || selected = 44 || selected = 45 || selected = 46 || selected = 34 || selected = 37 || selected = 40 || selected = 47 || selected = 48)
2013-07-16 17:57:24 +00:00
{
draw_sprite_ext(object_get_sprite(stack_names[selected]), 0, floor((mouse_x div 32))*32,floor((mouse_y div 32))*32, 1, 1, 0, c_white, 0.4);
}
else
{
draw_sprite_ext(object_get_sprite(stack_names[selected]), 0, mouse_x, mouse_y, 1, 1, 0, c_white, 0.4);
}