Sync event macros
This commit is contained in:
@@ -4,13 +4,12 @@ PalletTown_PlayersHouse_1F_MapScripts:: @ 8168C08
|
||||
PalletTown_PlayersHouse_1F_EventScript_168C09:: @ 8168C09
|
||||
lock
|
||||
faceplayer
|
||||
checkflag FLAG_BEAT_RIVAL_IN_OAKS_LAB
|
||||
goto_if TRUE, EventScript_168C4A
|
||||
goto_if_set FLAG_BEAT_RIVAL_IN_OAKS_LAB, EventScript_168C4A
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
call_if eq, EventScript_168C38
|
||||
call_if_eq EventScript_168C38
|
||||
compare VAR_RESULT, 1
|
||||
call_if eq, EventScript_168C41
|
||||
call_if_eq EventScript_168C41
|
||||
closemessage
|
||||
applymovement 1, Movement_FaceOriginalDirection
|
||||
waitmovement 0
|
||||
@@ -36,7 +35,7 @@ EventScript_168C4A:: @ 8168C4A
|
||||
PalletTown_PlayersHouse_1F_EventScript_168C62:: @ 8168C62
|
||||
lockall
|
||||
compare VAR_FACING, DIR_NORTH
|
||||
goto_if eq, EventScript_168C78
|
||||
goto_if_eq EventScript_168C78
|
||||
msgbox gUnknown_818D4F9
|
||||
releaseall
|
||||
end
|
||||
@@ -44,9 +43,9 @@ PalletTown_PlayersHouse_1F_EventScript_168C62:: @ 8168C62
|
||||
EventScript_168C78:: @ 8168C78
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
call_if eq, EventScript_168C91
|
||||
call_if_eq EventScript_168C91
|
||||
compare VAR_RESULT, 1
|
||||
call_if eq, EventScript_168C9A
|
||||
call_if_eq EventScript_168C9A
|
||||
releaseall
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user