pokeemerald/data/maps/UnionRoom/scripts.inc

110 lines
2.2 KiB
PHP
Raw Normal View History

2021-07-05 19:54:43 +02:00
@ Note: LOCALID_UNION_ROOM_PLAYER_# are local ids for this map used elsewhere. They're defined in event_objects.h
2017-11-10 02:21:31 +01:00
UnionRoom_MapScripts:: @ 823D1A6
map_script MAP_SCRIPT_ON_RESUME, UnionRoom_OnResume
map_script MAP_SCRIPT_ON_TRANSITION, UnionRoom_OnTransition
2017-11-10 02:21:31 +01:00
.byte 0
UnionRoom_OnResume: @ 823D1B1
2018-10-19 03:32:21 +02:00
setflag FLAG_HIDE_UNION_ROOM_PLAYER_1
setflag FLAG_HIDE_UNION_ROOM_PLAYER_2
setflag FLAG_HIDE_UNION_ROOM_PLAYER_3
setflag FLAG_HIDE_UNION_ROOM_PLAYER_4
setflag FLAG_HIDE_UNION_ROOM_PLAYER_5
setflag FLAG_HIDE_UNION_ROOM_PLAYER_6
setflag FLAG_HIDE_UNION_ROOM_PLAYER_7
setflag FLAG_HIDE_UNION_ROOM_PLAYER_8
2021-07-05 19:54:43 +02:00
removeobject LOCALID_UNION_ROOM_PLAYER_1
removeobject LOCALID_UNION_ROOM_PLAYER_2
removeobject LOCALID_UNION_ROOM_PLAYER_3
removeobject LOCALID_UNION_ROOM_PLAYER_4
removeobject LOCALID_UNION_ROOM_PLAYER_5
removeobject LOCALID_UNION_ROOM_PLAYER_6
removeobject LOCALID_UNION_ROOM_PLAYER_7
removeobject LOCALID_UNION_ROOM_PLAYER_8
2020-06-09 00:16:57 +02:00
special RunUnionRoom
2017-11-10 02:21:31 +01:00
end
UnionRoom_OnTransition: @ 823D1E5
2017-11-10 02:21:31 +01:00
end
UnionRoom_EventScript_Player1:: @ 823D1E6
2017-11-10 02:21:31 +01:00
lock
faceplayer
2020-06-09 00:16:57 +02:00
setvar VAR_RESULT, UR_INTERACT_PLAYER_1
2017-11-10 02:21:31 +01:00
waitstate
release
end
UnionRoom_EventScript_Player2:: @ 823D1F0
2017-11-10 02:21:31 +01:00
lock
faceplayer
2020-06-09 00:16:57 +02:00
setvar VAR_RESULT, UR_INTERACT_PLAYER_2
2017-11-10 02:21:31 +01:00
waitstate
release
end
UnionRoom_EventScript_Player3:: @ 823D1FA
2017-11-10 02:21:31 +01:00
lock
faceplayer
2020-06-09 00:16:57 +02:00
setvar VAR_RESULT, UR_INTERACT_PLAYER_3
2017-11-10 02:21:31 +01:00
waitstate
release
end
UnionRoom_EventScript_Player4:: @ 823D204
2017-11-10 02:21:31 +01:00
lock
faceplayer
2020-06-09 00:16:57 +02:00
setvar VAR_RESULT, UR_INTERACT_PLAYER_4
2017-11-10 02:21:31 +01:00
waitstate
release
end
UnionRoom_EventScript_Player5:: @ 823D20E
2017-11-10 02:21:31 +01:00
lock
faceplayer
2020-06-09 00:16:57 +02:00
setvar VAR_RESULT, UR_INTERACT_PLAYER_5
2017-11-10 02:21:31 +01:00
waitstate
release
end
UnionRoom_EventScript_Player6:: @ 823D218
2017-11-10 02:21:31 +01:00
lock
faceplayer
2020-06-09 00:16:57 +02:00
setvar VAR_RESULT, UR_INTERACT_PLAYER_6
2017-11-10 02:21:31 +01:00
waitstate
release
end
UnionRoom_EventScript_Player7:: @ 823D222
2017-11-10 02:21:31 +01:00
lock
faceplayer
2020-06-09 00:16:57 +02:00
setvar VAR_RESULT, UR_INTERACT_PLAYER_7
2017-11-10 02:21:31 +01:00
waitstate
release
end
UnionRoom_EventScript_Player8:: @ 823D22C
2017-11-10 02:21:31 +01:00
lock
faceplayer
2020-06-09 00:16:57 +02:00
setvar VAR_RESULT, UR_INTERACT_PLAYER_8
2017-11-10 02:21:31 +01:00
waitstate
release
end
UnionRoom_EventScript_Attendant:: @ 823D236
2017-11-10 02:21:31 +01:00
lock
faceplayer
2020-06-09 00:16:57 +02:00
setvar VAR_RESULT, UR_INTERACT_ATTENDANT
2017-11-10 02:21:31 +01:00
waitstate
release
end
UnionRoom_EventScript_Unused:: @ 823D240
lockall
2020-06-09 00:16:57 +02:00
setvar VAR_RESULT, UR_INTERACT_UNUSED
waitstate
releaseall
end
2017-11-10 02:21:31 +01:00