Sync event macros
This commit is contained in:
@@ -4,8 +4,7 @@ SilphCo_Elevator_MapScripts:: @ 8161F6E
|
||||
SilphCo_Elevator_EventScript_161F6F:: @ 8161F6F
|
||||
lockall
|
||||
setvar VAR_0x8004, 1
|
||||
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
|
||||
@@ -34,7 +33,7 @@ EventScript_16202F:: @ 816202F
|
||||
setvar VAR_0x8006, 4
|
||||
setdynamicwarp MAP_SILPH_CO_1F, 255, 22, 3
|
||||
compare VAR_ELEVATOR_FLOOR, 4
|
||||
goto_if eq, EventScript_1621E7
|
||||
goto_if_eq EventScript_1621E7
|
||||
call EventScript_1621EC
|
||||
setvar VAR_ELEVATOR_FLOOR, 4
|
||||
goto EventScript_1621E7
|
||||
@@ -46,7 +45,7 @@ EventScript_162057:: @ 8162057
|
||||
setvar VAR_0x8006, 5
|
||||
setdynamicwarp MAP_SILPH_CO_2F, 255, 22, 3
|
||||
compare VAR_ELEVATOR_FLOOR, 5
|
||||
goto_if eq, EventScript_1621E7
|
||||
goto_if_eq EventScript_1621E7
|
||||
call EventScript_1621EC
|
||||
setvar VAR_ELEVATOR_FLOOR, 5
|
||||
goto EventScript_1621E7
|
||||
@@ -58,7 +57,7 @@ EventScript_16207F:: @ 816207F
|
||||
setvar VAR_0x8006, 6
|
||||
setdynamicwarp MAP_SILPH_CO_3F, 255, 22, 3
|
||||
compare VAR_ELEVATOR_FLOOR, 6
|
||||
goto_if eq, EventScript_1621E7
|
||||
goto_if_eq EventScript_1621E7
|
||||
call EventScript_1621EC
|
||||
setvar VAR_ELEVATOR_FLOOR, 6
|
||||
goto EventScript_1621E7
|
||||
@@ -70,7 +69,7 @@ EventScript_1620A7:: @ 81620A7
|
||||
setvar VAR_0x8006, 7
|
||||
setdynamicwarp MAP_SILPH_CO_4F, 255, 22, 3
|
||||
compare VAR_ELEVATOR_FLOOR, 7
|
||||
goto_if eq, EventScript_1621E7
|
||||
goto_if_eq EventScript_1621E7
|
||||
call EventScript_1621EC
|
||||
setvar VAR_ELEVATOR_FLOOR, 7
|
||||
goto EventScript_1621E7
|
||||
@@ -82,7 +81,7 @@ EventScript_1620CF:: @ 81620CF
|
||||
setvar VAR_0x8006, 8
|
||||
setdynamicwarp MAP_SILPH_CO_5F, 255, 22, 3
|
||||
compare VAR_ELEVATOR_FLOOR, 8
|
||||
goto_if eq, EventScript_1621E7
|
||||
goto_if_eq EventScript_1621E7
|
||||
call EventScript_1621EC
|
||||
setvar VAR_ELEVATOR_FLOOR, 8
|
||||
goto EventScript_1621E7
|
||||
@@ -94,7 +93,7 @@ EventScript_1620F7:: @ 81620F7
|
||||
setvar VAR_0x8006, 9
|
||||
setdynamicwarp MAP_SILPH_CO_6F, 255, 20, 3
|
||||
compare VAR_ELEVATOR_FLOOR, 9
|
||||
goto_if eq, EventScript_1621E7
|
||||
goto_if_eq EventScript_1621E7
|
||||
call EventScript_1621EC
|
||||
setvar VAR_ELEVATOR_FLOOR, 9
|
||||
goto EventScript_1621E7
|
||||
@@ -106,7 +105,7 @@ EventScript_16211F:: @ 816211F
|
||||
setvar VAR_0x8006, 10
|
||||
setdynamicwarp MAP_SILPH_CO_7F, 255, 23, 3
|
||||
compare VAR_ELEVATOR_FLOOR, 10
|
||||
goto_if eq, EventScript_1621E7
|
||||
goto_if_eq EventScript_1621E7
|
||||
call EventScript_1621EC
|
||||
setvar VAR_ELEVATOR_FLOOR, 10
|
||||
goto EventScript_1621E7
|
||||
@@ -118,7 +117,7 @@ EventScript_162147:: @ 8162147
|
||||
setvar VAR_0x8006, 11
|
||||
setdynamicwarp MAP_SILPH_CO_8F, 255, 22, 3
|
||||
compare VAR_ELEVATOR_FLOOR, 11
|
||||
goto_if eq, EventScript_1621E7
|
||||
goto_if_eq EventScript_1621E7
|
||||
call EventScript_1621EC
|
||||
setvar VAR_ELEVATOR_FLOOR, 11
|
||||
goto EventScript_1621E7
|
||||
@@ -130,7 +129,7 @@ EventScript_16216F:: @ 816216F
|
||||
setvar VAR_0x8006, 12
|
||||
setdynamicwarp MAP_SILPH_CO_9F, 255, 24, 3
|
||||
compare VAR_ELEVATOR_FLOOR, 12
|
||||
goto_if eq, EventScript_1621E7
|
||||
goto_if_eq EventScript_1621E7
|
||||
call EventScript_1621EC
|
||||
setvar VAR_ELEVATOR_FLOOR, 12
|
||||
goto EventScript_1621E7
|
||||
@@ -142,7 +141,7 @@ EventScript_162197:: @ 8162197
|
||||
setvar VAR_0x8006, 13
|
||||
setdynamicwarp MAP_SILPH_CO_10F, 255, 13, 3
|
||||
compare VAR_ELEVATOR_FLOOR, 13
|
||||
goto_if eq, EventScript_1621E7
|
||||
goto_if_eq EventScript_1621E7
|
||||
call EventScript_1621EC
|
||||
setvar VAR_ELEVATOR_FLOOR, 13
|
||||
goto EventScript_1621E7
|
||||
@@ -154,7 +153,7 @@ EventScript_1621BF:: @ 81621BF
|
||||
setvar VAR_0x8006, 14
|
||||
setdynamicwarp MAP_SILPH_CO_11F, 255, 13, 3
|
||||
compare VAR_ELEVATOR_FLOOR, 14
|
||||
goto_if eq, EventScript_1621E7
|
||||
goto_if_eq EventScript_1621E7
|
||||
call EventScript_1621EC
|
||||
setvar VAR_ELEVATOR_FLOOR, 14
|
||||
goto EventScript_1621E7
|
||||
|
||||
Reference in New Issue
Block a user