Use 'goto_if_eq VAR, value, Script' syntax
This commit is contained in:
@@ -55,12 +55,9 @@ Route8_WestEntrance_EventScript_GiveLemonade::
|
||||
Route8_WestEntrance_EventScript_GuardDrinkTea::
|
||||
msgbox Route8_WestEntrance_Text_ThatTeaLooksTasty
|
||||
closemessage
|
||||
compare VAR_TEMP_1, 0
|
||||
call_if_eq Route8_WestEntrance_EventScript_WalkToGuardTop
|
||||
compare VAR_TEMP_1, 1
|
||||
call_if_eq Route8_WestEntrance_EventScript_WalkToGuardMid
|
||||
compare VAR_TEMP_1, 2
|
||||
call_if_eq Route8_WestEntrance_EventScript_WalkToGuardBottom
|
||||
call_if_eq VAR_TEMP_1, 0, Route8_WestEntrance_EventScript_WalkToGuardTop
|
||||
call_if_eq VAR_TEMP_1, 1, Route8_WestEntrance_EventScript_WalkToGuardMid
|
||||
call_if_eq VAR_TEMP_1, 2, Route8_WestEntrance_EventScript_WalkToGuardBottom
|
||||
msgbox Route8_WestEntrance_Text_ThanksIllShareTeaWithGuards
|
||||
setvar VAR_MAP_SCENE_ROUTE5_ROUTE6_ROUTE7_ROUTE8_GATES, 1
|
||||
releaseall
|
||||
|
||||
Reference in New Issue
Block a user