4
0
Fork 0
This repository has been archived on 2023-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
surprise_dungeon/objects/oPlayer/Other_4.gml

22 lines
315 B
Text
Raw Permalink Normal View History

2020-12-06 18:16:32 +01:00
switch (global.spawn) {
case -1 :
x = 48;
y = room_height / 2;
break;
case 2 :
x = room_width / 2;
y = 48;
break;
case 3 :
x = room_width - 48;
y = room_height / 2;
break;
case 0 :
x = room_width / 2;
y = room_height - 48;
break;
case 1 :
x = 48;
y = room_height / 2;
break;
}