Sync event macros

This commit is contained in:
GriffinR
2020-01-10 00:44:57 -05:00
parent 94fbc3ac48
commit 4a6f15ba24
220 changed files with 3209 additions and 3580 deletions
+14 -14
View File
@@ -6,9 +6,9 @@ SevenIsland_House_Room1_MapScripts:: @ 817088A
SevenIsland_House_Room1_OnTransition:: @ 8170895
special ValidateEReaderTrainer
compare VAR_RESULT, 0
call_if eq, EventScript_1708AF
call_if_eq EventScript_1708AF
compare VAR_MAP_SCENE_SEVEN_ISLAND_HOUSE_ROOM1, 0
call_if ne, EventScript_1708C3
call_if_ne EventScript_1708C3
end
EventScript_1708AF:: @ 81708AF
@@ -40,11 +40,11 @@ EventScript_1708E9:: @ 1708E9
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestUp
waitmovement 0
compare VAR_MAP_SCENE_SEVEN_ISLAND_HOUSE_ROOM1, 1
call_if eq, EventScript_170938
call_if_eq EventScript_170938
compare VAR_MAP_SCENE_SEVEN_ISLAND_HOUSE_ROOM1, 2
call_if eq, EventScript_170941
call_if_eq EventScript_170941
compare VAR_MAP_SCENE_SEVEN_ISLAND_HOUSE_ROOM1, 3
call_if eq, EventScript_17094A
call_if_eq EventScript_17094A
special LoadPlayerParty
setvar VAR_MAP_SCENE_SEVEN_ISLAND_HOUSE_ROOM1, 0
releaseall
@@ -76,9 +76,9 @@ SevenIsland_House_Room1_EventScript_170958:: @ 8170958
faceplayer
special ValidateEReaderTrainer
compare VAR_RESULT, 1
call_if eq, EventScript_17097D
call_if_eq EventScript_17097D
compare VAR_TEMP_1, 1
goto_if eq, EventScript_170987
goto_if_eq EventScript_170987
msgbox gUnknown_81A049B
release
end
@@ -93,27 +93,27 @@ EventScript_170987:: @ 8170987
special Special_BufferEReaderTrainerName5
msgbox gUnknown_81A0598, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if eq, EventScript_170A11
goto_if_eq EventScript_170A11
call EventScript_170A1E
compare VAR_RESULT, 0
goto_if eq, EventScript_170A11
goto_if_eq EventScript_170A11
msgbox gUnknown_81A0788, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if eq, EventScript_170A11
goto_if_eq EventScript_170A11
special LoadPlayerParty
call EventScript_1A4EAF
compare VAR_RESULT, 0
goto_if eq, EventScript_170A11
goto_if_eq EventScript_170A11
special SavePlayerParty
special ReducePlayerPartyToThree
msgbox gUnknown_81A07C4
closemessage
compare VAR_FACING, DIR_NORTH
call_if eq, EventScript_170A2D
call_if_eq EventScript_170A2D
compare VAR_FACING, DIR_EAST
call_if eq, EventScript_170A3F
call_if_eq EventScript_170A3F
compare VAR_FACING, DIR_WEST
call_if eq, EventScript_170A51
call_if_eq EventScript_170A51
warp MAP_SEVEN_ISLAND_HOUSE_ROOM2, 255, 3, 1
waitstate
release