Sync event macros
This commit is contained in:
@@ -4,8 +4,7 @@ CeladonCity_DepartmentStore_Elevator_MapScripts:: @ 816C152
|
||||
CeladonCity_DepartmentStore_Elevator_EventScript_16C153:: @ 816C153
|
||||
lockall
|
||||
setvar VAR_0x8004, 3
|
||||
checkflag FLAG_TEMP_2
|
||||
call_if FALSE, EventScript_1A7AB9
|
||||
call_if_unset FLAG_TEMP_2, EventScript_1A7AB9
|
||||
copyvar VAR_0x8005, VAR_ELEVATOR_FLOOR
|
||||
special Special_DrawElevatorCurrentFloorWindow
|
||||
message Text_1A535C
|
||||
@@ -62,7 +61,7 @@ EventScript_16C246:: @ 816C246
|
||||
setvar VAR_0x8006, 4
|
||||
setdynamicwarp MAP_CELADON_CITY_DEPARTMENT_STORE_1F, 255, 6, 1
|
||||
compare VAR_ELEVATOR_FLOOR, 4
|
||||
goto_if eq, EventScript_16C30E
|
||||
goto_if_eq EventScript_16C30E
|
||||
call EventScript_16C313
|
||||
setvar VAR_ELEVATOR_FLOOR, 4
|
||||
goto EventScript_16C30E
|
||||
@@ -72,7 +71,7 @@ EventScript_16C26E:: @ 816C26E
|
||||
setvar VAR_0x8006, 5
|
||||
setdynamicwarp MAP_CELADON_CITY_DEPARTMENT_STORE_2F, 255, 6, 1
|
||||
compare VAR_ELEVATOR_FLOOR, 5
|
||||
goto_if eq, EventScript_16C30E
|
||||
goto_if_eq EventScript_16C30E
|
||||
call EventScript_16C313
|
||||
setvar VAR_ELEVATOR_FLOOR, 5
|
||||
goto EventScript_16C30E
|
||||
@@ -82,7 +81,7 @@ EventScript_16C296:: @ 816C296
|
||||
setvar VAR_0x8006, 6
|
||||
setdynamicwarp MAP_CELADON_CITY_DEPARTMENT_STORE_3F, 255, 6, 1
|
||||
compare VAR_ELEVATOR_FLOOR, 6
|
||||
goto_if eq, EventScript_16C30E
|
||||
goto_if_eq EventScript_16C30E
|
||||
call EventScript_16C313
|
||||
setvar VAR_ELEVATOR_FLOOR, 6
|
||||
goto EventScript_16C30E
|
||||
@@ -92,7 +91,7 @@ EventScript_16C2BE:: @ 816C2BE
|
||||
setvar VAR_0x8006, 7
|
||||
setdynamicwarp MAP_CELADON_CITY_DEPARTMENT_STORE_4F, 255, 6, 1
|
||||
compare VAR_ELEVATOR_FLOOR, 7
|
||||
goto_if eq, EventScript_16C30E
|
||||
goto_if_eq EventScript_16C30E
|
||||
call EventScript_16C313
|
||||
setvar VAR_ELEVATOR_FLOOR, 7
|
||||
goto EventScript_16C30E
|
||||
@@ -102,7 +101,7 @@ EventScript_16C2E6:: @ 816C2E6
|
||||
setvar VAR_0x8006, 8
|
||||
setdynamicwarp MAP_CELADON_CITY_DEPARTMENT_STORE_5F, 255, 6, 1
|
||||
compare VAR_ELEVATOR_FLOOR, 8
|
||||
goto_if eq, EventScript_16C30E
|
||||
goto_if_eq EventScript_16C30E
|
||||
call EventScript_16C313
|
||||
setvar VAR_ELEVATOR_FLOOR, 8
|
||||
goto EventScript_16C30E
|
||||
|
||||
Reference in New Issue
Block a user