Port generic event script macros from pokeruby

This commit is contained in:
Marcus Huderle
2017-12-21 13:47:52 -06:00
parent 4307292f55
commit 173761a5a1
266 changed files with 3054 additions and 3041 deletions
+72 -59
View File
@@ -226,6 +226,18 @@
.2byte \var2 .2byte \var2
.endm .endm
@ Generic compare macro which attempts to deduce argument types based on their values
@ Any values between 0x4000 to 0x4FFF and 0x8000 to 0x8FFF are considered event variable identifiers
.macro compare arg1, arg2
.if ((\arg1 >> 12) == 4 || (\arg1 >> 12) == 8) && ((\arg2 >> 12) == 4 || (\arg2 >> 12) == 8)
compare_var_to_var \arg1, \arg2
.elseif ((\arg1 >> 12) == 4 || (\arg1 >> 12) == 8) && (\arg2 >= 0 && \arg2 <= 0xFFFF)
compare_var_to_value \arg1, \arg2
.else
.error "Invalid arguments for 'compare'"
.endif
.endm
@ Calls the native C function stored at `func`. @ Calls the native C function stored at `func`.
.macro callnative func .macro callnative func
.byte 0x23 .byte 0x23
@@ -283,8 +295,8 @@
@ Initializes the RTC`s local time offset to the given hour and minute. In FireRed, this command is a nop. @ Initializes the RTC`s local time offset to the given hour and minute. In FireRed, this command is a nop.
.macro initclock hour, minute .macro initclock hour, minute
.byte 0x2c .byte 0x2c
.2byte \hour .byte \hour
.2byte \minute .byte \minute
.endm .endm
@ Runs time based events. In FireRed, this command is a nop. @ Runs time based events. In FireRed, this command is a nop.
@@ -518,57 +530,58 @@
.endm .endm
@ Applies the movement data at movements to the specified (index) Object. Also closes any standard message boxes that are still open. @ Applies the movement data at movements to the specified (index) Object. Also closes any standard message boxes that are still open.
.macro applymovement index, movements @ If no map is specified, then the current map is used.
.byte 0x4f .macro applymovement index, movements, map
.2byte \index .ifb \map
.4byte \movements .byte 0x4f
.endm .2byte \index
.4byte \movements
@ Applies the movement data at movements to the specified (index) Object on the specified (map_group, map_num) map. Really only useful if the object has followed from one map to another (e.g. Wally during the catching event). .else
.macro applymovementat variable, movements, map @ Really only useful if the object has followed from one map to another (e.g. Wally during the catching event).
.byte 0x50 .byte 0x50
.2byte \variable .2byte \index
.4byte \movements .4byte \movements
map \map map \map
.endif
.endm .endm
@ Blocks script execution until the movements being applied to the specified (index) Object finish. If the specified Object is 0x0000, then the command will block script execution until all Objects affected by applymovement finish their movements. If the specified Object is not currently being manipulated with applymovement, then this command does nothing. @ Blocks script execution until the movements being applied to the specified (index) Object finish. If the specified Object is 0x0000, then the command will block script execution until all Objects affected by applymovement finish their movements. If the specified Object is not currently being manipulated with applymovement, then this command does nothing.
.macro waitmovement index @ If no map is specified, then the current map is used.
.byte 0x51 .macro waitmovement index, map
.2byte \index .ifb \map
.endm .byte 0x51
.2byte \index
@ Blocks script execution until the movements being applied to the specified (index) Object on the specified (map) map finish. .else
.macro waitmovementat index, map .byte 0x52
.byte 0x52 .2byte \index
.2byte \index map \map
map \map .endif
.endm
@ Attempts to hide the specified (index) Object on the current map, by setting its visibility flag if it has a valid one. If the Object does not have a valid visibility flag, this command does nothing.
.macro removeobject index
.byte 0x53
.2byte \index
.endm .endm
@ Attempts to hide the specified (index) Object on the specified (map_group, map_num) map, by setting its visibility flag if it has a valid one. If the Object does not have a valid visibility flag, this command does nothing. @ Attempts to hide the specified (index) Object on the specified (map_group, map_num) map, by setting its visibility flag if it has a valid one. If the Object does not have a valid visibility flag, this command does nothing.
.macro removeobjectat index, map @ If no map is specified, then the current map is used.
.byte 0x54 .macro removeobject index, map
.2byte \index .ifb \map
map \map .byte 0x53
.endm .2byte \index
.else
@ Unsets the specified (index) Object's visibility flag on the current map if it has a valid one. If the Object does not have a valid visibility flag, this command does nothing. .byte 0x54
.macro addobject index .2byte \index
.byte 0x55 map \map
.2byte \index .endif
.endm .endm
@ Unsets the specified (index) Object's visibility flag on the specified (map_group, map_num) map if it has a valid one. If the Object does not have a valid visibility flag, this command does nothing. @ Unsets the specified (index) Object's visibility flag on the specified (map_group, map_num) map if it has a valid one. If the Object does not have a valid visibility flag, this command does nothing.
.macro addobjectat index, map @ If no map is specified, then the current map is used.
.byte 0x56 .macro addobject index, map
.2byte \index .ifb \map
map \map .byte 0x55
.2byte \index
.else
.byte 0x56
.2byte \index
map \map
.endif
.endm .endm
@ Sets the specified (index) Object's position on the current map. @ Sets the specified (index) Object's position on the current map.
@@ -663,12 +676,12 @@
.byte 0x5d .byte 0x5d
.endm .endm
@ Goes to address after the trainerbattle command (called by the battle functions, see battle_setup.c) @ Goes to address after the trainerbattle command (called by the battle functions, see battle_setup.c)
.macro gotopostbattlescript .macro gotopostbattlescript
.byte 0x5e .byte 0x5e
.endm .endm
@ Goes to address specified in the trainerbattle command (called by the battle functions, see battle_setup.c) @ Goes to address specified in the trainerbattle command (called by the battle functions, see battle_setup.c)
.macro gotobeatenscript .macro gotobeatenscript
.byte 0x5f .byte 0x5f
.endm .endm
@@ -850,11 +863,11 @@
.2byte \species .2byte \species
.endm .endm
.macro setmonmove byte1, byte2, word .macro setmonmove index, slot, move
.byte 0x7b .byte 0x7b
.byte \byte1 .byte \index
.byte \byte2 .byte \slot
.2byte \word .2byte \move
.endm .endm
@ Checks if at least one Pokemon in the player's party knows the specified (index) attack. If so, variable 0x800D (LASTRESULT) is set to the (zero-indexed) slot number of the first Pokemon that knows the move. If not, LASTRESULT is set to 0x0006. Variable 0x8004 is also set to this Pokemon's species. @ Checks if at least one Pokemon in the player's party knows the specified (index) attack. If so, variable 0x800D (LASTRESULT) is set to the (zero-indexed) slot number of the first Pokemon that knows the move. If not, LASTRESULT is set to 0x0006. Variable 0x8004 is also set to this Pokemon's species.
@@ -958,7 +971,7 @@
.endm .endm
@ This allows you to choose a Pokemon to use in a contest. In FireRed, this command sets the byte at 0x03000EA8 to 0x01. @ This allows you to choose a Pokemon to use in a contest. In FireRed, this command sets the byte at 0x03000EA8 to 0x01.
.macro choosecontestpkmn .macro choosecontestmon
.byte 0x8b .byte 0x8b
.endm .endm
@@ -1024,10 +1037,10 @@
.byte \y .byte \y
.endm .endm
@ Gets the price reduction for the index (word) given. In FireRed, this command is a nop. @ Gets the price reduction for the index given. In FireRed, this command is a nop.
.macro getpricereduction word .macro getpricereduction index
.byte 0x96 .byte 0x96
.2byte \word .2byte \index
.endm .endm
@ Fades the screen to and from black and white. Mode 0x00 fades from black, mode 0x01 fades out to black, mode 0x2 fades in from white, and mode 0x3 fades out to white. @ Fades the screen to and from black and white. Mode 0x00 fades from black, mode 0x01 fades out to black, mode 0x2 fades in from white, and mode 0x3 fades out to white.
@@ -1078,9 +1091,9 @@
.endm .endm
@ Sets which healing place the player will return to if all of the Pokemon in their party faint. @ Sets which healing place the player will return to if all of the Pokemon in their party faint.
.macro setrespawn flightspot .macro setrespawn heallocation
.byte 0x9f .byte 0x9f
.2byte \flightspot .2byte \heallocation
.endm .endm
@ Checks the player's gender. If male, then 0x0000 is stored in variable 0x800D (LASTRESULT). If female, then 0x0001 is stored in LASTRESULT. @ Checks the player's gender. If male, then 0x0000 is stored in variable 0x800D (LASTRESULT). If female, then 0x0001 is stored in LASTRESULT.
@@ -1187,7 +1200,7 @@
.endm .endm
@ Sets the door tile at (x, y) to be closed without an animation. @ Sets the door tile at (x, y) to be closed without an animation.
.macro setdoorclosed2 x, y .macro setdoorclosed x, y
.byte 0xb0 .byte 0xb0
.2byte \x .2byte \x
.2byte \y .2byte \y
@@ -1217,9 +1230,9 @@
.2byte \count .2byte \count
.endm .endm
.macro takecoins word .macro takecoins count
.byte 0xb5 .byte 0xb5
.2byte \word .2byte \count
.endm .endm
@ Prepares to start a wild battle against a species at Level level holding item. Running this command will not affect normal wild battles. You start the prepared battle with dowildbattle. @ Prepares to start a wild battle against a species at Level level holding item. Running this command will not affect normal wild battles. You start the prepared battle with dowildbattle.
+352 -352
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -139,7 +139,7 @@ gScriptCmdTable:: @ 81DB67C
.4byte ScrCmd_pokemartdecoration2 .4byte ScrCmd_pokemartdecoration2
.4byte ScrCmd_playslotmachine .4byte ScrCmd_playslotmachine
.4byte ScrCmd_setberrytree .4byte ScrCmd_setberrytree
.4byte ScrCmd_choosecontestpkmn .4byte ScrCmd_choosecontestmon
.4byte ScrCmd_startcontest .4byte ScrCmd_startcontest
.4byte ScrCmd_showcontestresults .4byte ScrCmd_showcontestresults
.4byte ScrCmd_contestlinktransfer .4byte ScrCmd_contestlinktransfer
+12 -12
View File
@@ -22,7 +22,7 @@ Route102_EventScript_274359:: @ 8274359
lock lock
faceplayer faceplayer
specialvar VAR_RESULT, PlayerHasBerries specialvar VAR_RESULT, PlayerHasBerries
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq Route102_EventScript_274374 goto_eq Route102_EventScript_274374
message Route102_Text_2744F0 message Route102_Text_2744F0
waitmessage waitmessage
@@ -32,9 +32,9 @@ Route102_EventScript_274359:: @ 8274359
Route102_EventScript_274374:: @ 8274374 Route102_EventScript_274374:: @ 8274374
msgbox Route102_Text_274507, 5 msgbox Route102_Text_274507, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq Route102_EventScript_274393 goto_eq Route102_EventScript_274393
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq Route102_EventScript_2743AF goto_eq Route102_EventScript_2743AF
end end
@@ -43,7 +43,7 @@ Route102_EventScript_274393:: @ 8274393
closemessage closemessage
special Bag_ChooseBerry special Bag_ChooseBerry
waitstate waitstate
compare_var_to_value VAR_ITEM_ID, 0 compare VAR_ITEM_ID, 0
goto_eq Route102_EventScript_2743AF goto_eq Route102_EventScript_2743AF
takeitem VAR_ITEM_ID, 1 takeitem VAR_ITEM_ID, 1
call Route102_EventScript_2744DD call Route102_EventScript_2744DD
@@ -86,9 +86,9 @@ Route102_EventScript_2743E1:: @ 82743E1
goto Route102_EventScript_27448D goto Route102_EventScript_27448D
Route102_EventScript_2743F6:: @ 82743F6 Route102_EventScript_2743F6:: @ 82743F6
compare_var_to_value VAR_0x8005, 0 compare VAR_0x8005, 0
goto_eq Route102_EventScript_27441A goto_eq Route102_EventScript_27441A
compare_var_to_value VAR_0x8005, 4 compare VAR_0x8005, 4
goto_eq Route102_EventScript_274413 goto_eq Route102_EventScript_274413
bufferstring 1, Route102_Text_2745E5 bufferstring 1, Route102_Text_2745E5
return return
@@ -107,14 +107,14 @@ Route102_EventScript_274421:: @ 8274421
faceplayer faceplayer
special FieldObjectInteractionGetBerryCountString special FieldObjectInteractionGetBerryCountString
msgbox Route102_Text_2745EE, 5 msgbox Route102_Text_2745EE, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq Route102_EventScript_274448 goto_eq Route102_EventScript_274448
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq Route102_EventScript_274479 goto_eq Route102_EventScript_274479
Route102_EventScript_274448:: @ 8274448 Route102_EventScript_274448:: @ 8274448
special FieldObjectInteractionPickBerryTree special FieldObjectInteractionPickBerryTree
compare_var_to_value VAR_0x8004, 0 compare VAR_0x8004, 0
goto_eq Route102_EventScript_274470 goto_eq Route102_EventScript_274470
special sub_80EED34 special sub_80EED34
special FieldObjectInteractionRemoveBerryTree special FieldObjectInteractionRemoveBerryTree
@@ -152,13 +152,13 @@ Route102_EventScript_274482:: @ 8274482
Route102_EventScript_27448D:: @ 827448D Route102_EventScript_27448D:: @ 827448D
checkitem ITEM_WAILMER_PAIL, 1 checkitem ITEM_WAILMER_PAIL, 1
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq Route102_EventScript_2744BE goto_eq Route102_EventScript_2744BE
special FieldObjectInteractionGetBerryName special FieldObjectInteractionGetBerryName
msgbox Route102_Text_2746E4, 5 msgbox Route102_Text_2746E4, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq Route102_EventScript_2744C4 goto_eq Route102_EventScript_2744C4
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq Route102_EventScript_2744BE goto_eq Route102_EventScript_2744BE
Route102_EventScript_2744BE:: @ 82744BE Route102_EventScript_2744BE:: @ 82744BE
+108 -108
View File
@@ -20,10 +20,10 @@ VerdanturfTown_PokemonCenter_2F_MapScript1_276ACF: @ 8276ACF
OldaleTown_PokemonCenter_2F_EventScript_276AD5:: @ 8276AD5 OldaleTown_PokemonCenter_2F_EventScript_276AD5:: @ 8276AD5
specialvar VAR_RESULT, sub_813B514 specialvar VAR_RESULT, sub_813B514
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276AFB goto_eq OldaleTown_PokemonCenter_2F_EventScript_276AFB
specialvar VAR_RESULT, sub_801B27C specialvar VAR_RESULT, sub_801B27C
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276AFF goto_eq OldaleTown_PokemonCenter_2F_EventScript_276AFF
goto OldaleTown_PokemonCenter_2F_EventScript_276AFB goto OldaleTown_PokemonCenter_2F_EventScript_276AFB
end end
@@ -54,7 +54,7 @@ SlateportCity_PokemonCenter_2F_EventScript_276B03:: @ 8276B03
SootopolisCity_PokemonCenter_2F_EventScript_276B03:: @ 8276B03 SootopolisCity_PokemonCenter_2F_EventScript_276B03:: @ 8276B03
VerdanturfTown_PokemonCenter_2F_EventScript_276B03:: @ 8276B03 VerdanturfTown_PokemonCenter_2F_EventScript_276B03:: @ 8276B03
specialvar VAR_RESULT, sub_813B514 specialvar VAR_RESULT, sub_813B514
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276B23 goto_eq OldaleTown_PokemonCenter_2F_EventScript_276B23
goto OldaleTown_PokemonCenter_2F_EventScript_276B19 goto OldaleTown_PokemonCenter_2F_EventScript_276B19
end end
@@ -68,7 +68,7 @@ OldaleTown_PokemonCenter_2F_EventScript_276B1A:: @ 8276B1A
OldaleTown_PokemonCenter_2F_EventScript_276B23:: @ 8276B23 OldaleTown_PokemonCenter_2F_EventScript_276B23:: @ 8276B23
checkitem ITEM_EON_TICKET, 1 checkitem ITEM_EON_TICKET, 1
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276B19 goto_eq OldaleTown_PokemonCenter_2F_EventScript_276B19
checkflag FLAG_SYS_HAS_EON_TICKET checkflag FLAG_SYS_HAS_EON_TICKET
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276B19 goto_eq OldaleTown_PokemonCenter_2F_EventScript_276B19
@@ -114,7 +114,7 @@ VerdanturfTown_PokemonCenter_2F_MapScript2_276B6C: @ 8276B6C
MossdeepCity_GameCorner_1F_EventScript_276BAE:: @ 8276BAE MossdeepCity_GameCorner_1F_EventScript_276BAE:: @ 8276BAE
OldaleTown_PokemonCenter_2F_EventScript_276BAE:: @ 8276BAE OldaleTown_PokemonCenter_2F_EventScript_276BAE:: @ 8276BAE
compare_var_to_value VAR_0x8007, 0 compare VAR_0x8007, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276BBD goto_eq OldaleTown_PokemonCenter_2F_EventScript_276BBD
turnobject VAR_0x8007, 3 turnobject VAR_0x8007, 3
@@ -139,21 +139,21 @@ RustboroCity_PokemonCenter_2F_MapScript1_276BBE: @ 8276BBE
SlateportCity_PokemonCenter_2F_MapScript1_276BBE: @ 8276BBE SlateportCity_PokemonCenter_2F_MapScript1_276BBE: @ 8276BBE
SootopolisCity_PokemonCenter_2F_MapScript1_276BBE: @ 8276BBE SootopolisCity_PokemonCenter_2F_MapScript1_276BBE: @ 8276BBE
VerdanturfTown_PokemonCenter_2F_MapScript1_276BBE: @ 8276BBE VerdanturfTown_PokemonCenter_2F_MapScript1_276BBE: @ 8276BBE
compare_var_to_value VAR_0x4087, 1 compare VAR_0x4087, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C17 goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C17
compare_var_to_value VAR_0x4087, 2 compare VAR_0x4087, 2
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C17 goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C17
compare_var_to_value VAR_0x4087, 5 compare VAR_0x4087, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C17 goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C17
compare_var_to_value VAR_0x4087, 3 compare VAR_0x4087, 3
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C1D goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C1D
compare_var_to_value VAR_0x4087, 4 compare VAR_0x4087, 4
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C23 goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C23
compare_var_to_value VAR_0x4087, 6 compare VAR_0x4087, 6
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C29 goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C29
compare_var_to_value VAR_0x4087, 7 compare VAR_0x4087, 7
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C2F goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C2F
compare_var_to_value VAR_0x4087, 8 compare VAR_0x4087, 8
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C35 goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C35
end end
@@ -233,7 +233,7 @@ OldaleTown_PokemonCenter_2F_EventScript_276C9D:: @ 8276C9D
OldaleTown_PokemonCenter_2F_EventScript_276CB5:: @ 8276CB5 OldaleTown_PokemonCenter_2F_EventScript_276CB5:: @ 8276CB5
special sub_80097E8 special sub_80097E8
setvar VAR_0x4087, 0 setvar VAR_0x4087, 0
compare_var_to_value VAR_0x8007, 0 compare VAR_0x8007, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276DD5 goto_eq OldaleTown_PokemonCenter_2F_EventScript_276DD5
applymovement VAR_0x8007, OldaleTown_PokemonCenter_2F_Movement_27734D applymovement VAR_0x8007, OldaleTown_PokemonCenter_2F_Movement_27734D
waitmovement 0 waitmovement 0
@@ -256,7 +256,7 @@ OldaleTown_PokemonCenter_2F_EventScript_276CE7:: @ 8276CE7
OldaleTown_PokemonCenter_2F_EventScript_276CFF:: @ 8276CFF OldaleTown_PokemonCenter_2F_EventScript_276CFF:: @ 8276CFF
special sub_80097E8 special sub_80097E8
setvar VAR_0x4087, 0 setvar VAR_0x4087, 0
compare_var_to_value VAR_0x8007, 0 compare VAR_0x8007, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276DD5 goto_eq OldaleTown_PokemonCenter_2F_EventScript_276DD5
applymovement 255, OldaleTown_PokemonCenter_2F_Movement_27735E applymovement 255, OldaleTown_PokemonCenter_2F_Movement_27735E
waitmovement 0 waitmovement 0
@@ -280,7 +280,7 @@ OldaleTown_PokemonCenter_2F_EventScript_276D44:: @ 8276D44
setvar VAR_0x4087, 0 setvar VAR_0x4087, 0
applymovement 255, OldaleTown_PokemonCenter_2F_Movement_27734F applymovement 255, OldaleTown_PokemonCenter_2F_Movement_27734F
waitmovement 0 waitmovement 0
compare_var_to_value VAR_0x8007, 0 compare VAR_0x8007, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276D6B goto_eq OldaleTown_PokemonCenter_2F_EventScript_276D6B
applymovement VAR_0x8007, OldaleTown_PokemonCenter_2F_Movement_277349 applymovement VAR_0x8007, OldaleTown_PokemonCenter_2F_Movement_277349
waitmovement 0 waitmovement 0
@@ -300,7 +300,7 @@ OldaleTown_PokemonCenter_2F_EventScript_276D6C:: @ 8276D6C
OldaleTown_PokemonCenter_2F_EventScript_276D84:: @ 8276D84 OldaleTown_PokemonCenter_2F_EventScript_276D84:: @ 8276D84
setvar VAR_0x4087, 0 setvar VAR_0x4087, 0
compare_var_to_value VAR_0x8007, 0 compare VAR_0x8007, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276DD5 goto_eq OldaleTown_PokemonCenter_2F_EventScript_276DD5
applymovement 255, OldaleTown_PokemonCenter_2F_Movement_27735E applymovement 255, OldaleTown_PokemonCenter_2F_Movement_27735E
waitmovement 0 waitmovement 0
@@ -410,7 +410,7 @@ OldaleTown_PokemonCenter_2F_EventScript_276F23:: @ 8276F23
OldaleTown_PokemonCenter_2F_EventScript_276F2E:: @ 8276F2E OldaleTown_PokemonCenter_2F_EventScript_276F2E:: @ 8276F2E
special HasEnoughMonsForDoubleBattle special HasEnoughMonsForDoubleBattle
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, OldaleTown_PokemonCenter_2F_EventScript_276F47 goto_if 5, OldaleTown_PokemonCenter_2F_EventScript_276F47
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
goto OldaleTown_PokemonCenter_2F_EventScript_276F60 goto OldaleTown_PokemonCenter_2F_EventScript_276F60
@@ -428,23 +428,23 @@ OldaleTown_PokemonCenter_2F_EventScript_276F55:: @ 8276F55
OldaleTown_PokemonCenter_2F_EventScript_276F60:: @ 8276F60 OldaleTown_PokemonCenter_2F_EventScript_276F60:: @ 8276F60
call OldaleTown_PokemonCenter_2F_EventScript_27134F call OldaleTown_PokemonCenter_2F_EventScript_27134F
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
message OldaleTown_PokemonCenter_2F_Text_278091 message OldaleTown_PokemonCenter_2F_Text_278091
waitmessage waitmessage
special sub_80B2DA4 special sub_80B2DA4
waitstate waitstate
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276FBD goto_eq OldaleTown_PokemonCenter_2F_EventScript_276FBD
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772D2 goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772D2
compare_var_to_value VAR_RESULT, 3 compare VAR_RESULT, 3
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772DF goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772DF
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277046 goto_eq OldaleTown_PokemonCenter_2F_EventScript_277046
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
compare_var_to_value VAR_RESULT, 6 compare VAR_RESULT, 6
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772C5 goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772C5
end end
@@ -472,7 +472,7 @@ OldaleTown_PokemonCenter_2F_EventScript_276FBD:: @ 8276FBD
closedoor 9, 1 closedoor 9, 1
waitdooranim waitdooranim
release release
compare_var_to_value VAR_0x8004, 5 compare VAR_0x8004, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277036 goto_eq OldaleTown_PokemonCenter_2F_EventScript_277036
special sub_809D2BC special sub_809D2BC
warp SINGLE_BATTLE_COLOSSEUM, 255, 6, 8 warp SINGLE_BATTLE_COLOSSEUM, 255, 6, 8
@@ -527,30 +527,30 @@ OldaleTown_PokemonCenter_2F_EventScript_2770A5:: @ 82770A5
OldaleTown_PokemonCenter_2F_EventScript_2770B2:: @ 82770B2 OldaleTown_PokemonCenter_2F_EventScript_2770B2:: @ 82770B2
copyvar VAR_0x8007, VAR_LAST_TALKED copyvar VAR_0x8007, VAR_LAST_TALKED
call OldaleTown_PokemonCenter_2F_EventScript_277199 call OldaleTown_PokemonCenter_2F_EventScript_277199
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
call OldaleTown_PokemonCenter_2F_EventScript_27134F call OldaleTown_PokemonCenter_2F_EventScript_27134F
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
message OldaleTown_PokemonCenter_2F_Text_278091 message OldaleTown_PokemonCenter_2F_Text_278091
waitmessage waitmessage
special sub_80B2E4C special sub_80B2E4C
waitstate waitstate
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_27713A goto_eq OldaleTown_PokemonCenter_2F_EventScript_27713A
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772D2 goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772D2
compare_var_to_value VAR_RESULT, 3 compare VAR_RESULT, 3
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772DF goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772DF
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq OldaleTown_PokemonCenter_2F_EventScript_27730E goto_eq OldaleTown_PokemonCenter_2F_EventScript_27730E
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
compare_var_to_value VAR_RESULT, 6 compare VAR_RESULT, 6
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772C5 goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772C5
compare_var_to_value VAR_RESULT, 7 compare VAR_RESULT, 7
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772AB goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772AB
compare_var_to_value VAR_RESULT, 9 compare VAR_RESULT, 9
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772B8 goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772B8
end end
@@ -584,10 +584,10 @@ OldaleTown_PokemonCenter_2F_EventScript_27713A:: @ 827713A
OldaleTown_PokemonCenter_2F_EventScript_277199:: @ 8277199 OldaleTown_PokemonCenter_2F_EventScript_277199:: @ 8277199
specialvar VAR_RESULT, CalculatePlayerPartyCount specialvar VAR_RESULT, CalculatePlayerPartyCount
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_if 0, OldaleTown_PokemonCenter_2F_EventScript_2771BF goto_if 0, OldaleTown_PokemonCenter_2F_EventScript_2771BF
specialvar VAR_RESULT, sub_80F9370 specialvar VAR_RESULT, sub_80F9370
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2771CD goto_eq OldaleTown_PokemonCenter_2F_EventScript_2771CD
setvar VAR_RESULT, 1 setvar VAR_RESULT, 1
return return
@@ -605,7 +605,7 @@ OldaleTown_PokemonCenter_2F_EventScript_2771CD:: @ 82771CD
OldaleTown_PokemonCenter_2F_EventScript_2771DB:: @ 82771DB OldaleTown_PokemonCenter_2F_EventScript_2771DB:: @ 82771DB
copyvar VAR_0x8007, VAR_LAST_TALKED copyvar VAR_0x8007, VAR_LAST_TALKED
call OldaleTown_PokemonCenter_2F_EventScript_27134F call OldaleTown_PokemonCenter_2F_EventScript_27134F
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
message OldaleTown_PokemonCenter_2F_Text_278091 message OldaleTown_PokemonCenter_2F_Text_278091
waitmessage waitmessage
@@ -613,19 +613,19 @@ OldaleTown_PokemonCenter_2F_EventScript_2771DB:: @ 82771DB
waitstate waitstate
special sub_80B2EA8 special sub_80B2EA8
waitstate waitstate
compare_var_to_value VAR_RESULT, 12 compare VAR_RESULT, 12
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277328 goto_eq OldaleTown_PokemonCenter_2F_EventScript_277328
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_27724C goto_eq OldaleTown_PokemonCenter_2F_EventScript_27724C
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772D2 goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772D2
compare_var_to_value VAR_RESULT, 3 compare VAR_RESULT, 3
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772DF goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772DF
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq OldaleTown_PokemonCenter_2F_EventScript_27730E goto_eq OldaleTown_PokemonCenter_2F_EventScript_27730E
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
compare_var_to_value VAR_RESULT, 6 compare VAR_RESULT, 6
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772C5 goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772C5
end end
@@ -809,7 +809,7 @@ gUnknown_08277388:: @ 8277388
fadescreen 1 fadescreen 1
special sub_80F9438 special sub_80F9438
waitstate waitstate
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DoubleBattleColosseum_EventScript_2773F4 goto_eq DoubleBattleColosseum_EventScript_2773F4
setvar VAR_0x8005, 0 setvar VAR_0x8005, 0
special sub_80B3968 special sub_80B3968
@@ -820,7 +820,7 @@ gUnknown_082773A3:: @ 82773A3
fadescreen 1 fadescreen 1
special sub_80F9438 special sub_80F9438
waitstate waitstate
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DoubleBattleColosseum_EventScript_2773F4 goto_eq DoubleBattleColosseum_EventScript_2773F4
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_80B3968 special sub_80B3968
@@ -831,7 +831,7 @@ gUnknown_082773BE:: @ 82773BE
fadescreen 1 fadescreen 1
special sub_80F9438 special sub_80F9438
waitstate waitstate
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DoubleBattleColosseum_EventScript_2773F4 goto_eq DoubleBattleColosseum_EventScript_2773F4
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special sub_80B3968 special sub_80B3968
@@ -842,7 +842,7 @@ gUnknown_082773D9:: @ 82773D9
fadescreen 1 fadescreen 1
special sub_80F9438 special sub_80F9438
waitstate waitstate
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DoubleBattleColosseum_EventScript_2773F4 goto_eq DoubleBattleColosseum_EventScript_2773F4
setvar VAR_0x8005, 3 setvar VAR_0x8005, 3
special sub_80B3968 special sub_80B3968
@@ -880,7 +880,7 @@ gUnknown_0827741D:: @ 827741D
setvar VAR_0x8005, 0 setvar VAR_0x8005, 0
special sub_80E6BE8 special sub_80E6BE8
waitstate waitstate
compare_var_to_value VAR_0x4001, 0 compare VAR_0x4001, 0
goto_if 5, RecordCorner_EventScript_277471 goto_if 5, RecordCorner_EventScript_277471
end end
@@ -888,7 +888,7 @@ gUnknown_08277432:: @ 8277432
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_80E6BE8 special sub_80E6BE8
waitstate waitstate
compare_var_to_value VAR_0x4001, 0 compare VAR_0x4001, 0
goto_if 5, RecordCorner_EventScript_277471 goto_if 5, RecordCorner_EventScript_277471
end end
@@ -896,7 +896,7 @@ gUnknown_08277447:: @ 8277447
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special sub_80E6BE8 special sub_80E6BE8
waitstate waitstate
compare_var_to_value VAR_0x4001, 0 compare VAR_0x4001, 0
goto_if 5, RecordCorner_EventScript_277471 goto_if 5, RecordCorner_EventScript_277471
end end
@@ -904,7 +904,7 @@ gUnknown_0827745C:: @ 827745C
setvar VAR_0x8005, 3 setvar VAR_0x8005, 3
special sub_80E6BE8 special sub_80E6BE8
waitstate waitstate
compare_var_to_value VAR_0x4001, 0 compare VAR_0x4001, 0
goto_if 5, RecordCorner_EventScript_277471 goto_if 5, RecordCorner_EventScript_277471
end end
@@ -950,7 +950,7 @@ TradeCenter_EventScript_2774B6:: @ 82774B6
end end
RecordCorner_EventScript_2774C6:: @ 82774C6 RecordCorner_EventScript_2774C6:: @ 82774C6
compare_var_to_value VAR_0x4000, 0 compare VAR_0x4000, 0
goto_if 5, RecordCorner_EventScript_2774E0 goto_if 5, RecordCorner_EventScript_2774E0
special sub_8098574 special sub_8098574
message RecordCorner_Text_27861C message RecordCorner_Text_27861C
@@ -971,7 +971,7 @@ RecordCorner_EventScript_2774E0:: @ 82774E0
gUnknown_082774EF:: @ 82774EF gUnknown_082774EF:: @ 82774EF
msgbox Text_2783A8, 5 msgbox Text_2783A8, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq gUnknown_08277509 goto_eq gUnknown_08277509
erasebox 0, 0, 29, 19 erasebox 0, 0, 29, 19
releaseall releaseall
@@ -996,11 +996,11 @@ OldaleTown_PokemonCenter_2F_EventScript_27751B:: @ 827751B
checkflag FLAG_SYS_POKEDEX_GET checkflag FLAG_SYS_POKEDEX_GET
goto_if 0, OldaleTown_PokemonCenter_2F_EventScript_277335 goto_if 0, OldaleTown_PokemonCenter_2F_EventScript_277335
specialvar VAR_RESULT, sub_813990C specialvar VAR_RESULT, sub_813990C
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_27731B goto_eq OldaleTown_PokemonCenter_2F_EventScript_27731B
copyvar VAR_0x8007, VAR_LAST_TALKED copyvar VAR_0x8007, VAR_LAST_TALKED
specialvar VAR_RESULT, sub_80093CC specialvar VAR_RESULT, sub_80093CC
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277668 goto_eq OldaleTown_PokemonCenter_2F_EventScript_277668
message OldaleTown_PokemonCenter_2F_Text_27940D message OldaleTown_PokemonCenter_2F_Text_27940D
waitmessage waitmessage
@@ -1024,10 +1024,10 @@ OldaleTown_PokemonCenter_2F_EventScript_277593:: @ 8277593
OldaleTown_PokemonCenter_2F_EventScript_27759F:: @ 827759F OldaleTown_PokemonCenter_2F_EventScript_27759F:: @ 827759F
call OldaleTown_PokemonCenter_2F_EventScript_277626 call OldaleTown_PokemonCenter_2F_EventScript_277626
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
call OldaleTown_PokemonCenter_2F_EventScript_27134F call OldaleTown_PokemonCenter_2F_EventScript_27134F
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
msgbox OldaleTown_PokemonCenter_2F_Text_27961C, 4 msgbox OldaleTown_PokemonCenter_2F_Text_27961C, 4
closemessage closemessage
@@ -1059,10 +1059,10 @@ OldaleTown_PokemonCenter_2F_EventScript_27759F:: @ 827759F
OldaleTown_PokemonCenter_2F_EventScript_277626:: @ 8277626 OldaleTown_PokemonCenter_2F_EventScript_277626:: @ 8277626
specialvar VAR_RESULT, CountPartyNonEggMons specialvar VAR_RESULT, CountPartyNonEggMons
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_if 0, OldaleTown_PokemonCenter_2F_EventScript_27764C goto_if 0, OldaleTown_PokemonCenter_2F_EventScript_27764C
specialvar VAR_RESULT, sub_80F9370 specialvar VAR_RESULT, sub_80F9370
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_27765A goto_eq OldaleTown_PokemonCenter_2F_EventScript_27765A
setvar VAR_RESULT, 1 setvar VAR_RESULT, 1
return return
@@ -1088,7 +1088,7 @@ OldaleTown_PokemonCenter_2F_EventScript_277672:: @ 8277672
checkflag FLAG_SYS_POKEDEX_GET checkflag FLAG_SYS_POKEDEX_GET
goto_if 0, OldaleTown_PokemonCenter_2F_EventScript_277335 goto_if 0, OldaleTown_PokemonCenter_2F_EventScript_277335
msgbox OldaleTown_PokemonCenter_2F_Text_279937, 5 msgbox OldaleTown_PokemonCenter_2F_Text_279937, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_27769A goto_eq OldaleTown_PokemonCenter_2F_EventScript_27769A
msgbox OldaleTown_PokemonCenter_2F_Text_2799AA, 4 msgbox OldaleTown_PokemonCenter_2F_Text_2799AA, 4
release release
@@ -1106,10 +1106,10 @@ OldaleTown_PokemonCenter_2F_EventScript_2776A4:: @ 82776A4
checkflag FLAG_SYS_POKEDEX_GET checkflag FLAG_SYS_POKEDEX_GET
goto_if 0, OldaleTown_PokemonCenter_2F_EventScript_277335 goto_if 0, OldaleTown_PokemonCenter_2F_EventScript_277335
specialvar VAR_RESULT, sub_813990C specialvar VAR_RESULT, sub_813990C
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_27731B goto_eq OldaleTown_PokemonCenter_2F_EventScript_27731B
specialvar VAR_RESULT, sub_80093CC specialvar VAR_RESULT, sub_80093CC
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276E13 goto_eq OldaleTown_PokemonCenter_2F_EventScript_276E13
message OldaleTown_PokemonCenter_2F_Text_279013 message OldaleTown_PokemonCenter_2F_Text_279013
waitmessage waitmessage
@@ -1119,7 +1119,7 @@ OldaleTown_PokemonCenter_2F_EventScript_2776A4:: @ 82776A4
OldaleTown_PokemonCenter_2F_EventScript_2776E3:: @ 82776E3 OldaleTown_PokemonCenter_2F_EventScript_2776E3:: @ 82776E3
checkitem ITEM_POWDER_JAR, 1 checkitem ITEM_POWDER_JAR, 1
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_27778B goto_eq OldaleTown_PokemonCenter_2F_EventScript_27778B
checkflag FLAG_VISITED_MAUVILLE_CITY checkflag FLAG_VISITED_MAUVILLE_CITY
goto_eq OldaleTown_PokemonCenter_2F_EventScript_27773E goto_eq OldaleTown_PokemonCenter_2F_EventScript_27773E
@@ -1166,10 +1166,10 @@ OldaleTown_PokemonCenter_2F_EventScript_2777CB:: @ 82777CB
OldaleTown_PokemonCenter_2F_EventScript_27780D:: @ 827780D OldaleTown_PokemonCenter_2F_EventScript_27780D:: @ 827780D
msgbox OldaleTown_PokemonCenter_2F_Text_27909D, 5 msgbox OldaleTown_PokemonCenter_2F_Text_27909D, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
call OldaleTown_PokemonCenter_2F_EventScript_277199 call OldaleTown_PokemonCenter_2F_EventScript_277199
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
setvar VAR_0x8004, 3 setvar VAR_0x8004, 3
goto OldaleTown_PokemonCenter_2F_EventScript_277931 goto OldaleTown_PokemonCenter_2F_EventScript_277931
@@ -1195,7 +1195,7 @@ OldaleTown_PokemonCenter_2F_EventScript_27788E:: @ 827788E
OldaleTown_PokemonCenter_2F_EventScript_277899:: @ 8277899 OldaleTown_PokemonCenter_2F_EventScript_277899:: @ 8277899
special HasEnoughMonsForDoubleBattle special HasEnoughMonsForDoubleBattle
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, OldaleTown_PokemonCenter_2F_EventScript_2778B2 goto_if 5, OldaleTown_PokemonCenter_2F_EventScript_2778B2
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
goto OldaleTown_PokemonCenter_2F_EventScript_277931 goto OldaleTown_PokemonCenter_2F_EventScript_277931
@@ -1218,7 +1218,7 @@ OldaleTown_PokemonCenter_2F_EventScript_2778CB:: @ 82778CB
OldaleTown_PokemonCenter_2F_EventScript_2778D9:: @ 82778D9 OldaleTown_PokemonCenter_2F_EventScript_2778D9:: @ 82778D9
msgbox OldaleTown_PokemonCenter_2F_Text_2790E8, 5 msgbox OldaleTown_PokemonCenter_2F_Text_2790E8, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
goto OldaleTown_PokemonCenter_2F_EventScript_277931 goto OldaleTown_PokemonCenter_2F_EventScript_277931
@@ -1226,10 +1226,10 @@ OldaleTown_PokemonCenter_2F_EventScript_2778D9:: @ 82778D9
OldaleTown_PokemonCenter_2F_EventScript_2778F7:: @ 82778F7 OldaleTown_PokemonCenter_2F_EventScript_2778F7:: @ 82778F7
msgbox OldaleTown_PokemonCenter_2F_Text_279114, 5 msgbox OldaleTown_PokemonCenter_2F_Text_279114, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
special HasAtLeastOneBerry special HasAtLeastOneBerry
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277923 goto_eq OldaleTown_PokemonCenter_2F_EventScript_277923
setvar VAR_0x8004, 5 setvar VAR_0x8004, 5
goto OldaleTown_PokemonCenter_2F_EventScript_277931 goto OldaleTown_PokemonCenter_2F_EventScript_277931
@@ -1242,7 +1242,7 @@ OldaleTown_PokemonCenter_2F_EventScript_277923:: @ 8277923
OldaleTown_PokemonCenter_2F_EventScript_277931:: @ 8277931 OldaleTown_PokemonCenter_2F_EventScript_277931:: @ 8277931
call OldaleTown_PokemonCenter_2F_EventScript_27134F call OldaleTown_PokemonCenter_2F_EventScript_27134F
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
switch VAR_0x8004 switch VAR_0x8004
case 3, OldaleTown_PokemonCenter_2F_EventScript_277989 case 3, OldaleTown_PokemonCenter_2F_EventScript_277989
@@ -1266,22 +1266,22 @@ OldaleTown_PokemonCenter_2F_EventScript_277989:: @ 8277989
OldaleTown_PokemonCenter_2F_EventScript_2779C6:: @ 82779C6 OldaleTown_PokemonCenter_2F_EventScript_2779C6:: @ 82779C6
call OldaleTown_PokemonCenter_2F_EventScript_277B30 call OldaleTown_PokemonCenter_2F_EventScript_277B30
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277B3A goto_eq OldaleTown_PokemonCenter_2F_EventScript_277B3A
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277989 goto_eq OldaleTown_PokemonCenter_2F_EventScript_277989
compare_var_to_value VAR_RESULT, 8 compare VAR_RESULT, 8
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2779C6 goto_eq OldaleTown_PokemonCenter_2F_EventScript_2779C6
release release
return return
OldaleTown_PokemonCenter_2F_EventScript_2779EE:: @ 82779EE OldaleTown_PokemonCenter_2F_EventScript_2779EE:: @ 82779EE
call OldaleTown_PokemonCenter_2F_EventScript_277B35 call OldaleTown_PokemonCenter_2F_EventScript_277B35
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277B3A goto_eq OldaleTown_PokemonCenter_2F_EventScript_277B3A
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277989 goto_eq OldaleTown_PokemonCenter_2F_EventScript_277989
compare_var_to_value VAR_RESULT, 8 compare VAR_RESULT, 8
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2779EE goto_eq OldaleTown_PokemonCenter_2F_EventScript_2779EE
release release
return return
@@ -1299,22 +1299,22 @@ OldaleTown_PokemonCenter_2F_EventScript_277A16:: @ 8277A16
OldaleTown_PokemonCenter_2F_EventScript_277A53:: @ 8277A53 OldaleTown_PokemonCenter_2F_EventScript_277A53:: @ 8277A53
call OldaleTown_PokemonCenter_2F_EventScript_277B30 call OldaleTown_PokemonCenter_2F_EventScript_277B30
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277B3A goto_eq OldaleTown_PokemonCenter_2F_EventScript_277B3A
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277A16 goto_eq OldaleTown_PokemonCenter_2F_EventScript_277A16
compare_var_to_value VAR_RESULT, 8 compare VAR_RESULT, 8
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277A53 goto_eq OldaleTown_PokemonCenter_2F_EventScript_277A53
release release
return return
OldaleTown_PokemonCenter_2F_EventScript_277A7B:: @ 8277A7B OldaleTown_PokemonCenter_2F_EventScript_277A7B:: @ 8277A7B
call OldaleTown_PokemonCenter_2F_EventScript_277B35 call OldaleTown_PokemonCenter_2F_EventScript_277B35
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277B3A goto_eq OldaleTown_PokemonCenter_2F_EventScript_277B3A
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277A16 goto_eq OldaleTown_PokemonCenter_2F_EventScript_277A16
compare_var_to_value VAR_RESULT, 8 compare VAR_RESULT, 8
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277A7B goto_eq OldaleTown_PokemonCenter_2F_EventScript_277A7B
release release
return return
@@ -1332,22 +1332,22 @@ OldaleTown_PokemonCenter_2F_EventScript_277AA3:: @ 8277AA3
OldaleTown_PokemonCenter_2F_EventScript_277AE0:: @ 8277AE0 OldaleTown_PokemonCenter_2F_EventScript_277AE0:: @ 8277AE0
call OldaleTown_PokemonCenter_2F_EventScript_277B30 call OldaleTown_PokemonCenter_2F_EventScript_277B30
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277B3A goto_eq OldaleTown_PokemonCenter_2F_EventScript_277B3A
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277AA3 goto_eq OldaleTown_PokemonCenter_2F_EventScript_277AA3
compare_var_to_value VAR_RESULT, 8 compare VAR_RESULT, 8
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277AE0 goto_eq OldaleTown_PokemonCenter_2F_EventScript_277AE0
release release
return return
OldaleTown_PokemonCenter_2F_EventScript_277B08:: @ 8277B08 OldaleTown_PokemonCenter_2F_EventScript_277B08:: @ 8277B08
call OldaleTown_PokemonCenter_2F_EventScript_277B35 call OldaleTown_PokemonCenter_2F_EventScript_277B35
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277B3A goto_eq OldaleTown_PokemonCenter_2F_EventScript_277B3A
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277AA3 goto_eq OldaleTown_PokemonCenter_2F_EventScript_277AA3
compare_var_to_value VAR_RESULT, 8 compare VAR_RESULT, 8
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277B08 goto_eq OldaleTown_PokemonCenter_2F_EventScript_277B08
release release
return return
@@ -1397,7 +1397,7 @@ OldaleTown_PokemonCenter_2F_EventScript_277B8A:: @ 8277B8A
checkflag FLAG_SYS_POKEDEX_GET checkflag FLAG_SYS_POKEDEX_GET
goto_if 0, OldaleTown_PokemonCenter_2F_EventScript_27733F goto_if 0, OldaleTown_PokemonCenter_2F_EventScript_27733F
specialvar VAR_RESULT, sub_80093CC specialvar VAR_RESULT, sub_80093CC
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq EventScript_277BB4 goto_eq EventScript_277BB4
fadescreen 1 fadescreen 1
special sub_801A42C special sub_801A42C
@@ -1496,7 +1496,7 @@ MossdeepCity_GameCorner_1F_EventScript_277C91:: @ 8277C91
message MossdeepCity_GameCorner_1F_Text_278CEB message MossdeepCity_GameCorner_1F_Text_278CEB
waitmessage waitmessage
specialvar VAR_RESULT, sub_80093CC specialvar VAR_RESULT, sub_80093CC
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq MossdeepCity_GameCorner_1F_EventScript_277E48 goto_eq MossdeepCity_GameCorner_1F_EventScript_277E48
delay 60 delay 60
message MossdeepCity_GameCorner_1F_Text_278DAD message MossdeepCity_GameCorner_1F_Text_278DAD
@@ -1512,17 +1512,17 @@ MossdeepCity_GameCorner_1F_EventScript_277C91:: @ 8277C91
MossdeepCity_GameCorner_1F_EventScript_277CE9:: @ 8277CE9 MossdeepCity_GameCorner_1F_EventScript_277CE9:: @ 8277CE9
setvar VAR_0x8005, 0 setvar VAR_0x8005, 0
special sub_802C920 special sub_802C920
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq MossdeepCity_GameCorner_1F_EventScript_277E55 goto_eq MossdeepCity_GameCorner_1F_EventScript_277E55
msgbox MossdeepCity_GameCorner_1F_Text_278DD9, 4 msgbox MossdeepCity_GameCorner_1F_Text_278DD9, 4
fadescreen 1 fadescreen 1
setvar VAR_0x8005, 0 setvar VAR_0x8005, 0
special sub_81B8958 special sub_81B8958
waitstate waitstate
compare_var_to_value VAR_0x8004, 6 compare VAR_0x8004, 6
goto_if 4, MossdeepCity_GameCorner_1F_EventScript_2772F9 goto_if 4, MossdeepCity_GameCorner_1F_EventScript_2772F9
call MossdeepCity_GameCorner_1F_EventScript_27134F call MossdeepCity_GameCorner_1F_EventScript_27134F
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq MossdeepCity_GameCorner_1F_EventScript_2772F9 goto_eq MossdeepCity_GameCorner_1F_EventScript_2772F9
setvar VAR_0x8004, 4 setvar VAR_0x8004, 4
goto MossdeepCity_GameCorner_1F_EventScript_277D81 goto MossdeepCity_GameCorner_1F_EventScript_277D81
@@ -1531,17 +1531,17 @@ MossdeepCity_GameCorner_1F_EventScript_277CE9:: @ 8277CE9
MossdeepCity_GameCorner_1F_EventScript_277D35:: @ 8277D35 MossdeepCity_GameCorner_1F_EventScript_277D35:: @ 8277D35
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_8027A5C special sub_8027A5C
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq MossdeepCity_GameCorner_1F_EventScript_277E55 goto_eq MossdeepCity_GameCorner_1F_EventScript_277E55
msgbox MossdeepCity_GameCorner_1F_Text_278DD9, 4 msgbox MossdeepCity_GameCorner_1F_Text_278DD9, 4
fadescreen 1 fadescreen 1
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_81B8958 special sub_81B8958
waitstate waitstate
compare_var_to_value VAR_0x8004, 6 compare VAR_0x8004, 6
goto_if 4, MossdeepCity_GameCorner_1F_EventScript_2772F9 goto_if 4, MossdeepCity_GameCorner_1F_EventScript_2772F9
call MossdeepCity_GameCorner_1F_EventScript_27134F call MossdeepCity_GameCorner_1F_EventScript_27134F
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq MossdeepCity_GameCorner_1F_EventScript_2772F9 goto_eq MossdeepCity_GameCorner_1F_EventScript_2772F9
setvar VAR_0x8004, 6 setvar VAR_0x8004, 6
goto MossdeepCity_GameCorner_1F_EventScript_277D81 goto MossdeepCity_GameCorner_1F_EventScript_277D81
@@ -1560,22 +1560,22 @@ MossdeepCity_GameCorner_1F_EventScript_277D81:: @ 8277D81
MossdeepCity_GameCorner_1F_EventScript_277DBE:: @ 8277DBE MossdeepCity_GameCorner_1F_EventScript_277DBE:: @ 8277DBE
call MossdeepCity_GameCorner_1F_EventScript_277B30 call MossdeepCity_GameCorner_1F_EventScript_277B30
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq MossdeepCity_GameCorner_1F_EventScript_277E0E goto_eq MossdeepCity_GameCorner_1F_EventScript_277E0E
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq MossdeepCity_GameCorner_1F_EventScript_277D81 goto_eq MossdeepCity_GameCorner_1F_EventScript_277D81
compare_var_to_value VAR_RESULT, 8 compare VAR_RESULT, 8
goto_eq MossdeepCity_GameCorner_1F_EventScript_277DBE goto_eq MossdeepCity_GameCorner_1F_EventScript_277DBE
release release
return return
MossdeepCity_GameCorner_1F_EventScript_277DE6:: @ 8277DE6 MossdeepCity_GameCorner_1F_EventScript_277DE6:: @ 8277DE6
call MossdeepCity_GameCorner_1F_EventScript_277B35 call MossdeepCity_GameCorner_1F_EventScript_277B35
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq MossdeepCity_GameCorner_1F_EventScript_277E0E goto_eq MossdeepCity_GameCorner_1F_EventScript_277E0E
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq MossdeepCity_GameCorner_1F_EventScript_277D81 goto_eq MossdeepCity_GameCorner_1F_EventScript_277D81
compare_var_to_value VAR_RESULT, 8 compare VAR_RESULT, 8
goto_eq MossdeepCity_GameCorner_1F_EventScript_277DE6 goto_eq MossdeepCity_GameCorner_1F_EventScript_277DE6
release release
return return
@@ -1608,11 +1608,11 @@ MossdeepCity_GameCorner_1F_EventScript_277E48:: @ 8277E48
MossdeepCity_GameCorner_1F_EventScript_277E55:: @ 8277E55 MossdeepCity_GameCorner_1F_EventScript_277E55:: @ 8277E55
msgbox MossdeepCity_GameCorner_1F_Text_278E60, 5 msgbox MossdeepCity_GameCorner_1F_Text_278E60, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq MossdeepCity_GameCorner_1F_EventScript_2772F9 goto_eq MossdeepCity_GameCorner_1F_EventScript_2772F9
compare_var_to_value VAR_0x8005, 0 compare VAR_0x8005, 0
call_if 1, MossdeepCity_GameCorner_1F_EventScript_277E84 call_if 1, MossdeepCity_GameCorner_1F_EventScript_277E84
compare_var_to_value VAR_0x8005, 1 compare VAR_0x8005, 1
call_if 1, MossdeepCity_GameCorner_1F_EventScript_277E8D call_if 1, MossdeepCity_GameCorner_1F_EventScript_277E8D
goto MossdeepCity_GameCorner_1F_EventScript_2772F9 goto MossdeepCity_GameCorner_1F_EventScript_2772F9
end end
+107 -107
View File
@@ -1,7 +1,7 @@
LilycoveCity_ContestLobby_EventScript_279CC5:: @ 8279CC5 LilycoveCity_ContestLobby_EventScript_279CC5:: @ 8279CC5
lock lock
faceplayer faceplayer
compare_var_to_value VAR_0x408A, 0 compare VAR_0x408A, 0
goto_if 5, LilycoveCity_ContestLobby_EventScript_279D13 goto_if 5, LilycoveCity_ContestLobby_EventScript_279D13
checkflag FLAG_0x05F checkflag FLAG_0x05F
call_if 1, LilycoveCity_ContestLobby_EventScript_279CEA call_if 1, LilycoveCity_ContestLobby_EventScript_279CEA
@@ -29,7 +29,7 @@ LilycoveCity_ContestLobby_EventScript_279D13:: @ 8279D13
LilycoveCity_ContestLobby_EventScript_279D2C:: @ 8279D2C LilycoveCity_ContestLobby_EventScript_279D2C:: @ 8279D2C
giveitem_std ITEM_LUXURY_BALL giveitem_std ITEM_LUXURY_BALL
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_279D4B goto_eq LilycoveCity_ContestLobby_EventScript_279D4B
setvar VAR_0x408A, 0 setvar VAR_0x408A, 0
closemessage closemessage
@@ -87,19 +87,19 @@ LilycoveCity_ContestLobby_EventScript_279E09:: @ 8279E09
LilycoveCity_ContestLobby_EventScript_279E13:: @ 8279E13 LilycoveCity_ContestLobby_EventScript_279E13:: @ 8279E13
msgbox LilycoveCity_ContestLobby_Text_27B44A, 4 msgbox LilycoveCity_ContestLobby_Text_27B44A, 4
choosecontestpkmn choosecontestmon
compare_var_to_value VAR_0x8004, 255 compare VAR_0x8004, 255
goto_eq LilycoveCity_ContestLobby_EventScript_279E09 goto_eq LilycoveCity_ContestLobby_EventScript_279E09
special sub_80F7F30 special sub_80F7F30
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_279F12 goto_eq LilycoveCity_ContestLobby_EventScript_279F12
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_279F87 goto_eq LilycoveCity_ContestLobby_EventScript_279F87
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq LilycoveCity_ContestLobby_EventScript_279F45 goto_eq LilycoveCity_ContestLobby_EventScript_279F45
compare_var_to_value VAR_RESULT, 3 compare VAR_RESULT, 3
goto_eq LilycoveCity_ContestLobby_EventScript_279F69 goto_eq LilycoveCity_ContestLobby_EventScript_279F69
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq LilycoveCity_ContestLobby_EventScript_279F78 goto_eq LilycoveCity_ContestLobby_EventScript_279F78
end end
@@ -273,7 +273,7 @@ LinkContestRoom1_EventScript_27A097:: @ 827A097
return return
LinkContestRoom1_EventScript_27A0B1:: @ 827A0B1 LinkContestRoom1_EventScript_27A0B1:: @ 827A0B1
compare_var_to_value VAR_0x4088, 5 compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27A0C7 goto_eq LinkContestRoom1_EventScript_27A0C7
lockall lockall
msgbox LinkContestRoom1_Text_27B711, 4 msgbox LinkContestRoom1_Text_27B711, 4
@@ -282,7 +282,7 @@ LinkContestRoom1_EventScript_27A0B1:: @ 827A0B1
LinkContestRoom1_EventScript_27A0C7:: @ 827A0C7 LinkContestRoom1_EventScript_27A0C7:: @ 827A0C7
specialvar VAR_RESULT, sub_80F9160 specialvar VAR_RESULT, sub_80F9160
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LinkContestRoom1_EventScript_27A0DE goto_eq LinkContestRoom1_EventScript_27A0DE
messageautoscroll LinkContestRoom1_Text_27B78F messageautoscroll LinkContestRoom1_Text_27B78F
waitmessage waitmessage
@@ -306,7 +306,7 @@ LinkContestRoom1_EventScript_27A0F5:: @ 827A0F5
call LinkContestRoom1_EventScript_27A133 call LinkContestRoom1_EventScript_27A133
call LinkContestRoom1_EventScript_27A133 call LinkContestRoom1_EventScript_27A133
addvar VAR_0x8006, 1 addvar VAR_0x8006, 1
compare_var_to_value VAR_0x8006, 4 compare VAR_0x8006, 4
goto_if 5, LinkContestRoom1_EventScript_27A0F5 goto_if 5, LinkContestRoom1_EventScript_27A0F5
call LinkContestRoom1_EventScript_27A230 call LinkContestRoom1_EventScript_27A230
setvar VAR_0x4001, 6 setvar VAR_0x4001, 6
@@ -314,7 +314,7 @@ LinkContestRoom1_EventScript_27A0F5:: @ 827A0F5
LinkContestRoom1_EventScript_27A133:: @ 827A133 LinkContestRoom1_EventScript_27A133:: @ 827A133
specialvar VAR_RESULT, sub_80F9160 specialvar VAR_RESULT, sub_80F9160
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LinkContestRoom1_EventScript_27A144 goto_eq LinkContestRoom1_EventScript_27A144
return return
@@ -324,13 +324,13 @@ LinkContestRoom1_EventScript_27A144:: @ 827A144
return return
LinkContestRoom1_EventScript_27A149:: @ 827A149 LinkContestRoom1_EventScript_27A149:: @ 827A149
compare_var_to_value VAR_0x8006, 0 compare VAR_0x8006, 0
goto_eq LinkContestRoom1_EventScript_27A176 goto_eq LinkContestRoom1_EventScript_27A176
compare_var_to_value VAR_0x8006, 1 compare VAR_0x8006, 1
goto_eq LinkContestRoom1_EventScript_27A18D goto_eq LinkContestRoom1_EventScript_27A18D
compare_var_to_value VAR_0x8006, 2 compare VAR_0x8006, 2
goto_eq LinkContestRoom1_EventScript_27A1A4 goto_eq LinkContestRoom1_EventScript_27A1A4
compare_var_to_value VAR_0x8006, 3 compare VAR_0x8006, 3
goto_eq LinkContestRoom1_EventScript_27A1BB goto_eq LinkContestRoom1_EventScript_27A1BB
return return
@@ -393,7 +393,7 @@ LinkContestRoom1_EventScript_27A1D2:: @ 827A1D2
return return
LinkContestRoom1_EventScript_27A217:: @ 827A217 LinkContestRoom1_EventScript_27A217:: @ 827A217
compare_var_to_value VAR_0x4088, 5 compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27A229 goto_eq LinkContestRoom1_EventScript_27A229
message LinkContestRoom1_Text_27B815 message LinkContestRoom1_Text_27B815
waitmessage waitmessage
@@ -421,14 +421,14 @@ LinkContestRoom1_EventScript_27A230:: @ 827A230
return return
LinkContestRoom1_EventScript_27A26C:: @ 827A26C LinkContestRoom1_EventScript_27A26C:: @ 827A26C
compare_var_to_value VAR_0x4088, 5 compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27A280 goto_eq LinkContestRoom1_EventScript_27A280
msgbox LinkContestRoom1_Text_27B830, 4 msgbox LinkContestRoom1_Text_27B830, 4
return return
LinkContestRoom1_EventScript_27A280:: @ 827A280 LinkContestRoom1_EventScript_27A280:: @ 827A280
specialvar VAR_RESULT, sub_80F9160 specialvar VAR_RESULT, sub_80F9160
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LinkContestRoom1_EventScript_27A297 goto_eq LinkContestRoom1_EventScript_27A297
messageautoscroll LinkContestRoom1_Text_27B830 messageautoscroll LinkContestRoom1_Text_27B830
waitmessage waitmessage
@@ -447,7 +447,7 @@ LinkContestRoom1_EventScript_27A297:: @ 827A297
return return
LinkContestRoom1_EventScript_27A2B9:: @ 827A2B9 LinkContestRoom1_EventScript_27A2B9:: @ 827A2B9
compare_var_to_value VAR_0x4088, 5 compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27A2CA goto_eq LinkContestRoom1_EventScript_27A2CA
message LinkContestRoom1_Text_27B8F2 message LinkContestRoom1_Text_27B8F2
return return
@@ -485,15 +485,15 @@ LinkContestRoom1_EventScript_27A2D5:: @ 827A2D5
LinkContestRoom1_EventScript_27A34F:: @ 827A34F LinkContestRoom1_EventScript_27A34F:: @ 827A34F
special sub_80F82FC special sub_80F82FC
compare_var_to_value VAR_0x4088, 1 compare VAR_0x4088, 1
call_if 1, LinkContestRoom1_EventScript_27A454 call_if 1, LinkContestRoom1_EventScript_27A454
compare_var_to_value VAR_0x4088, 2 compare VAR_0x4088, 2
call_if 1, LinkContestRoom1_EventScript_27A4B2 call_if 1, LinkContestRoom1_EventScript_27A4B2
compare_var_to_value VAR_0x4088, 3 compare VAR_0x4088, 3
call_if 1, LinkContestRoom1_EventScript_27A510 call_if 1, LinkContestRoom1_EventScript_27A510
compare_var_to_value VAR_0x4088, 4 compare VAR_0x4088, 4
call_if 1, LinkContestRoom1_EventScript_27A56E call_if 1, LinkContestRoom1_EventScript_27A56E
compare_var_to_value VAR_0x4088, 5 compare VAR_0x4088, 5
call_if 1, LinkContestRoom1_EventScript_27A5CC call_if 1, LinkContestRoom1_EventScript_27A5CC
setvar VAR_0x4001, 9 setvar VAR_0x4001, 9
setvar VAR_0x4002, 9 setvar VAR_0x4002, 9
@@ -503,7 +503,7 @@ LinkContestRoom1_EventScript_27A34F:: @ 827A34F
setvar VAR_0x4006, 9 setvar VAR_0x4006, 9
setvar VAR_0x4007, 9 setvar VAR_0x4007, 9
setvar VAR_0x4008, 9 setvar VAR_0x4008, 9
compare_var_to_value VAR_0x4000, 0 compare VAR_0x4000, 0
call_if 2, LinkContestRoom1_EventScript_27A3E5 call_if 2, LinkContestRoom1_EventScript_27A3E5
setvar VAR_0x4001, 0 setvar VAR_0x4001, 0
setvar VAR_0x4002, 0 setvar VAR_0x4002, 0
@@ -518,123 +518,123 @@ LinkContestRoom1_EventScript_27A34F:: @ 827A34F
LinkContestRoom1_EventScript_27A3E5:: @ 827A3E5 LinkContestRoom1_EventScript_27A3E5:: @ 827A3E5
setvar VAR_RESULT, 8 setvar VAR_RESULT, 8
special sub_80F8FE8 special sub_80F8FE8
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, LinkContestRoom1_EventScript_27A65A call_if 1, LinkContestRoom1_EventScript_27A65A
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, LinkContestRoom1_EventScript_27A67E call_if 1, LinkContestRoom1_EventScript_27A67E
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
call_if 1, LinkContestRoom1_EventScript_27A6A2 call_if 1, LinkContestRoom1_EventScript_27A6A2
compare_var_to_value VAR_RESULT, 3 compare VAR_RESULT, 3
call_if 1, LinkContestRoom1_EventScript_27A6C6 call_if 1, LinkContestRoom1_EventScript_27A6C6
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
call_if 1, LinkContestRoom1_EventScript_27A6EA call_if 1, LinkContestRoom1_EventScript_27A6EA
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
call_if 1, LinkContestRoom1_EventScript_27A70E call_if 1, LinkContestRoom1_EventScript_27A70E
compare_var_to_value VAR_RESULT, 6 compare VAR_RESULT, 6
call_if 1, LinkContestRoom1_EventScript_27A732 call_if 1, LinkContestRoom1_EventScript_27A732
compare_var_to_value VAR_RESULT, 7 compare VAR_RESULT, 7
call_if 1, LinkContestRoom1_EventScript_27A756 call_if 1, LinkContestRoom1_EventScript_27A756
compare_var_to_value VAR_0x4000, 0 compare VAR_0x4000, 0
goto_if 2, LinkContestRoom1_EventScript_27A3E5 goto_if 2, LinkContestRoom1_EventScript_27A3E5
waitmovement 0 waitmovement 0
return return
LinkContestRoom1_EventScript_27A454:: @ 827A454 LinkContestRoom1_EventScript_27A454:: @ 827A454
compare_var_to_value VAR_0x8004, 80 compare VAR_0x8004, 80
goto_if 2, LinkContestRoom1_EventScript_27A654 goto_if 2, LinkContestRoom1_EventScript_27A654
compare_var_to_value VAR_0x8004, 70 compare VAR_0x8004, 70
goto_if 2, LinkContestRoom1_EventScript_27A64E goto_if 2, LinkContestRoom1_EventScript_27A64E
compare_var_to_value VAR_0x8004, 60 compare VAR_0x8004, 60
goto_if 2, LinkContestRoom1_EventScript_27A648 goto_if 2, LinkContestRoom1_EventScript_27A648
compare_var_to_value VAR_0x8004, 50 compare VAR_0x8004, 50
goto_if 2, LinkContestRoom1_EventScript_27A642 goto_if 2, LinkContestRoom1_EventScript_27A642
compare_var_to_value VAR_0x8004, 40 compare VAR_0x8004, 40
goto_if 2, LinkContestRoom1_EventScript_27A63C goto_if 2, LinkContestRoom1_EventScript_27A63C
compare_var_to_value VAR_0x8004, 30 compare VAR_0x8004, 30
goto_if 2, LinkContestRoom1_EventScript_27A636 goto_if 2, LinkContestRoom1_EventScript_27A636
compare_var_to_value VAR_0x8004, 20 compare VAR_0x8004, 20
goto_if 2, LinkContestRoom1_EventScript_27A630 goto_if 2, LinkContestRoom1_EventScript_27A630
compare_var_to_value VAR_0x8004, 10 compare VAR_0x8004, 10
goto_if 2, LinkContestRoom1_EventScript_27A62A goto_if 2, LinkContestRoom1_EventScript_27A62A
setvar VAR_0x4000, 0 setvar VAR_0x4000, 0
return return
LinkContestRoom1_EventScript_27A4B2:: @ 827A4B2 LinkContestRoom1_EventScript_27A4B2:: @ 827A4B2
compare_var_to_value VAR_0x8004, 230 compare VAR_0x8004, 230
goto_if 2, LinkContestRoom1_EventScript_27A654 goto_if 2, LinkContestRoom1_EventScript_27A654
compare_var_to_value VAR_0x8004, 210 compare VAR_0x8004, 210
goto_if 2, LinkContestRoom1_EventScript_27A64E goto_if 2, LinkContestRoom1_EventScript_27A64E
compare_var_to_value VAR_0x8004, 190 compare VAR_0x8004, 190
goto_if 2, LinkContestRoom1_EventScript_27A648 goto_if 2, LinkContestRoom1_EventScript_27A648
compare_var_to_value VAR_0x8004, 170 compare VAR_0x8004, 170
goto_if 2, LinkContestRoom1_EventScript_27A642 goto_if 2, LinkContestRoom1_EventScript_27A642
compare_var_to_value VAR_0x8004, 150 compare VAR_0x8004, 150
goto_if 2, LinkContestRoom1_EventScript_27A63C goto_if 2, LinkContestRoom1_EventScript_27A63C
compare_var_to_value VAR_0x8004, 130 compare VAR_0x8004, 130
goto_if 2, LinkContestRoom1_EventScript_27A636 goto_if 2, LinkContestRoom1_EventScript_27A636
compare_var_to_value VAR_0x8004, 110 compare VAR_0x8004, 110
goto_if 2, LinkContestRoom1_EventScript_27A630 goto_if 2, LinkContestRoom1_EventScript_27A630
compare_var_to_value VAR_0x8004, 90 compare VAR_0x8004, 90
goto_if 2, LinkContestRoom1_EventScript_27A62A goto_if 2, LinkContestRoom1_EventScript_27A62A
setvar VAR_0x4000, 0 setvar VAR_0x4000, 0
return return
LinkContestRoom1_EventScript_27A510:: @ 827A510 LinkContestRoom1_EventScript_27A510:: @ 827A510
compare_var_to_value VAR_0x8004, 380 compare VAR_0x8004, 380
goto_if 2, LinkContestRoom1_EventScript_27A654 goto_if 2, LinkContestRoom1_EventScript_27A654
compare_var_to_value VAR_0x8004, 350 compare VAR_0x8004, 350
goto_if 2, LinkContestRoom1_EventScript_27A64E goto_if 2, LinkContestRoom1_EventScript_27A64E
compare_var_to_value VAR_0x8004, 320 compare VAR_0x8004, 320
goto_if 2, LinkContestRoom1_EventScript_27A648 goto_if 2, LinkContestRoom1_EventScript_27A648
compare_var_to_value VAR_0x8004, 290 compare VAR_0x8004, 290
goto_if 2, LinkContestRoom1_EventScript_27A642 goto_if 2, LinkContestRoom1_EventScript_27A642
compare_var_to_value VAR_0x8004, 260 compare VAR_0x8004, 260
goto_if 2, LinkContestRoom1_EventScript_27A63C goto_if 2, LinkContestRoom1_EventScript_27A63C
compare_var_to_value VAR_0x8004, 230 compare VAR_0x8004, 230
goto_if 2, LinkContestRoom1_EventScript_27A636 goto_if 2, LinkContestRoom1_EventScript_27A636
compare_var_to_value VAR_0x8004, 200 compare VAR_0x8004, 200
goto_if 2, LinkContestRoom1_EventScript_27A630 goto_if 2, LinkContestRoom1_EventScript_27A630
compare_var_to_value VAR_0x8004, 170 compare VAR_0x8004, 170
goto_if 2, LinkContestRoom1_EventScript_27A62A goto_if 2, LinkContestRoom1_EventScript_27A62A
setvar VAR_0x4000, 0 setvar VAR_0x4000, 0
return return
LinkContestRoom1_EventScript_27A56E:: @ 827A56E LinkContestRoom1_EventScript_27A56E:: @ 827A56E
compare_var_to_value VAR_0x8004, 600 compare VAR_0x8004, 600
goto_if 2, LinkContestRoom1_EventScript_27A654 goto_if 2, LinkContestRoom1_EventScript_27A654
compare_var_to_value VAR_0x8004, 560 compare VAR_0x8004, 560
goto_if 2, LinkContestRoom1_EventScript_27A64E goto_if 2, LinkContestRoom1_EventScript_27A64E
compare_var_to_value VAR_0x8004, 520 compare VAR_0x8004, 520
goto_if 2, LinkContestRoom1_EventScript_27A648 goto_if 2, LinkContestRoom1_EventScript_27A648
compare_var_to_value VAR_0x8004, 480 compare VAR_0x8004, 480
goto_if 2, LinkContestRoom1_EventScript_27A642 goto_if 2, LinkContestRoom1_EventScript_27A642
compare_var_to_value VAR_0x8004, 440 compare VAR_0x8004, 440
goto_if 2, LinkContestRoom1_EventScript_27A63C goto_if 2, LinkContestRoom1_EventScript_27A63C
compare_var_to_value VAR_0x8004, 400 compare VAR_0x8004, 400
goto_if 2, LinkContestRoom1_EventScript_27A636 goto_if 2, LinkContestRoom1_EventScript_27A636
compare_var_to_value VAR_0x8004, 360 compare VAR_0x8004, 360
goto_if 2, LinkContestRoom1_EventScript_27A630 goto_if 2, LinkContestRoom1_EventScript_27A630
compare_var_to_value VAR_0x8004, 320 compare VAR_0x8004, 320
goto_if 2, LinkContestRoom1_EventScript_27A62A goto_if 2, LinkContestRoom1_EventScript_27A62A
setvar VAR_0x4000, 0 setvar VAR_0x4000, 0
return return
LinkContestRoom1_EventScript_27A5CC:: @ 827A5CC LinkContestRoom1_EventScript_27A5CC:: @ 827A5CC
compare_var_to_value VAR_0x8004, 600 compare VAR_0x8004, 600
goto_if 2, LinkContestRoom1_EventScript_27A654 goto_if 2, LinkContestRoom1_EventScript_27A654
compare_var_to_value VAR_0x8004, 550 compare VAR_0x8004, 550
goto_if 2, LinkContestRoom1_EventScript_27A64E goto_if 2, LinkContestRoom1_EventScript_27A64E
compare_var_to_value VAR_0x8004, 500 compare VAR_0x8004, 500
goto_if 2, LinkContestRoom1_EventScript_27A648 goto_if 2, LinkContestRoom1_EventScript_27A648
compare_var_to_value VAR_0x8004, 450 compare VAR_0x8004, 450
goto_if 2, LinkContestRoom1_EventScript_27A642 goto_if 2, LinkContestRoom1_EventScript_27A642
compare_var_to_value VAR_0x8004, 400 compare VAR_0x8004, 400
goto_if 2, LinkContestRoom1_EventScript_27A63C goto_if 2, LinkContestRoom1_EventScript_27A63C
compare_var_to_value VAR_0x8004, 300 compare VAR_0x8004, 300
goto_if 2, LinkContestRoom1_EventScript_27A636 goto_if 2, LinkContestRoom1_EventScript_27A636
compare_var_to_value VAR_0x8004, 200 compare VAR_0x8004, 200
goto_if 2, LinkContestRoom1_EventScript_27A630 goto_if 2, LinkContestRoom1_EventScript_27A630
compare_var_to_value VAR_0x8004, 100 compare VAR_0x8004, 100
goto_if 2, LinkContestRoom1_EventScript_27A62A goto_if 2, LinkContestRoom1_EventScript_27A62A
setvar VAR_0x4000, 0 setvar VAR_0x4000, 0
return return
@@ -672,7 +672,7 @@ LinkContestRoom1_EventScript_27A654:: @ 827A654
return return
LinkContestRoom1_EventScript_27A65A:: @ 827A65A LinkContestRoom1_EventScript_27A65A:: @ 827A65A
compare_var_to_value VAR_0x4001, 1 compare VAR_0x4001, 1
goto_eq LinkContestRoom1_EventScript_27A67D goto_eq LinkContestRoom1_EventScript_27A67D
applymovement 6, LinkContestRoom1_Movement_27AD11 applymovement 6, LinkContestRoom1_Movement_27AD11
playse SE_PIN playse SE_PIN
@@ -685,7 +685,7 @@ LinkContestRoom1_EventScript_27A67D:: @ 827A67D
return return
LinkContestRoom1_EventScript_27A67E:: @ 827A67E LinkContestRoom1_EventScript_27A67E:: @ 827A67E
compare_var_to_value VAR_0x4002, 1 compare VAR_0x4002, 1
goto_eq LinkContestRoom1_EventScript_27A6A1 goto_eq LinkContestRoom1_EventScript_27A6A1
applymovement 12, LinkContestRoom1_Movement_27AD11 applymovement 12, LinkContestRoom1_Movement_27AD11
playse SE_PIN playse SE_PIN
@@ -698,7 +698,7 @@ LinkContestRoom1_EventScript_27A6A1:: @ 827A6A1
return return
LinkContestRoom1_EventScript_27A6A2:: @ 827A6A2 LinkContestRoom1_EventScript_27A6A2:: @ 827A6A2
compare_var_to_value VAR_0x4003, 1 compare VAR_0x4003, 1
goto_eq LinkContestRoom1_EventScript_27A6C5 goto_eq LinkContestRoom1_EventScript_27A6C5
applymovement 7, LinkContestRoom1_Movement_27AD11 applymovement 7, LinkContestRoom1_Movement_27AD11
playse SE_PIN playse SE_PIN
@@ -711,7 +711,7 @@ LinkContestRoom1_EventScript_27A6C5:: @ 827A6C5
return return
LinkContestRoom1_EventScript_27A6C6:: @ 827A6C6 LinkContestRoom1_EventScript_27A6C6:: @ 827A6C6
compare_var_to_value VAR_0x4004, 1 compare VAR_0x4004, 1
goto_eq LinkContestRoom1_EventScript_27A6E9 goto_eq LinkContestRoom1_EventScript_27A6E9
applymovement 8, LinkContestRoom1_Movement_27AD11 applymovement 8, LinkContestRoom1_Movement_27AD11
playse SE_PIN playse SE_PIN
@@ -724,7 +724,7 @@ LinkContestRoom1_EventScript_27A6E9:: @ 827A6E9
return return
LinkContestRoom1_EventScript_27A6EA:: @ 827A6EA LinkContestRoom1_EventScript_27A6EA:: @ 827A6EA
compare_var_to_value VAR_0x4005, 1 compare VAR_0x4005, 1
goto_eq LinkContestRoom1_EventScript_27A70D goto_eq LinkContestRoom1_EventScript_27A70D
applymovement 9, LinkContestRoom1_Movement_27AD11 applymovement 9, LinkContestRoom1_Movement_27AD11
playse SE_PIN playse SE_PIN
@@ -737,7 +737,7 @@ LinkContestRoom1_EventScript_27A70D:: @ 827A70D
return return
LinkContestRoom1_EventScript_27A70E:: @ 827A70E LinkContestRoom1_EventScript_27A70E:: @ 827A70E
compare_var_to_value VAR_0x4006, 1 compare VAR_0x4006, 1
goto_eq LinkContestRoom1_EventScript_27A731 goto_eq LinkContestRoom1_EventScript_27A731
applymovement 10, LinkContestRoom1_Movement_27AD11 applymovement 10, LinkContestRoom1_Movement_27AD11
playse SE_PIN playse SE_PIN
@@ -750,7 +750,7 @@ LinkContestRoom1_EventScript_27A731:: @ 827A731
return return
LinkContestRoom1_EventScript_27A732:: @ 827A732 LinkContestRoom1_EventScript_27A732:: @ 827A732
compare_var_to_value VAR_0x4007, 1 compare VAR_0x4007, 1
goto_eq LinkContestRoom1_EventScript_27A755 goto_eq LinkContestRoom1_EventScript_27A755
applymovement 11, LinkContestRoom1_Movement_27AD11 applymovement 11, LinkContestRoom1_Movement_27AD11
playse SE_PIN playse SE_PIN
@@ -763,7 +763,7 @@ LinkContestRoom1_EventScript_27A755:: @ 827A755
return return
LinkContestRoom1_EventScript_27A756:: @ 827A756 LinkContestRoom1_EventScript_27A756:: @ 827A756
compare_var_to_value VAR_0x4008, 1 compare VAR_0x4008, 1
goto_eq LinkContestRoom1_EventScript_27A779 goto_eq LinkContestRoom1_EventScript_27A779
applymovement 15, LinkContestRoom1_Movement_27AD11 applymovement 15, LinkContestRoom1_Movement_27AD11
playse SE_PIN playse SE_PIN
@@ -845,14 +845,14 @@ LinkContestRoom1_EventScript_27A801:: @ 827A801
return return
LinkContestRoom1_EventScript_27A853:: @ 827A853 LinkContestRoom1_EventScript_27A853:: @ 827A853
compare_var_to_value VAR_0x4088, 5 compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27A867 goto_eq LinkContestRoom1_EventScript_27A867
msgbox LinkContestRoom1_Text_27B904, 4 msgbox LinkContestRoom1_Text_27B904, 4
return return
LinkContestRoom1_EventScript_27A867:: @ 827A867 LinkContestRoom1_EventScript_27A867:: @ 827A867
specialvar VAR_RESULT, sub_80F9160 specialvar VAR_RESULT, sub_80F9160
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LinkContestRoom1_EventScript_27A87E goto_eq LinkContestRoom1_EventScript_27A87E
messageautoscroll LinkContestRoom1_Text_27B904 messageautoscroll LinkContestRoom1_Text_27B904
waitmessage waitmessage
@@ -895,7 +895,7 @@ LinkContestRoom1_EventScript_27A8A5:: @ 827A8A5
return return
LinkContestRoom1_EventScript_27A8FB:: @ 827A8FB LinkContestRoom1_EventScript_27A8FB:: @ 827A8FB
compare_var_to_value VAR_0x4088, 5 compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27A90F goto_eq LinkContestRoom1_EventScript_27A90F
msgbox LinkContestRoom1_Text_27BA15, 4 msgbox LinkContestRoom1_Text_27BA15, 4
return return
@@ -908,7 +908,7 @@ LinkContestRoom1_EventScript_27A90F:: @ 827A90F
return return
LinkContestRoom1_EventScript_27A91E:: @ 827A91E LinkContestRoom1_EventScript_27A91E:: @ 827A91E
compare_var_to_value VAR_0x4088, 5 compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27A932 goto_eq LinkContestRoom1_EventScript_27A932
msgbox LinkContestRoom1_Text_27BA30, 4 msgbox LinkContestRoom1_Text_27BA30, 4
return return
@@ -921,7 +921,7 @@ LinkContestRoom1_EventScript_27A932:: @ 827A932
return return
LinkContestRoom1_EventScript_27A941:: @ 827A941 LinkContestRoom1_EventScript_27A941:: @ 827A941
compare_var_to_value VAR_0x4088, 5 compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27A955 goto_eq LinkContestRoom1_EventScript_27A955
msgbox LinkContestRoom1_Text_27BAAC, 4 msgbox LinkContestRoom1_Text_27BAAC, 4
return return
@@ -934,7 +934,7 @@ LinkContestRoom1_EventScript_27A955:: @ 827A955
return return
LinkContestRoom1_EventScript_27A964:: @ 827A964 LinkContestRoom1_EventScript_27A964:: @ 827A964
compare_var_to_value VAR_0x4088, 5 compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27A978 goto_eq LinkContestRoom1_EventScript_27A978
msgbox LinkContestRoom1_Text_27BB25, 4 msgbox LinkContestRoom1_Text_27BB25, 4
return return
@@ -985,7 +985,7 @@ LinkContestRoom1_EventScript_27A9D4:: @ 827A9D4
return return
LinkContestRoom1_EventScript_27AA00:: @ 827AA00 LinkContestRoom1_EventScript_27AA00:: @ 827AA00
compare_var_to_value VAR_0x4088, 5 compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27AA14 goto_eq LinkContestRoom1_EventScript_27AA14
msgbox LinkContestRoom1_Text_27BB4C, 4 msgbox LinkContestRoom1_Text_27BB4C, 4
return return
@@ -998,7 +998,7 @@ LinkContestRoom1_EventScript_27AA14:: @ 827AA14
LinkContestRoom1_EventScript_27AA1B:: @ 827AA1B LinkContestRoom1_EventScript_27AA1B:: @ 827AA1B
addvar VAR_0x4001, 1 addvar VAR_0x4001, 1
lockall lockall
compare_var_to_value VAR_0x4088, 1 compare VAR_0x4088, 1
call_if 2, LinkContestRoom1_EventScript_27AA6F call_if 2, LinkContestRoom1_EventScript_27AA6F
applymovement 9, LinkContestRoom1_Movement_27AD3B applymovement 9, LinkContestRoom1_Movement_27AD3B
applymovement 12, LinkContestRoom1_Movement_27AD3F applymovement 12, LinkContestRoom1_Movement_27AD3F
@@ -1008,7 +1008,7 @@ LinkContestRoom1_EventScript_27AA1B:: @ 827AA1B
applymovement 11, LinkContestRoom1_Movement_27AD3F applymovement 11, LinkContestRoom1_Movement_27AD3F
applymovement 6, LinkContestRoom1_Movement_27AD37 applymovement 6, LinkContestRoom1_Movement_27AD37
applymovement 8, LinkContestRoom1_Movement_27AD33 applymovement 8, LinkContestRoom1_Movement_27AD33
compare_var_to_value VAR_0x4001, 4 compare VAR_0x4001, 4
goto_if 5, LinkContestRoom1_EventScript_27AA1B goto_if 5, LinkContestRoom1_EventScript_27AA1B
delay 30 delay 30
return return
@@ -1083,7 +1083,7 @@ LinkContestRoom1_EventScript_27AA6F:: @ 827AA6F
return return
LinkContestRoom1_EventScript_27AB36:: @ 827AB36 LinkContestRoom1_EventScript_27AB36:: @ 827AB36
compare_var_to_value VAR_0x4088, 5 compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27ABD8 goto_eq LinkContestRoom1_EventScript_27ABD8
call LinkContestRoom1_EventScript_27AB9E call LinkContestRoom1_EventScript_27AB9E
checkflag FLAG_0x002 checkflag FLAG_0x002
@@ -1098,7 +1098,7 @@ LinkContestRoom1_EventScript_27AB36:: @ 827AB36
call LinkContestRoom1_EventScript_27AA1B call LinkContestRoom1_EventScript_27AA1B
delay 30 delay 30
special sub_80F88E8 special sub_80F88E8
compare_var_to_value VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq LinkContestRoom1_EventScript_27ABD2 goto_eq LinkContestRoom1_EventScript_27ABD2
return return
@@ -1108,24 +1108,24 @@ LinkContestRoom1_EventScript_27AB82:: @ 827AB82
releaseall releaseall
delay 90 delay 90
special sub_80F88E8 special sub_80F88E8
compare_var_to_value VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq LinkContestRoom1_EventScript_27ABD2 goto_eq LinkContestRoom1_EventScript_27ABD2
return return
LinkContestRoom1_EventScript_27AB9E:: @ 827AB9E LinkContestRoom1_EventScript_27AB9E:: @ 827AB9E
specialvar VAR_RESULT, sub_80F7F7C specialvar VAR_RESULT, sub_80F7F7C
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LinkContestRoom1_EventScript_27ABAF goto_eq LinkContestRoom1_EventScript_27ABAF
return return
LinkContestRoom1_EventScript_27ABAF:: @ 827ABAF LinkContestRoom1_EventScript_27ABAF:: @ 827ABAF
special sub_80F831C special sub_80F831C
compare_var_to_value VAR_0x8005, 3 compare VAR_0x8005, 3
goto_eq LinkContestRoom1_EventScript_27ABBE goto_eq LinkContestRoom1_EventScript_27ABBE
return return
LinkContestRoom1_EventScript_27ABBE:: @ 827ABBE LinkContestRoom1_EventScript_27ABBE:: @ 827ABBE
compare_var_to_value VAR_CONTEST_RANK, 3 compare VAR_CONTEST_RANK, 3
goto_eq LinkContestRoom1_EventScript_27ABCD goto_eq LinkContestRoom1_EventScript_27ABCD
setflag FLAG_0x002 setflag FLAG_0x002
return return
@@ -1146,7 +1146,7 @@ LinkContestRoom1_EventScript_27ABD8:: @ 827ABD8
special sub_80F84B0 special sub_80F84B0
special sub_80F831C special sub_80F831C
special sub_80F88E8 special sub_80F88E8
compare_var_to_value VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq LinkContestRoom1_EventScript_27ABF1 goto_eq LinkContestRoom1_EventScript_27ABF1
closemessage closemessage
return return
@@ -1196,7 +1196,7 @@ LinkContestRoom1_EventScript_27AC51:: @ 827AC51
LinkContestRoom1_EventScript_27AC5E:: @ 827AC5E LinkContestRoom1_EventScript_27AC5E:: @ 827AC5E
special sub_80F831C special sub_80F831C
compare_var_to_value VAR_0x8005, 3 compare VAR_0x8005, 3
goto_eq LinkContestRoom1_EventScript_27AC77 goto_eq LinkContestRoom1_EventScript_27AC77
lockall lockall
msgbox LinkContestRoom1_Text_27BB7A, 4 msgbox LinkContestRoom1_Text_27BB7A, 4
@@ -1204,12 +1204,12 @@ LinkContestRoom1_EventScript_27AC5E:: @ 827AC5E
return return
LinkContestRoom1_EventScript_27AC77:: @ 827AC77 LinkContestRoom1_EventScript_27AC77:: @ 827AC77
compare_var_to_value VAR_0x4088, 2 compare VAR_0x4088, 2
call_if 1, LinkContestRoom1_EventScript_27ABCE call_if 1, LinkContestRoom1_EventScript_27ABCE
specialvar VAR_RESULT, sub_80F7F7C specialvar VAR_RESULT, sub_80F7F7C
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LinkContestRoom1_EventScript_27ACDF goto_eq LinkContestRoom1_EventScript_27ACDF
compare_var_to_value VAR_CONTEST_RANK, 3 compare VAR_CONTEST_RANK, 3
goto_eq LinkContestRoom1_EventScript_27ACBD goto_eq LinkContestRoom1_EventScript_27ACBD
lockall lockall
msgbox LinkContestRoom1_Text_27BB7A, 4 msgbox LinkContestRoom1_Text_27BB7A, 4
@@ -1226,7 +1226,7 @@ LinkContestRoom1_EventScript_27ACA8:: @ 827ACA8
LinkContestRoom1_EventScript_27ACBD:: @ 827ACBD LinkContestRoom1_EventScript_27ACBD:: @ 827ACBD
giveitem_std ITEM_LUXURY_BALL giveitem_std ITEM_LUXURY_BALL
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LinkContestRoom1_EventScript_27ACA8 goto_eq LinkContestRoom1_EventScript_27ACA8
lockall lockall
msgbox LinkContestRoom1_Text_27BB7A, 4 msgbox LinkContestRoom1_Text_27BB7A, 4
@@ -1432,7 +1432,7 @@ LinkContestRoom1_Movement_27AD7E: @ 827AD7E
LinkContestRoom1_EventScript_27AD80:: @ 827AD80 LinkContestRoom1_EventScript_27AD80:: @ 827AD80
specialvar VAR_RESULT, sub_80F9134 specialvar VAR_RESULT, sub_80F9134
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LinkContestRoom1_EventScript_27AD91 goto_eq LinkContestRoom1_EventScript_27AD91
return return
@@ -1441,7 +1441,7 @@ LinkContestRoom1_EventScript_27AD91:: @ 827AD91
LilycoveCity_ContestLobby_EventScript_27AD92:: @ 827AD92 LilycoveCity_ContestLobby_EventScript_27AD92:: @ 827AD92
specialvar VAR_RESULT, sub_80F9134 specialvar VAR_RESULT, sub_80F9134
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_27ADA3 goto_eq LilycoveCity_ContestLobby_EventScript_27ADA3
return return
+29 -29
View File
@@ -3,11 +3,11 @@ Route117_EventScript_291C18:: @ 8291C18
faceplayer faceplayer
special GetDaycareMonNicknames special GetDaycareMonNicknames
specialvar VAR_RESULT, GetDaycareState specialvar VAR_RESULT, GetDaycareState
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq Route117_EventScript_291C4D goto_eq Route117_EventScript_291C4D
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq Route117_EventScript_291CD1 goto_eq Route117_EventScript_291CD1
compare_var_to_value VAR_RESULT, 3 compare VAR_RESULT, 3
goto_eq Route117_EventScript_291CE8 goto_eq Route117_EventScript_291CE8
msgbox Route117_Text_291FCF, 4 msgbox Route117_Text_291FCF, 4
release release
@@ -15,10 +15,10 @@ Route117_EventScript_291C18:: @ 8291C18
Route117_EventScript_291C4D:: @ 8291C4D Route117_EventScript_291C4D:: @ 8291C4D
msgbox Route117_Text_29205D, 5 msgbox Route117_Text_29205D, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq Route117_EventScript_291C83 goto_eq Route117_EventScript_291C83
msgbox Route117_Text_2922C6, 5 msgbox Route117_Text_2922C6, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq Route117_EventScript_291C83 goto_eq Route117_EventScript_291C83
msgbox Route117_Text_292149, 4 msgbox Route117_Text_292149, 4
clearflag FLAG_PENDING_DAYCARE_EGG clearflag FLAG_PENDING_DAYCARE_EGG
@@ -28,7 +28,7 @@ Route117_EventScript_291C4D:: @ 8291C4D
Route117_EventScript_291C83:: @ 8291C83 Route117_EventScript_291C83:: @ 8291C83
specialvar VAR_RESULT, CalculatePlayerPartyCount specialvar VAR_RESULT, CalculatePlayerPartyCount
compare_var_to_value VAR_RESULT, 6 compare VAR_RESULT, 6
goto_if 5, Route117_EventScript_291C9D goto_if 5, Route117_EventScript_291C9D
msgbox Route117_Text_29216A, 4 msgbox Route117_Text_29216A, 4
release release
@@ -47,7 +47,7 @@ Route117_EventScript_291C9D:: @ 8291C9D
Route117_EventScript_291CB7:: @ 8291CB7 Route117_EventScript_291CB7:: @ 8291CB7
specialvar VAR_RESULT, sub_8071614 specialvar VAR_RESULT, sub_8071614
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, Route117_EventScript_291CC8 call_if 1, Route117_EventScript_291CC8
return return
@@ -81,14 +81,14 @@ Route117_PokemonDayCare_EventScript_291D11:: @ 8291D11
lock lock
faceplayer faceplayer
specialvar VAR_RESULT, GetDaycareState specialvar VAR_RESULT, GetDaycareState
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq Route117_PokemonDayCare_EventScript_291E0B goto_eq Route117_PokemonDayCare_EventScript_291E0B
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq Route117_PokemonDayCare_EventScript_291E2F goto_eq Route117_PokemonDayCare_EventScript_291E2F
compare_var_to_value VAR_RESULT, 3 compare VAR_RESULT, 3
goto_eq Route117_PokemonDayCare_EventScript_291F5C goto_eq Route117_PokemonDayCare_EventScript_291F5C
msgbox Route117_PokemonDayCare_Text_2922F4, 5 msgbox Route117_PokemonDayCare_Text_2922F4, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq Route117_PokemonDayCare_EventScript_291D56 goto_eq Route117_PokemonDayCare_EventScript_291D56
msgbox Route117_PokemonDayCare_Text_292416, 4 msgbox Route117_PokemonDayCare_Text_292416, 4
release release
@@ -96,19 +96,19 @@ Route117_PokemonDayCare_EventScript_291D11:: @ 8291D11
Route117_PokemonDayCare_EventScript_291D56:: @ 8291D56 Route117_PokemonDayCare_EventScript_291D56:: @ 8291D56
specialvar VAR_RESULT, CountPartyNonEggMons specialvar VAR_RESULT, CountPartyNonEggMons
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq Route117_PokemonDayCare_EventScript_291DED goto_eq Route117_PokemonDayCare_EventScript_291DED
specialvar VAR_RESULT, sub_80722E0 specialvar VAR_RESULT, sub_80722E0
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq Route117_PokemonDayCare_EventScript_291E01 goto_eq Route117_PokemonDayCare_EventScript_291E01
msgbox Route117_PokemonDayCare_Text_292349, 4 msgbox Route117_PokemonDayCare_Text_292349, 4
fadescreen 1 fadescreen 1
special ChooseSendDaycareMon special ChooseSendDaycareMon
waitstate waitstate
compare_var_to_value VAR_0x8004, 255 compare VAR_0x8004, 255
goto_eq Route117_PokemonDayCare_EventScript_291DCA goto_eq Route117_PokemonDayCare_EventScript_291DCA
specialvar VAR_RESULT, CountPartyAliveNonEggMons_IgnoreVar0x8004Slot specialvar VAR_RESULT, CountPartyAliveNonEggMons_IgnoreVar0x8004Slot
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq Route117_PokemonDayCare_EventScript_291DF7 goto_eq Route117_PokemonDayCare_EventScript_291DF7
specialvar VAR_0x8005, GetSelectedMonNickAndSpecies specialvar VAR_0x8005, GetSelectedMonNickAndSpecies
waitse waitse
@@ -118,7 +118,7 @@ Route117_PokemonDayCare_EventScript_291D56:: @ 8291D56
special StoreSelectedPokemonInDaycare special StoreSelectedPokemonInDaycare
incrementgamestat 47 incrementgamestat 47
specialvar VAR_RESULT, GetDaycareState specialvar VAR_RESULT, GetDaycareState
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq Route117_PokemonDayCare_EventScript_291DD4 goto_eq Route117_PokemonDayCare_EventScript_291DD4
release release
end end
@@ -130,7 +130,7 @@ Route117_PokemonDayCare_EventScript_291DCA:: @ 8291DCA
Route117_PokemonDayCare_EventScript_291DD4:: @ 8291DD4 Route117_PokemonDayCare_EventScript_291DD4:: @ 8291DD4
msgbox Route117_PokemonDayCare_Text_2923AF, 5 msgbox Route117_PokemonDayCare_Text_2923AF, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq Route117_PokemonDayCare_EventScript_291D56 goto_eq Route117_PokemonDayCare_EventScript_291D56
goto Route117_PokemonDayCare_EventScript_291DCA goto Route117_PokemonDayCare_EventScript_291DCA
end end
@@ -161,7 +161,7 @@ Route117_PokemonDayCare_EventScript_291E15:: @ 8291E15
Route117_PokemonDayCare_EventScript_291E1E:: @ 8291E1E Route117_PokemonDayCare_EventScript_291E1E:: @ 8291E1E
specialvar VAR_RESULT, GetNumLevelsGainedFromDaycare specialvar VAR_RESULT, GetNumLevelsGainedFromDaycare
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 5, Route117_PokemonDayCare_EventScript_291E15 call_if 5, Route117_PokemonDayCare_EventScript_291E15
return return
@@ -170,26 +170,26 @@ Route117_PokemonDayCare_EventScript_291E2F:: @ 8291E2F
setvar VAR_0x8004, 0 setvar VAR_0x8004, 0
call Route117_PokemonDayCare_EventScript_291E1E call Route117_PokemonDayCare_EventScript_291E1E
msgbox Route117_PokemonDayCare_Text_2923AF, 5 msgbox Route117_PokemonDayCare_Text_2923AF, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq Route117_PokemonDayCare_EventScript_291D56 goto_eq Route117_PokemonDayCare_EventScript_291D56
msgbox Route117_PokemonDayCare_Text_2925F6, 5 msgbox Route117_PokemonDayCare_Text_2925F6, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq Route117_PokemonDayCare_EventScript_291E6D goto_eq Route117_PokemonDayCare_EventScript_291E6D
goto Route117_PokemonDayCare_EventScript_291DCA goto Route117_PokemonDayCare_EventScript_291DCA
end end
Route117_PokemonDayCare_EventScript_291E6D:: @ 8291E6D Route117_PokemonDayCare_EventScript_291E6D:: @ 8291E6D
specialvar VAR_RESULT, CalculatePlayerPartyCount specialvar VAR_RESULT, CalculatePlayerPartyCount
compare_var_to_value VAR_RESULT, 6 compare VAR_RESULT, 6
goto_eq Route117_PokemonDayCare_EventScript_291F3D goto_eq Route117_PokemonDayCare_EventScript_291F3D
specialvar VAR_RESULT, GetDaycareState specialvar VAR_RESULT, GetDaycareState
setvar VAR_0x8004, 0 setvar VAR_0x8004, 0
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq Route117_PokemonDayCare_EventScript_291EAC goto_eq Route117_PokemonDayCare_EventScript_291EAC
special ShowDaycareLevelMenu special ShowDaycareLevelMenu
waitstate waitstate
copyvar VAR_0x8004, VAR_RESULT copyvar VAR_0x8004, VAR_RESULT
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq Route117_PokemonDayCare_EventScript_291DCA goto_eq Route117_PokemonDayCare_EventScript_291DCA
goto Route117_PokemonDayCare_EventScript_291EAC goto Route117_PokemonDayCare_EventScript_291EAC
end end
@@ -197,14 +197,14 @@ Route117_PokemonDayCare_EventScript_291E6D:: @ 8291E6D
Route117_PokemonDayCare_EventScript_291EAC:: @ 8291EAC Route117_PokemonDayCare_EventScript_291EAC:: @ 8291EAC
special GetDaycareCost special GetDaycareCost
msgbox Route117_PokemonDayCare_Text_292549, 5 msgbox Route117_PokemonDayCare_Text_292549, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq Route117_PokemonDayCare_EventScript_291EC8 goto_eq Route117_PokemonDayCare_EventScript_291EC8
goto Route117_PokemonDayCare_EventScript_291DCA goto Route117_PokemonDayCare_EventScript_291DCA
end end
Route117_PokemonDayCare_EventScript_291EC8:: @ 8291EC8 Route117_PokemonDayCare_EventScript_291EC8:: @ 8291EC8
specialvar VAR_RESULT, IsEnoughForCostInVar0x8005 specialvar VAR_RESULT, IsEnoughForCostInVar0x8005
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq Route117_PokemonDayCare_EventScript_291EE2 goto_eq Route117_PokemonDayCare_EventScript_291EE2
msgbox Route117_PokemonDayCare_Text_292432, 4 msgbox Route117_PokemonDayCare_Text_292432, 4
release release
@@ -222,14 +222,14 @@ Route117_PokemonDayCare_EventScript_291EE2:: @ 8291EE2
msgbox Route117_PokemonDayCare_Text_292593, 4 msgbox Route117_PokemonDayCare_Text_292593, 4
waitmoncry waitmoncry
specialvar VAR_RESULT, GetDaycareState specialvar VAR_RESULT, GetDaycareState
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq Route117_PokemonDayCare_EventScript_291F24 goto_eq Route117_PokemonDayCare_EventScript_291F24
goto Route117_PokemonDayCare_EventScript_291DCA goto Route117_PokemonDayCare_EventScript_291DCA
end end
Route117_PokemonDayCare_EventScript_291F24:: @ 8291F24 Route117_PokemonDayCare_EventScript_291F24:: @ 8291F24
msgbox Route117_PokemonDayCare_Text_29244F, 5 msgbox Route117_PokemonDayCare_Text_29244F, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq Route117_PokemonDayCare_EventScript_291E6D goto_eq Route117_PokemonDayCare_EventScript_291E6D
goto Route117_PokemonDayCare_EventScript_291DCA goto Route117_PokemonDayCare_EventScript_291DCA
end end
@@ -271,7 +271,7 @@ Route117_PokemonDayCare_EventScript_291F5C:: @ 8291F5C
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
call Route117_PokemonDayCare_EventScript_291E1E call Route117_PokemonDayCare_EventScript_291E1E
msgbox Route117_PokemonDayCare_Text_2925F6, 5 msgbox Route117_PokemonDayCare_Text_2925F6, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq Route117_PokemonDayCare_EventScript_291E6D goto_eq Route117_PokemonDayCare_EventScript_291E6D
msgbox Route117_PokemonDayCare_Text_292476, 4 msgbox Route117_PokemonDayCare_Text_292476, 4
release release
@@ -280,7 +280,7 @@ Route117_PokemonDayCare_EventScript_291F5C:: @ 8291F5C
Route117_PokemonDayCare_EventScript_291F95:: @ 8291F95 Route117_PokemonDayCare_EventScript_291F95:: @ 8291F95
special ShowDaycareLevelMenu special ShowDaycareLevelMenu
waitstate waitstate
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq Route117_PokemonDayCare_EventScript_291DCA goto_eq Route117_PokemonDayCare_EventScript_291DCA
copyvar VAR_0x8004, VAR_RESULT copyvar VAR_0x8004, VAR_RESULT
specialvar VAR_RESULT, TakePokemonFromDaycare specialvar VAR_RESULT, TakePokemonFromDaycare
+14 -14
View File
@@ -13,13 +13,13 @@ Route123_EventScript_2906BB:: @ 82906BB
checkflag FLAG_BADGE01_GET checkflag FLAG_BADGE01_GET
goto_if 0, Route103_EventScript_290721 goto_if 0, Route103_EventScript_290721
checkpartymove MOVE_CUT checkpartymove MOVE_CUT
compare_var_to_value VAR_RESULT, 6 compare VAR_RESULT, 6
goto_eq Route103_EventScript_290721 goto_eq Route103_EventScript_290721
setfieldeffectargument 0, VAR_RESULT setfieldeffectargument 0, VAR_RESULT
bufferpartymonnick 0, VAR_RESULT bufferpartymonnick 0, VAR_RESULT
buffermovename 1, MOVE_CUT buffermovename 1, MOVE_CUT
msgbox Route103_Text_29072E, 5 msgbox Route103_Text_29072E, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq Route103_EventScript_29072B goto_eq Route103_EventScript_29072B
msgbox Route103_Text_290771, 4 msgbox Route103_Text_290771, 4
closemessage closemessage
@@ -87,13 +87,13 @@ VictoryRoad_B1F_EventScript_2907A6:: @ 82907A6
checkflag FLAG_BADGE03_GET checkflag FLAG_BADGE03_GET
goto_if 0, Route111_EventScript_29082D goto_if 0, Route111_EventScript_29082D
checkpartymove MOVE_ROCK_SMASH checkpartymove MOVE_ROCK_SMASH
compare_var_to_value VAR_RESULT, 6 compare VAR_RESULT, 6
goto_eq Route111_EventScript_29082D goto_eq Route111_EventScript_29082D
setfieldeffectargument 0, VAR_RESULT setfieldeffectargument 0, VAR_RESULT
bufferpartymonnick 0, VAR_RESULT bufferpartymonnick 0, VAR_RESULT
buffermovename 1, MOVE_ROCK_SMASH buffermovename 1, MOVE_ROCK_SMASH
msgbox Route111_Text_29083A, 5 msgbox Route111_Text_29083A, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq Route111_EventScript_290837 goto_eq Route111_EventScript_290837
msgbox Route111_Text_290771, 4 msgbox Route111_Text_290771, 4
closemessage closemessage
@@ -114,10 +114,10 @@ Route111_EventScript_2907FB:: @ 82907FB
waitmovement 0 waitmovement 0
removeobject VAR_LAST_TALKED removeobject VAR_LAST_TALKED
specialvar VAR_RESULT, sub_81393FC specialvar VAR_RESULT, sub_81393FC
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq Route111_EventScript_290829 goto_eq Route111_EventScript_290829
special RockSmashWildEncounter special RockSmashWildEncounter
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq Route111_EventScript_290829 goto_eq Route111_EventScript_290829
waitstate waitstate
releaseall releaseall
@@ -165,11 +165,11 @@ VictoryRoad_B1F_EventScript_2908BA:: @ 82908BA
checkflag FLAG_SYS_USE_STRENGTH checkflag FLAG_SYS_USE_STRENGTH
goto_eq FieryPath_EventScript_29091F goto_eq FieryPath_EventScript_29091F
checkpartymove MOVE_STRENGTH checkpartymove MOVE_STRENGTH
compare_var_to_value VAR_RESULT, 6 compare VAR_RESULT, 6
goto_eq FieryPath_EventScript_290915 goto_eq FieryPath_EventScript_290915
setfieldeffectargument 0, VAR_RESULT setfieldeffectargument 0, VAR_RESULT
msgbox FieryPath_Text_29092C, 5 msgbox FieryPath_Text_29092C, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FieryPath_EventScript_290929 goto_eq FieryPath_EventScript_290929
closemessage closemessage
dofieldeffect 40 dofieldeffect 40
@@ -226,12 +226,12 @@ FieryPath_Text_290A16: @ 8290A16
EventScript_290A49:: @ 8290A49 EventScript_290A49:: @ 8290A49
lockall lockall
checkpartymove MOVE_WATERFALL checkpartymove MOVE_WATERFALL
compare_var_to_value VAR_RESULT, 6 compare VAR_RESULT, 6
goto_eq EventScript_290A84 goto_eq EventScript_290A84
bufferpartymonnick 0, VAR_RESULT bufferpartymonnick 0, VAR_RESULT
setfieldeffectargument 0, VAR_RESULT setfieldeffectargument 0, VAR_RESULT
msgbox Text_290AC3, 5 msgbox Text_290AC3, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq EventScript_290A8C goto_eq EventScript_290A8C
msgbox Text_290AFC, 4 msgbox Text_290AFC, 4
dofieldeffect 43 dofieldeffect 43
@@ -261,13 +261,13 @@ Text_290AFC: @ 8290AFC
EventScript_290B0F:: @ 8290B0F EventScript_290B0F:: @ 8290B0F
lockall lockall
checkpartymove MOVE_DIVE checkpartymove MOVE_DIVE
compare_var_to_value VAR_RESULT, 6 compare VAR_RESULT, 6
goto_eq EventScript_290B4E goto_eq EventScript_290B4E
bufferpartymonnick 0, VAR_RESULT bufferpartymonnick 0, VAR_RESULT
setfieldeffectargument 0, VAR_RESULT setfieldeffectargument 0, VAR_RESULT
setfieldeffectargument 1, 1 setfieldeffectargument 1, 1
msgbox Text_290BE8, 5 msgbox Text_290BE8, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq EventScript_290B58 goto_eq EventScript_290B58
msgbox Text_290C1A, 4 msgbox Text_290C1A, 4
dofieldeffect 44 dofieldeffect 44
@@ -286,13 +286,13 @@ EventScript_290B58:: @ 8290B58
EventScript_290B5A:: @ 8290B5A EventScript_290B5A:: @ 8290B5A
lockall lockall
checkpartymove MOVE_DIVE checkpartymove MOVE_DIVE
compare_var_to_value VAR_RESULT, 6 compare VAR_RESULT, 6
goto_eq EventScript_290B99 goto_eq EventScript_290B99
bufferpartymonnick 0, VAR_RESULT bufferpartymonnick 0, VAR_RESULT
setfieldeffectargument 0, VAR_RESULT setfieldeffectargument 0, VAR_RESULT
setfieldeffectargument 1, 1 setfieldeffectargument 1, 1
msgbox Text_290C6E, 5 msgbox Text_290C6E, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq EventScript_290BA8 goto_eq EventScript_290BA8
msgbox Text_290C1A, 4 msgbox Text_290C1A, 4
dofieldeffect 44 dofieldeffect 44
+10 -10
View File
@@ -1,7 +1,7 @@
EventScript_28CCAA:: @ 828CCAA EventScript_28CCAA:: @ 828CCAA
setvar VAR_0x8005, 8 setvar VAR_0x8005, 8
special InterviewBefore special InterviewBefore
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq EventScript_28CCC6 goto_eq EventScript_28CCC6
setvar VAR_0x8005, 8 setvar VAR_0x8005, 8
special InterviewAfter special InterviewAfter
@@ -214,11 +214,11 @@ Route120_EventScript_28CF36:: @ 828CF36
Route111_EventScript_28CF56:: @ 828CF56 Route111_EventScript_28CF56:: @ 828CF56
special GabbyAndTyBeforeInterview special GabbyAndTyBeforeInterview
special GabbyAndTySetScriptVarsToFieldObjectLocalIds special GabbyAndTySetScriptVarsToFieldObjectLocalIds
compare_var_to_value VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, Route111_EventScript_28CF94 call_if 1, Route111_EventScript_28CF94
compare_var_to_value VAR_FACING, 1 compare VAR_FACING, 1
call_if 1, Route111_EventScript_28CF9F call_if 1, Route111_EventScript_28CF9F
compare_var_to_value VAR_FACING, 4 compare VAR_FACING, 4
call_if 1, Route111_EventScript_28CFB1 call_if 1, Route111_EventScript_28CFB1
checkflag FLAG_0x001 checkflag FLAG_0x001
goto_eq Route111_EventScript_28D0EE goto_eq Route111_EventScript_28D0EE
@@ -248,16 +248,16 @@ Route118_EventScript_28CFC3:: @ 828CFC3
Route120_EventScript_28CFC3:: @ 828CFC3 Route120_EventScript_28CFC3:: @ 828CFC3
special GabbyAndTyBeforeInterview special GabbyAndTyBeforeInterview
special GabbyAndTySetScriptVarsToFieldObjectLocalIds special GabbyAndTySetScriptVarsToFieldObjectLocalIds
compare_var_to_value VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, Route111_EventScript_28CF94 call_if 1, Route111_EventScript_28CF94
compare_var_to_value VAR_FACING, 1 compare VAR_FACING, 1
call_if 1, Route111_EventScript_28CF9F call_if 1, Route111_EventScript_28CF9F
compare_var_to_value VAR_FACING, 4 compare VAR_FACING, 4
call_if 1, Route111_EventScript_28CFB1 call_if 1, Route111_EventScript_28CFB1
checkflag FLAG_0x001 checkflag FLAG_0x001
goto_eq Route111_EventScript_28D0EE goto_eq Route111_EventScript_28D0EE
specialvar VAR_RESULT, GabbyAndTyGetLastQuote specialvar VAR_RESULT, GabbyAndTyGetLastQuote
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq Route111_EventScript_28D053 goto_eq Route111_EventScript_28D053
msgbox Route111_Text_28B137, 4 msgbox Route111_Text_28B137, 4
specialvar VAR_RESULT, GabbyAndTyGetLastBattleTrivia specialvar VAR_RESULT, GabbyAndTyGetLastBattleTrivia
@@ -312,14 +312,14 @@ Route111_EventScript_28D099:: @ 828D099
end end
Route111_EventScript_28D0A7:: @ 828D0A7 Route111_EventScript_28D0A7:: @ 828D0A7
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq Route111_EventScript_28D0E1 goto_eq Route111_EventScript_28D0E1
msgbox Route111_Text_28B433, 4 msgbox Route111_Text_28B433, 4
setvar VAR_0x8004, 10 setvar VAR_0x8004, 10
call Route111_EventScript_271E7C call Route111_EventScript_271E7C
lock lock
faceplayer faceplayer
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq Route111_EventScript_28D0E1 goto_eq Route111_EventScript_28D0E1
msgbox Route111_Text_28B4AB, 4 msgbox Route111_Text_28B4AB, 4
special GabbyAndTyAfterInterview special GabbyAndTyAfterInterview
@@ -7,7 +7,7 @@ AbandonedShip_CaptainsOffice_EventScript_2387E2:: @ 82387E2
checkflag FLAG_0x126 checkflag FLAG_0x126
goto_eq AbandonedShip_CaptainsOffice_EventScript_23881A goto_eq AbandonedShip_CaptainsOffice_EventScript_23881A
checkitem ITEM_SCANNER, 1 checkitem ITEM_SCANNER, 1
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq AbandonedShip_CaptainsOffice_EventScript_238810 goto_eq AbandonedShip_CaptainsOffice_EventScript_238810
checkflag FLAG_0x436 checkflag FLAG_0x436
goto_eq AbandonedShip_CaptainsOffice_EventScript_23881A goto_eq AbandonedShip_CaptainsOffice_EventScript_23881A
@@ -31,7 +31,7 @@ AbandonedShip_Corridors_B1F_EventScript_237DC8:: @ 8237DC8
checkflag FLAG_0x0EF checkflag FLAG_0x0EF
goto_eq AbandonedShip_Corridors_B1F_EventScript_237E09 goto_eq AbandonedShip_Corridors_B1F_EventScript_237E09
checkitem ITEM_STORAGE_KEY, 1 checkitem ITEM_STORAGE_KEY, 1
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq AbandonedShip_Corridors_B1F_EventScript_237DFF goto_eq AbandonedShip_Corridors_B1F_EventScript_237DFF
msgbox AbandonedShip_Corridors_B1F_Text_237F4B, 4 msgbox AbandonedShip_Corridors_B1F_Text_237F4B, 4
playse SE_PIN playse SE_PIN
@@ -63,7 +63,7 @@ AbandonedShip_HiddenFloorCorridors_EventScript_238A19:: @ 8238A19
checkflag FLAG_0x0F0 checkflag FLAG_0x0F0
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B1D goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
checkitem ITEM_ROOM_1_KEY, 1 checkitem ITEM_ROOM_1_KEY, 1
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238AF5 goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238AF5
msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, 4 msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, 4
playse SE_PIN playse SE_PIN
@@ -79,7 +79,7 @@ AbandonedShip_HiddenFloorCorridors_EventScript_238A50:: @ 8238A50
checkflag FLAG_0x0F1 checkflag FLAG_0x0F1
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B1D goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
checkitem ITEM_ROOM_2_KEY, 1 checkitem ITEM_ROOM_2_KEY, 1
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238AFF goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238AFF
msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, 4 msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, 4
playse SE_PIN playse SE_PIN
@@ -95,7 +95,7 @@ AbandonedShip_HiddenFloorCorridors_EventScript_238A87:: @ 8238A87
checkflag FLAG_0x0F2 checkflag FLAG_0x0F2
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B1D goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
checkitem ITEM_ROOM_4_KEY, 1 checkitem ITEM_ROOM_4_KEY, 1
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B09 goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B09
msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, 4 msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, 4
playse SE_PIN playse SE_PIN
@@ -111,7 +111,7 @@ AbandonedShip_HiddenFloorCorridors_EventScript_238ABE:: @ 8238ABE
checkflag FLAG_0x0F3 checkflag FLAG_0x0F3
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B1D goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
checkitem ITEM_ROOM_6_KEY, 1 checkitem ITEM_ROOM_6_KEY, 1
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B13 goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B13
msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, 4 msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, 4
playse SE_PIN playse SE_PIN
@@ -10,11 +10,11 @@ AbandonedShip_HiddenFloorRooms_EventScript_238C59:: @ 8238C59
setvar VAR_0x4001, 1 setvar VAR_0x4001, 1
getplayerxy VAR_0x4002, VAR_0x4003 getplayerxy VAR_0x4002, VAR_0x4003
setvar VAR_0x4004, 1 setvar VAR_0x4004, 1
compare_var_to_value VAR_0x4002, 21 compare VAR_0x4002, 21
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238CD1 call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238CD1
compare_var_to_value VAR_0x4002, 36 compare VAR_0x4002, 36
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238CD7 call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238CD7
compare_var_to_value VAR_0x4003, 2 compare VAR_0x4003, 2
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238CDD call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238CDD
switch VAR_0x4004 switch VAR_0x4004
case 1, AbandonedShip_HiddenFloorRooms_EventScript_238CE3 case 1, AbandonedShip_HiddenFloorRooms_EventScript_238CE3
@@ -44,7 +44,7 @@ AbandonedShip_HiddenFloorRooms_EventScript_238CE3:: @ 8238CE3
setfieldeffectargument 2, 0 setfieldeffectargument 2, 0
dofieldeffect 54 dofieldeffect 54
specialvar VAR_RESULT, sub_81392F8 specialvar VAR_RESULT, sub_81392F8
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238DD3 call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238DD3
waitfieldeffect 54 waitfieldeffect 54
delay 10 delay 10
@@ -55,10 +55,10 @@ AbandonedShip_HiddenFloorRooms_EventScript_238D0C:: @ 8238D0C
AbandonedShip_HiddenFloorRooms_EventScript_238D0D:: @ 8238D0D AbandonedShip_HiddenFloorRooms_EventScript_238D0D:: @ 8238D0D
specialvar VAR_RESULT, sub_81392AC specialvar VAR_RESULT, sub_81392AC
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq AbandonedShip_HiddenFloorRooms_EventScript_238D32 goto_eq AbandonedShip_HiddenFloorRooms_EventScript_238D32
delay 20 delay 20
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238DB3 call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238DB3
waitfieldeffect 54 waitfieldeffect 54
delay 10 delay 10
@@ -78,7 +78,7 @@ AbandonedShip_HiddenFloorRooms_EventScript_238D33:: @ 8238D33
setfieldeffectargument 2, 0 setfieldeffectargument 2, 0
dofieldeffect 54 dofieldeffect 54
specialvar VAR_RESULT, sub_8139320 specialvar VAR_RESULT, sub_8139320
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238DE3 call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238DE3
waitfieldeffect 54 waitfieldeffect 54
delay 10 delay 10
@@ -99,7 +99,7 @@ AbandonedShip_HiddenFloorRooms_EventScript_238D6B:: @ 8238D6B
setfieldeffectargument 2, 0 setfieldeffectargument 2, 0
dofieldeffect 54 dofieldeffect 54
specialvar VAR_RESULT, sub_81392D4 specialvar VAR_RESULT, sub_81392D4
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238DC3 call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238DC3
waitfieldeffect 54 waitfieldeffect 54
delay 10 delay 10
@@ -4,7 +4,7 @@ AbandonedShip_Rooms2_1F_MapScripts:: @ 82380A6
AbandonedShip_Rooms2_1F_EventScript_2380A7:: @ 82380A7 AbandonedShip_Rooms2_1F_EventScript_2380A7:: @ 82380A7
trainerbattle 6, TRAINER_KIRA_AND_DAN_1, 0, AbandonedShip_Rooms2_1F_Text_23819D, AbandonedShip_Rooms2_1F_Text_2381DA, AbandonedShip_Rooms2_1F_Text_238257, AbandonedShip_Rooms2_1F_EventScript_2380D7 trainerbattle 6, TRAINER_KIRA_AND_DAN_1, 0, AbandonedShip_Rooms2_1F_Text_23819D, AbandonedShip_Rooms2_1F_Text_2381DA, AbandonedShip_Rooms2_1F_Text_238257, AbandonedShip_Rooms2_1F_EventScript_2380D7
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq AbandonedShip_Rooms2_1F_EventScript_2380F0 goto_eq AbandonedShip_Rooms2_1F_EventScript_2380F0
msgbox AbandonedShip_Rooms2_1F_Text_23820F, 4 msgbox AbandonedShip_Rooms2_1F_Text_23820F, 4
release release
@@ -27,7 +27,7 @@ AbandonedShip_Rooms2_1F_EventScript_2380F0:: @ 82380F0
AbandonedShip_Rooms2_1F_EventScript_23810B:: @ 823810B AbandonedShip_Rooms2_1F_EventScript_23810B:: @ 823810B
trainerbattle 6, TRAINER_KIRA_AND_DAN_1, 0, AbandonedShip_Rooms2_1F_Text_2382A4, AbandonedShip_Rooms2_1F_Text_2382F4, AbandonedShip_Rooms2_1F_Text_23836F, AbandonedShip_Rooms2_1F_EventScript_23813B trainerbattle 6, TRAINER_KIRA_AND_DAN_1, 0, AbandonedShip_Rooms2_1F_Text_2382A4, AbandonedShip_Rooms2_1F_Text_2382F4, AbandonedShip_Rooms2_1F_Text_23836F, AbandonedShip_Rooms2_1F_EventScript_23813B
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq AbandonedShip_Rooms2_1F_EventScript_238154 goto_eq AbandonedShip_Rooms2_1F_EventScript_238154
msgbox AbandonedShip_Rooms2_1F_Text_23830A, 4 msgbox AbandonedShip_Rooms2_1F_Text_23830A, 4
release release
+1 -1
View File
@@ -13,7 +13,7 @@ AbandonedShip_Rooms_1F_EventScript_237A9C:: @ 8237A9C
AbandonedShip_Rooms_1F_EventScript_237AB3:: @ 8237AB3 AbandonedShip_Rooms_1F_EventScript_237AB3:: @ 8237AB3
trainerbattle 2, TRAINER_THALIA_1, 0, AbandonedShip_Rooms_1F_Text_237B76, AbandonedShip_Rooms_1F_Text_237BB8, AbandonedShip_Rooms_1F_EventScript_237ADF trainerbattle 2, TRAINER_THALIA_1, 0, AbandonedShip_Rooms_1F_Text_237B76, AbandonedShip_Rooms_1F_Text_237BB8, AbandonedShip_Rooms_1F_EventScript_237ADF
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq AbandonedShip_Rooms_1F_EventScript_237AFE goto_eq AbandonedShip_Rooms_1F_EventScript_237AFE
msgbox AbandonedShip_Rooms_1F_Text_237BDB, 4 msgbox AbandonedShip_Rooms_1F_Text_237BDB, 4
release release
+4 -4
View File
@@ -11,7 +11,7 @@ AncientTomb_MapScript1_238FC3: @ 8238FC3
AncientTomb_EventScript_238FCD:: @ 8238FCD AncientTomb_EventScript_238FCD:: @ 8238FCD
specialvar VAR_RESULT, sub_8138B80 specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 7 compare VAR_RESULT, 7
goto_if 5, AncientTomb_EventScript_27374E goto_if 5, AncientTomb_EventScript_27374E
removeobject VAR_LAST_TALKED removeobject VAR_LAST_TALKED
return return
@@ -76,11 +76,11 @@ AncientTomb_EventScript_23905A:: @ 823905A
waitstate waitstate
clearflag FLAG_SYS_CTRL_OBJ_DELETE clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, sub_8138B80 specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq AncientTomb_EventScript_2390A1 goto_eq AncientTomb_EventScript_2390A1
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq AncientTomb_EventScript_2390AA goto_eq AncientTomb_EventScript_2390AA
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq AncientTomb_EventScript_2390AA goto_eq AncientTomb_EventScript_2390AA
setflag FLAG_0x1BD setflag FLAG_0x1BD
release release
+7 -7
View File
@@ -10,7 +10,7 @@ AquaHideout_B1F_MapScript1_2339B2: @ 82339B2
AquaHideout_B1F_EventScript_2339BC:: @ 82339BC AquaHideout_B1F_EventScript_2339BC:: @ 82339BC
specialvar VAR_RESULT, sub_8138B80 specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 7 compare VAR_RESULT, 7
goto_if 5, AquaHideout_B1F_EventScript_27374E goto_if 5, AquaHideout_B1F_EventScript_27374E
removeobject VAR_LAST_TALKED removeobject VAR_LAST_TALKED
return return
@@ -42,11 +42,11 @@ AquaHideout_B1F_EventScript_2339EB:: @ 82339EB
dowildbattle dowildbattle
clearflag FLAG_SYS_CTRL_OBJ_DELETE clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, sub_8138B80 specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq AquaHideout_B1F_EventScript_233A2F goto_eq AquaHideout_B1F_EventScript_233A2F
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq AquaHideout_B1F_EventScript_233A2F goto_eq AquaHideout_B1F_EventScript_233A2F
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq AquaHideout_B1F_EventScript_233A2F goto_eq AquaHideout_B1F_EventScript_233A2F
setflag FLAG_0x1C4 setflag FLAG_0x1C4
release release
@@ -69,11 +69,11 @@ AquaHideout_B1F_EventScript_233A38:: @ 8233A38
dowildbattle dowildbattle
clearflag FLAG_SYS_CTRL_OBJ_DELETE clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, sub_8138B80 specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq AquaHideout_B1F_EventScript_233A7C goto_eq AquaHideout_B1F_EventScript_233A7C
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq AquaHideout_B1F_EventScript_233A7C goto_eq AquaHideout_B1F_EventScript_233A7C
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq AquaHideout_B1F_EventScript_233A7C goto_eq AquaHideout_B1F_EventScript_233A7C
setflag FLAG_0x1C5 setflag FLAG_0x1C5
release release
@@ -17,9 +17,9 @@ BattleFrontier_BattleArenaBattleRoom_MapScript1_2574A0: @ 82574A0
BattleFrontier_BattleArenaBattleRoom_EventScript_2574AE:: @ 82574AE BattleFrontier_BattleArenaBattleRoom_EventScript_2574AE:: @ 82574AE
checkplayergender checkplayergender
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_2574C6 goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_2574C6
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_2574CC goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_2574CC
return return
@@ -43,7 +43,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_2574DC:: @ 82574DC
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_25752E goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_25752E
applymovement 5, BattleFrontier_BattleArenaBattleRoom_Movement_257C08 applymovement 5, BattleFrontier_BattleArenaBattleRoom_Movement_257C08
applymovement 8, BattleFrontier_BattleArenaBattleRoom_Movement_257BEB applymovement 8, BattleFrontier_BattleArenaBattleRoom_Movement_257BEB
@@ -149,25 +149,25 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_2576B0:: @ 82576B0
setvar VAR_0x8004, 9 setvar VAR_0x8004, 9
special sub_81A1780 special sub_81A1780
copyvar VAR_0x400F, VAR_RESULT copyvar VAR_0x400F, VAR_RESULT
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleArenaBattleRoom_EventScript_2578BC goto_if 5, BattleFrontier_BattleArenaBattleRoom_EventScript_2578BC
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_257870 call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_257870
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_257877 call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_257877
compare_var_to_value VAR_RESULT, 3 compare VAR_RESULT, 3
call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_25787E call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_25787E
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_257885 call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_257885
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_25788C call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_25788C
compare_var_to_value VAR_RESULT, 6 compare VAR_RESULT, 6
call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_257893 call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_257893
call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0 call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257768 goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257768
multichoice 19, 4, 103, 1 multichoice 19, 4, 103, 1
switch VAR_RESULT switch VAR_RESULT
@@ -275,7 +275,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_25789A:: @ 825789A
end end
BattleFrontier_BattleArenaBattleRoom_EventScript_2578BC:: @ 82578BC BattleFrontier_BattleArenaBattleRoom_EventScript_2578BC:: @ 82578BC
compare_var_to_value VAR_0x4002, 1 compare VAR_0x4002, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_2578D4 goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_2578D4
msgbox BattleFrontier_BattleArenaBattleRoom_Text_257F45, 4 msgbox BattleFrontier_BattleArenaBattleRoom_Text_257F45, 4
setvar VAR_0x4002, 1 setvar VAR_0x4002, 1
@@ -284,7 +284,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_2578D4:: @ 82578D4
message BattleFrontier_BattleArenaBattleRoom_Text_257FBB message BattleFrontier_BattleArenaBattleRoom_Text_257FBB
waitmessage waitmessage
call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0 call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_25792B goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_25792B
multichoice 19, 4, 103, 1 multichoice 19, 4, 103, 1
switch VAR_RESULT switch VAR_RESULT
@@ -333,7 +333,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257961:: @ 8257961
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleArenaBattleRoom_EventScript_257A3F goto_if 5, BattleFrontier_BattleArenaBattleRoom_EventScript_257A3F
msgbox BattleFrontier_BattleArenaBattleRoom_Text_25801C, 4 msgbox BattleFrontier_BattleArenaBattleRoom_Text_25801C, 4
closemessage closemessage
@@ -351,7 +351,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257961:: @ 8257961
BattleFrontier_BattleArenaBattleRoom_EventScript_257A3F:: @ 8257A3F BattleFrontier_BattleArenaBattleRoom_EventScript_257A3F:: @ 8257A3F
msgbox BattleFrontier_BattleArenaBattleRoom_Text_25810D, 4 msgbox BattleFrontier_BattleArenaBattleRoom_Text_25810D, 4
call BattleFrontier_BattleArenaBattleRoom_EventScript_257B5E call BattleFrontier_BattleArenaBattleRoom_EventScript_257B5E
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257A5C goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257A5C
goto BattleFrontier_BattleArenaBattleRoom_EventScript_2575DB goto BattleFrontier_BattleArenaBattleRoom_EventScript_2575DB
@@ -359,7 +359,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257A5C:: @ 8257A5C
call BattleFrontier_BattleArenaBattleRoom_EventScript_257BA9 call BattleFrontier_BattleArenaBattleRoom_EventScript_257BA9
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleArenaBattleRoom_EventScript_257852 goto_if 5, BattleFrontier_BattleArenaBattleRoom_EventScript_257852
applymovement 7, BattleFrontier_BattleArenaBattleRoom_Movement_257BF1 applymovement 7, BattleFrontier_BattleArenaBattleRoom_Movement_257BF1
waitmovement 0 waitmovement 0
@@ -377,7 +377,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257AA5:: @ 8257AA5
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleArenaBattleRoom_EventScript_257AF8 goto_if 5, BattleFrontier_BattleArenaBattleRoom_EventScript_257AF8
msgbox BattleFrontier_BattleArenaBattleRoom_Text_258213, 4 msgbox BattleFrontier_BattleArenaBattleRoom_Text_258213, 4
closemessage closemessage
@@ -395,7 +395,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257AA5:: @ 8257AA5
BattleFrontier_BattleArenaBattleRoom_EventScript_257AF8:: @ 8257AF8 BattleFrontier_BattleArenaBattleRoom_EventScript_257AF8:: @ 8257AF8
msgbox BattleFrontier_BattleArenaBattleRoom_Text_2582F9, 4 msgbox BattleFrontier_BattleArenaBattleRoom_Text_2582F9, 4
call BattleFrontier_BattleArenaBattleRoom_EventScript_257B5E call BattleFrontier_BattleArenaBattleRoom_EventScript_257B5E
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257B15 goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257B15
goto BattleFrontier_BattleArenaBattleRoom_EventScript_2575DB goto BattleFrontier_BattleArenaBattleRoom_EventScript_2575DB
@@ -403,7 +403,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257B15:: @ 8257B15
call BattleFrontier_BattleArenaBattleRoom_EventScript_257BA9 call BattleFrontier_BattleArenaBattleRoom_EventScript_257BA9
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257852 goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257852
applymovement 7, BattleFrontier_BattleArenaBattleRoom_Movement_257BF1 applymovement 7, BattleFrontier_BattleArenaBattleRoom_Movement_257BF1
waitmovement 0 waitmovement 0
@@ -49,7 +49,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255CCF:: @ 8255CCF
lockall lockall
setvar VAR_0x8004, 10 setvar VAR_0x8004, 10
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaLobby_EventScript_255CF0 goto_eq BattleFrontier_BattleArenaLobby_EventScript_255CF0
msgbox BattleFrontier_BattleArenaLobby_Text_2568E7, 4 msgbox BattleFrontier_BattleArenaLobby_Text_2568E7, 4
goto BattleFrontier_BattleArenaLobby_EventScript_255CF8 goto BattleFrontier_BattleArenaLobby_EventScript_255CF8
@@ -97,7 +97,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255D59:: @ 8255D59
playse SE_SAVE playse SE_SAVE
waitse waitse
call BattleFrontier_BattleArenaLobby_EventScript_23E8E0 call BattleFrontier_BattleArenaLobby_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaLobby_EventScript_255DBF goto_eq BattleFrontier_BattleArenaLobby_EventScript_255DBF
message BattleFrontier_BattleArenaLobby_Text_256B19 message BattleFrontier_BattleArenaLobby_Text_256B19
waitmessage waitmessage
@@ -156,7 +156,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255E47:: @ 8255E47
case 127, BattleFrontier_BattleArenaLobby_EventScript_255FFB case 127, BattleFrontier_BattleArenaLobby_EventScript_255FFB
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleArenaLobby_EventScript_255FAC goto_eq BattleFrontier_BattleArenaLobby_EventScript_255FAC
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
@@ -169,7 +169,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255E47:: @ 8255E47
setvar VAR_0x8005, 3 setvar VAR_0x8005, 3
special sub_80F9490 special sub_80F9490
waitstate waitstate
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleArenaLobby_EventScript_255FF8 goto_eq BattleFrontier_BattleArenaLobby_EventScript_255FF8
msgbox BattleFrontier_BattleArenaLobby_Text_2564CE, 5 msgbox BattleFrontier_BattleArenaLobby_Text_2564CE, 5
switch VAR_RESULT switch VAR_RESULT
@@ -201,7 +201,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255EE8:: @ 8255EE8
delay 2 delay 2
call BattleFrontier_BattleArenaLobby_EventScript_27134F call BattleFrontier_BattleArenaLobby_EventScript_27134F
setvar VAR_0x4000, 255 setvar VAR_0x4000, 255
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleArenaLobby_EventScript_255FE1 goto_eq BattleFrontier_BattleArenaLobby_EventScript_255FE1
BattleFrontier_BattleArenaLobby_EventScript_255F54:: @ 8255F54 BattleFrontier_BattleArenaLobby_EventScript_255F54:: @ 8255F54
@@ -214,9 +214,9 @@ BattleFrontier_BattleArenaLobby_EventScript_255F54:: @ 8255F54
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattleArenaLobby_EventScript_256005 call_if 1, BattleFrontier_BattleArenaLobby_EventScript_256005
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattleArenaLobby_EventScript_256050 call_if 1, BattleFrontier_BattleArenaLobby_EventScript_256050
warp BATTLE_FRONTIER_BATTLE_ARENA_CORRIDOR, 255, 9, 13 warp BATTLE_FRONTIER_BATTLE_ARENA_CORRIDOR, 255, 9, 13
setvar VAR_0x4000, 0 setvar VAR_0x4000, 0
@@ -12,7 +12,7 @@ BattleFrontier_BattleDomeBattleRoom_MapScript1_24BCB1: @ 824BCB1
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special sub_81A1780 special sub_81A1780
copyvar VAR_0x400F, VAR_RESULT copyvar VAR_0x400F, VAR_RESULT
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C919 call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C919
call BattleFrontier_BattleDomeBattleRoom_EventScript_24BCDC call BattleFrontier_BattleDomeBattleRoom_EventScript_24BCDC
end end
@@ -20,9 +20,9 @@ BattleFrontier_BattleDomeBattleRoom_MapScript1_24BCB1: @ 824BCB1
BattleFrontier_BattleArenaBattleRoom_EventScript_24BCDC:: @ 824BCDC BattleFrontier_BattleArenaBattleRoom_EventScript_24BCDC:: @ 824BCDC
BattleFrontier_BattleDomeBattleRoom_EventScript_24BCDC:: @ 824BCDC BattleFrontier_BattleDomeBattleRoom_EventScript_24BCDC:: @ 824BCDC
checkplayergender checkplayergender
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BCF4 goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BCF4
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BCFA goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BCFA
return return
@@ -41,7 +41,7 @@ BattleFrontier_BattleDomeBattleRoom_MapScript2_24BD00: @ 824BD00
BattleFrontier_BattleDomeBattleRoom_EventScript_24BD0A:: @ 824BD0A BattleFrontier_BattleDomeBattleRoom_EventScript_24BD0A:: @ 824BD0A
lockall lockall
call BattleFrontier_BattleDomeBattleRoom_EventScript_24C1BD call BattleFrontier_BattleDomeBattleRoom_EventScript_24C1BD
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C938 call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C938
applymovement 1, BattleFrontier_BattleDomeBattleRoom_Movement_2725B4 applymovement 1, BattleFrontier_BattleDomeBattleRoom_Movement_2725B4
waitmovement 0 waitmovement 0
@@ -49,9 +49,9 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BD0A:: @ 824BD0A
msgbox BattleFrontier_BattleDomeBattleRoom_Text_24C970, 4 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24C970, 4
closemessage closemessage
showobjectat 13, BATTLE_FRONTIER_BATTLE_DOME_BATTLE_ROOM showobjectat 13, BATTLE_FRONTIER_BATTLE_DOME_BATTLE_ROOM
compare_var_to_value VAR_0x400F, 3 compare VAR_0x400F, 3
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BD4E goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BD4E
compare_var_to_value VAR_0x400E, 0 compare VAR_0x400E, 0
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BD5A goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BD5A
BattleFrontier_BattleDomeBattleRoom_EventScript_24BD4E:: @ 824BD4E BattleFrontier_BattleDomeBattleRoom_EventScript_24BD4E:: @ 824BD4E
@@ -65,9 +65,9 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BD61:: @ 824BD61
playse SE_W227B playse SE_W227B
call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E
waitmovement 0 waitmovement 0
compare_var_to_value VAR_0x400F, 3 compare VAR_0x400F, 3
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BD82 goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BD82
compare_var_to_value VAR_0x400E, 0 compare VAR_0x400E, 0
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C1CB goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C1CB
BattleFrontier_BattleDomeBattleRoom_EventScript_24BD82:: @ 824BD82 BattleFrontier_BattleDomeBattleRoom_EventScript_24BD82:: @ 824BD82
@@ -106,7 +106,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BDF7:: @ 824BDF7
delay 180 delay 180
applymovement 9, BattleFrontier_BattleDomeBattleRoom_Movement_24C96B applymovement 9, BattleFrontier_BattleDomeBattleRoom_Movement_24C96B
waitmovement 0 waitmovement 0
compare_var_to_value VAR_0x4002, 2 compare VAR_0x4002, 2
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BE4F goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BE4F
setvar VAR_0x8004, 19 setvar VAR_0x8004, 19
special sub_818E9AC special sub_818E9AC
@@ -118,11 +118,11 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BE4F:: @ 824BE4F
waitmovement 0 waitmovement 0
setvar VAR_0x8004, 4 setvar VAR_0x8004, 4
special sub_818E9AC special sub_818E9AC
compare_var_to_value VAR_0x4002, 0 compare VAR_0x4002, 0
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BEB1 call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BEB1
compare_var_to_value VAR_0x4002, 1 compare VAR_0x4002, 1
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BEC5 call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BEC5
compare_var_to_value VAR_0x4002, 2 compare VAR_0x4002, 2
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BED9 call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BED9
playse SE_W227B playse SE_W227B
call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E
@@ -165,9 +165,9 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BED9:: @ 824BED9
BattleFrontier_BattleDomeBattleRoom_EventScript_24BEE0:: @ 824BEE0 BattleFrontier_BattleDomeBattleRoom_EventScript_24BEE0:: @ 824BEE0
applymovement 1, BattleFrontier_BattleDomeBattleRoom_Movement_2725B4 applymovement 1, BattleFrontier_BattleDomeBattleRoom_Movement_2725B4
waitmovement 0 waitmovement 0
compare_var_to_value VAR_0x4002, 0 compare VAR_0x4002, 0
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BFC3 call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BFC3
compare_var_to_value VAR_0x4002, 1 compare VAR_0x4002, 1
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BFCC call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BFCC
playse SE_W227B playse SE_W227B
call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E
@@ -228,17 +228,17 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BFD5:: @ 824BFD5
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 6 setvar VAR_0x8005, 6
special sub_818E9AC special sub_818E9AC
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C023 goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C023
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special sub_818E9AC special sub_818E9AC
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C076 goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C076
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_818E9AC special sub_818E9AC
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C16A goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C16A
goto BattleFrontier_BattleDomeBattleRoom_EventScript_24C0C9 goto BattleFrontier_BattleDomeBattleRoom_EventScript_24C0C9
return return
@@ -302,7 +302,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C0C2:: @ 824C0C2
return return
BattleFrontier_BattleDomeBattleRoom_EventScript_24C0C9:: @ 824C0C9 BattleFrontier_BattleDomeBattleRoom_EventScript_24C0C9:: @ 824C0C9
compare_var_to_value VAR_0x400F, 3 compare VAR_0x400F, 3
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C105 goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C105
switch VAR_0x400E switch VAR_0x400E
case 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C158 case 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C158
@@ -429,7 +429,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C211:: @ 824C211
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C2B9 goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C2B9
msgbox BattleFrontier_BattleDomeBattleRoom_Text_24CFAE, 4 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24CFAE, 4
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
@@ -449,7 +449,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C2B9:: @ 824C2B9
special sub_818E9AC special sub_818E9AC
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62 goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62
closemessage closemessage
applymovement 15, BattleFrontier_BattleDomeBattleRoom_Movement_24C82B applymovement 15, BattleFrontier_BattleDomeBattleRoom_Movement_24C82B
@@ -468,7 +468,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C346:: @ 824C346
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C373 goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C373
msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D319, 4 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D319, 4
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
@@ -488,7 +488,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C373:: @ 824C373
special sub_818E9AC special sub_818E9AC
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62 goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62
closemessage closemessage
applymovement 15, BattleFrontier_BattleDomeBattleRoom_Movement_24C82B applymovement 15, BattleFrontier_BattleDomeBattleRoom_Movement_24C82B
@@ -555,12 +555,12 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C48B:: @ 824C48B
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 3 compare VAR_RESULT, 3
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C4EF goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C4EF
setvar VAR_0x8004, 9 setvar VAR_0x8004, 9
special sub_81A1780 special sub_81A1780
copyvar VAR_0x400E, VAR_RESULT copyvar VAR_0x400E, VAR_RESULT
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C4EF goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C4EF
call BattleFrontier_BattleDomeBattleRoom_EventScript_242170 call BattleFrontier_BattleDomeBattleRoom_EventScript_242170
setobjectxyperm 15, 13, 9 setobjectxyperm 15, 13, 9
@@ -572,7 +572,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C4EF:: @ 824C4EF
end end
BattleFrontier_BattleDomeBattleRoom_MapScript1_24C4F0: @ 824C4F0 BattleFrontier_BattleDomeBattleRoom_MapScript1_24C4F0: @ 824C4F0
compare_var_to_value VAR_0x4009, 1 compare VAR_0x4009, 1
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C4FC call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C4FC
end end
@@ -581,13 +581,13 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C4FC:: @ 824C4FC
return return
BattleFrontier_BattleDomeBattleRoom_EventScript_24C502:: @ 824C502 BattleFrontier_BattleDomeBattleRoom_EventScript_24C502:: @ 824C502
compare_var_to_value VAR_0x400F, 0 compare VAR_0x400F, 0
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C52F call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C52F
compare_var_to_value VAR_0x400F, 1 compare VAR_0x400F, 1
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C530 call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C530
compare_var_to_value VAR_0x400F, 2 compare VAR_0x400F, 2
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C594 call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C594
compare_var_to_value VAR_0x400F, 3 compare VAR_0x400F, 3
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C652 call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C652
return return
@@ -951,7 +951,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E:: @ 824C82E
BattleFrontier_BattleDomeBattleRoom_EventScript_24C8F5:: @ 824C8F5 BattleFrontier_BattleDomeBattleRoom_EventScript_24C8F5:: @ 824C8F5
BattleFrontier_BattleDomePreBattleRoom_EventScript_24C8F5:: @ 824C8F5 BattleFrontier_BattleDomePreBattleRoom_EventScript_24C8F5:: @ 824C8F5
copyvar VAR_RESULT, VAR_0x40CE copyvar VAR_RESULT, VAR_0x40CE
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24C90F goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24C90F
warp BATTLE_FRONTIER_BATTLE_DOME_LOBBY, 255, 5, 11 warp BATTLE_FRONTIER_BATTLE_DOME_LOBBY, 255, 5, 11
waitstate waitstate
@@ -965,14 +965,14 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24C90F:: @ 824C90F
BattleFrontier_BattleDomeBattleRoom_EventScript_24C919:: @ 824C919 BattleFrontier_BattleDomeBattleRoom_EventScript_24C919:: @ 824C919
random 2 random 2
copyvar VAR_0x400D, VAR_RESULT copyvar VAR_0x400D, VAR_RESULT
compare_var_to_value VAR_0x400D, 0 compare VAR_0x400D, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_27374E goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_27374E
setobjectxyperm 6, 2, 0 setobjectxyperm 6, 2, 0
setobjectmovementtype 6, 10 setobjectmovementtype 6, 10
return return
BattleFrontier_BattleDomeBattleRoom_EventScript_24C938:: @ 824C938 BattleFrontier_BattleDomeBattleRoom_EventScript_24C938:: @ 824C938
compare_var_to_value VAR_0x400D, 0 compare VAR_0x400D, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_27374E goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_27374E
applymovement 6, BattleFrontier_BattleDomeBattleRoom_Movement_24C95E applymovement 6, BattleFrontier_BattleDomeBattleRoom_Movement_24C95E
return return
@@ -12,7 +12,7 @@ BattleFrontier_BattleDomeCorridor_EventScript_24B10E:: @ 824B10E
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomeCorridor_EventScript_24B161 goto_eq BattleFrontier_BattleDomeCorridor_EventScript_24B161
applymovement 1, BattleFrontier_BattleDomeCorridor_Movement_24B1B2 applymovement 1, BattleFrontier_BattleDomeCorridor_Movement_24B1B2
applymovement 255, BattleFrontier_BattleDomeCorridor_Movement_24B1A1 applymovement 255, BattleFrontier_BattleDomeCorridor_Movement_24B1A1
@@ -61,7 +61,7 @@ BattleFrontier_BattleDomeLobby_EventScript_24989B:: @ 824989B
lockall lockall
setvar VAR_0x8004, 10 setvar VAR_0x8004, 10
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomeLobby_EventScript_2498C1 goto_eq BattleFrontier_BattleDomeLobby_EventScript_2498C1
msgbox BattleFrontier_BattleDomeLobby_Text_24A4E9, 4 msgbox BattleFrontier_BattleDomeLobby_Text_24A4E9, 4
goto BattleFrontier_BattleDomeLobby_EventScript_2498C9 goto BattleFrontier_BattleDomeLobby_EventScript_2498C9
@@ -127,7 +127,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249991:: @ 8249991
playse SE_SAVE playse SE_SAVE
waitse waitse
call BattleFrontier_BattleDomeLobby_EventScript_23E8E0 call BattleFrontier_BattleDomeLobby_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomeLobby_EventScript_2499E9 goto_eq BattleFrontier_BattleDomeLobby_EventScript_2499E9
message BattleFrontier_BattleDomeLobby_Text_24AE17 message BattleFrontier_BattleDomeLobby_Text_24AE17
waitmessage waitmessage
@@ -182,15 +182,15 @@ BattleFrontier_BattleDomeLobby_EventScript_249A47:: @ 8249A47
BattleFrontier_BattleDomeLobby_EventScript_249A59:: @ 8249A59 BattleFrontier_BattleDomeLobby_EventScript_249A59:: @ 8249A59
special copy_player_party_to_sav1 special copy_player_party_to_sav1
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249CFD call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249CFD
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D06 call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D06
BattleFrontier_BattleDomeLobby_EventScript_249A72:: @ 8249A72 BattleFrontier_BattleDomeLobby_EventScript_249A72:: @ 8249A72
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D0F call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D0F
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D15 call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D15
waitmessage waitmessage
multichoice 17, 6, 23, 0 multichoice 17, 6, 23, 0
@@ -209,7 +209,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249ABF:: @ 8249ABF
case 127, BattleFrontier_BattleDomeLobby_EventScript_249C64 case 127, BattleFrontier_BattleDomeLobby_EventScript_249C64
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleDomeLobby_EventScript_249C15 goto_eq BattleFrontier_BattleDomeLobby_EventScript_249C15
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
@@ -222,7 +222,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249ABF:: @ 8249ABF
setvar VAR_0x8005, 3 setvar VAR_0x8005, 3
special sub_80F9490 special sub_80F9490
waitstate waitstate
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeLobby_EventScript_249C61 goto_eq BattleFrontier_BattleDomeLobby_EventScript_249C61
msgbox BattleFrontier_BattleDomeLobby_Text_24A1C6, 5 msgbox BattleFrontier_BattleDomeLobby_Text_24A1C6, 5
switch VAR_RESULT switch VAR_RESULT
@@ -250,7 +250,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249B60:: @ 8249B60
delay 2 delay 2
call BattleFrontier_BattleDomeLobby_EventScript_27134F call BattleFrontier_BattleDomeLobby_EventScript_27134F
setvar VAR_0x4000, 255 setvar VAR_0x4000, 255
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeLobby_EventScript_249C4A goto_eq BattleFrontier_BattleDomeLobby_EventScript_249C4A
setvar VAR_0x8004, 22 setvar VAR_0x8004, 22
special sub_818E9AC special sub_818E9AC
@@ -272,9 +272,9 @@ BattleFrontier_BattleDomeLobby_EventScript_249BC2:: @ 8249BC2
end end
BattleFrontier_BattleDomeLobby_EventScript_249BFA:: @ 8249BFA BattleFrontier_BattleDomeLobby_EventScript_249BFA:: @ 8249BFA
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D1B call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D1B
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D24 call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D24
goto BattleFrontier_BattleDomeLobby_EventScript_249A72 goto BattleFrontier_BattleDomeLobby_EventScript_249A72
@@ -309,26 +309,26 @@ BattleFrontier_BattleDomeLobby_EventScript_249C6C:: @ 8249C6C
end end
BattleFrontier_BattleDomeLobby_EventScript_249C6E:: @ 8249C6E BattleFrontier_BattleDomeLobby_EventScript_249C6E:: @ 8249C6E
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249CDD call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249CDD
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249CE5 call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249CE5
applymovement 255, BattleFrontier_BattleDomeLobby_Movement_249D45 applymovement 255, BattleFrontier_BattleDomeLobby_Movement_249D45
waitmovement 0 waitmovement 0
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D2D call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D2D
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D33 call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D33
waitdooranim waitdooranim
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249CED call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249CED
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249CF5 call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249CF5
applymovement 255, BattleFrontier_BattleDomeLobby_Movement_249D4E applymovement 255, BattleFrontier_BattleDomeLobby_Movement_249D4E
waitmovement 0 waitmovement 0
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D39 call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D39
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D3F call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D3F
waitdooranim waitdooranim
return return
@@ -434,13 +434,13 @@ BattleFrontier_BattleDomeLobby_EventScript_249D84:: @ 8249D84
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 9 setvar VAR_0x8005, 9
special sub_818E9AC special sub_818E9AC
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249DC9 call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249DC9
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249DD2 call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249DD2
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249DDB call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249DDB
compare_var_to_value VAR_RESULT, 3 compare VAR_RESULT, 3
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249DE4 call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249DE4
fadescreen 1 fadescreen 1
setvar VAR_0x8004, 8 setvar VAR_0x8004, 8
@@ -17,7 +17,7 @@ BattleFrontier_BattleDomePreBattleRoom_MapScript2_24B218: @ 824B218
.2byte 0 .2byte 0
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B222:: @ 824B222 BattleFrontier_BattleDomePreBattleRoom_EventScript_24B222:: @ 824B222
compare_var_to_value VAR_0x8006, 1 compare VAR_0x8006, 1
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5C7 goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5C7
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 6 setvar VAR_0x8005, 6
@@ -33,7 +33,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F:: @ 824B24F
waitmessage waitmessage
switch VAR_RESULT switch VAR_RESULT
call BattleFrontier_BattleDomePreBattleRoom_EventScript_23E8E0 call BattleFrontier_BattleDomePreBattleRoom_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B2C1 goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B2C1
multichoice 16, 0, 73, 1 multichoice 16, 0, 73, 1
switch VAR_RESULT switch VAR_RESULT
@@ -158,7 +158,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B46D:: @ 824B46D
waitstate waitstate
setvar VAR_0x8004, 21 setvar VAR_0x8004, 21
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 8 setvar VAR_0x8005, 8
@@ -8,14 +8,14 @@ BattleFrontier_BattleFactoryBattleRoom_MapScript1_25ADBB: @ 825ADBB
setvar VAR_0x8004, 5 setvar VAR_0x8004, 5
special sub_81A1780 special sub_81A1780
checkplayergender checkplayergender
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE25 call_if 1, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE25
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE2B call_if 1, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE2B
setvar VAR_0x8004, 9 setvar VAR_0x8004, 9
special sub_81A1780 special sub_81A1780
copyvar VAR_0x400F, VAR_RESULT copyvar VAR_0x400F, VAR_RESULT
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25ADF3 goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25ADF3
end end
@@ -31,7 +31,7 @@ BattleFrontier_BattleFactoryBattleRoom_MapScript2_25AE00: @ 825AE00
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE0A:: @ 825AE0A BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE0A:: @ 825AE0A
setvar VAR_0x4001, 1 setvar VAR_0x4001, 1
hideobjectat 255, BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM hideobjectat 255, BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM
compare_var_to_value VAR_0x400F, 0 compare VAR_0x400F, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE24 goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE24
hideobjectat 2, BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM hideobjectat 2, BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM
@@ -62,7 +62,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE3B:: @ 825AE3B
end end
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE67:: @ 825AE67 BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE67:: @ 825AE67
compare_var_to_value VAR_0x400F, 0 compare VAR_0x400F, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE3B goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE3B
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B
applymovement 255, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B applymovement 255, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B
@@ -77,7 +77,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE67:: @ 825AE67
waitmovement 0 waitmovement 0
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEA7:: @ 825AEA7 BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEA7:: @ 825AEA7
compare_var_to_value VAR_0x400F, 0 compare VAR_0x400F, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF9C goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF9C
setvar VAR_0x8004, 5 setvar VAR_0x8004, 5
special sub_8195960 special sub_8195960
@@ -110,7 +110,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF0F:: @ 825AF0F
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 3 setvar VAR_0x8005, 3
special sub_81A5E74 special sub_81A5E74
compare_var_to_value VAR_RESULT, 9999 compare VAR_RESULT, 9999
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF3E goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF3E
addvar VAR_RESULT, 1 addvar VAR_RESULT, 1
setorcopyvar VAR_0x8006, VAR_RESULT setorcopyvar VAR_0x8006, VAR_RESULT
@@ -151,7 +151,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF9C:: @ 825AF9C
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AFEF goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AFEF
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B1FB, 4 msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B1FB, 4
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
@@ -161,14 +161,14 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF9C:: @ 825AF9C
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AFEF:: @ 825AFEF BattleFrontier_BattleFactoryBattleRoom_EventScript_25AFEF:: @ 825AFEF
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B3F1, 4 msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B3F1, 4
call BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0 call BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B00C goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B00C
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEF8 goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEF8
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B00C:: @ 825B00C BattleFrontier_BattleFactoryBattleRoom_EventScript_25B00C:: @ 825B00C
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105 goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B42D, 4 msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B42D, 4
closemessage closemessage
@@ -187,7 +187,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B051:: @ 825B051
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25B07E goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25B07E
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B517, 4 msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B517, 4
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
@@ -197,14 +197,14 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B051:: @ 825B051
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B07E:: @ 825B07E BattleFrontier_BattleFactoryBattleRoom_EventScript_25B07E:: @ 825B07E
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B5CF, 4 msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B5CF, 4
call BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0 call BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B09B goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B09B
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEF8 goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEF8
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B09B:: @ 825B09B BattleFrontier_BattleFactoryBattleRoom_EventScript_25B09B:: @ 825B09B
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105 goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B5E7, 4 msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B5E7, 4
waitmessage waitmessage
@@ -236,7 +236,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105:: @ 825B105
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 3 setvar VAR_0x8005, 3
special sub_81A5E74 special sub_81A5E74
compare_var_to_value VAR_RESULT, 9999 compare VAR_RESULT, 9999
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF3E goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF3E
addvar VAR_RESULT, 1 addvar VAR_RESULT, 1
setorcopyvar VAR_0x8006, VAR_RESULT setorcopyvar VAR_0x8006, VAR_RESULT
@@ -246,7 +246,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105:: @ 825B105
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_81A5E74 special sub_81A5E74
compare_var_to_value VAR_RESULT, 9999 compare VAR_RESULT, 9999
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF43 goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF43
addvar VAR_RESULT, 1 addvar VAR_RESULT, 1
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
@@ -292,7 +292,7 @@ BattleFrontier_BattleFactoryBattleRoom_Movement_25B18B: @ 825B18B
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B190:: @ 825B190 BattleFrontier_BattleFactoryBattleRoom_EventScript_25B190:: @ 825B190
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25B190:: @ 825B190 BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25B190:: @ 825B190
copyvar VAR_RESULT, VAR_0x40CE copyvar VAR_RESULT, VAR_0x40CE
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25B1AA goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25B1AA
warp BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY, 255, 4, 8 warp BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY, 255, 4, 8
waitstate waitstate
@@ -55,7 +55,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_25849B:: @ 825849B
lockall lockall
setvar VAR_0x8004, 10 setvar VAR_0x8004, 10
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryLobby_EventScript_2584BD goto_eq BattleFrontier_BattleFactoryLobby_EventScript_2584BD
msgbox BattleFrontier_BattleFactoryLobby_Text_258D93, 4 msgbox BattleFrontier_BattleFactoryLobby_Text_258D93, 4
waitmessage waitmessage
@@ -102,7 +102,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_258506:: @ 8258506
BattleFrontier_BattleFactoryLobby_EventScript_25853B:: @ 825853B BattleFrontier_BattleFactoryLobby_EventScript_25853B:: @ 825853B
call BattleFrontier_BattleFactoryLobby_EventScript_23E8E0 call BattleFrontier_BattleFactoryLobby_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryLobby_EventScript_258582 goto_eq BattleFrontier_BattleFactoryLobby_EventScript_258582
message BattleFrontier_BattleFactoryLobby_Text_259388 message BattleFrontier_BattleFactoryLobby_Text_259388
waitmessage waitmessage
@@ -155,15 +155,15 @@ BattleFrontier_BattleFactoryLobby_EventScript_2585DD:: @ 82585DD
BattleFrontier_BattleFactoryLobby_EventScript_2585ED:: @ 82585ED BattleFrontier_BattleFactoryLobby_EventScript_2585ED:: @ 82585ED
special copy_player_party_to_sav1 special copy_player_party_to_sav1
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587B1 call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587B1
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587BA call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587BA
BattleFrontier_BattleFactoryLobby_EventScript_258606:: @ 8258606 BattleFrontier_BattleFactoryLobby_EventScript_258606:: @ 8258606
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587C3 call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587C3
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587C9 call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587C9
waitmessage waitmessage
multichoice 17, 6, 23, 0 multichoice 17, 6, 23, 0
@@ -210,7 +210,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_2586B9:: @ 82586B9
delay 2 delay 2
call BattleFrontier_BattleFactoryLobby_EventScript_27134F call BattleFrontier_BattleFactoryLobby_EventScript_27134F
setvar VAR_0x4000, 255 setvar VAR_0x4000, 255
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleFactoryLobby_EventScript_258783 goto_eq BattleFrontier_BattleFactoryLobby_EventScript_258783
setvar VAR_0x8006, 0 setvar VAR_0x8006, 0
@@ -218,9 +218,9 @@ BattleFrontier_BattleFactoryLobby_EventScript_25871A:: @ 825871A
special copy_player_party_to_sav1 special copy_player_party_to_sav1
msgbox BattleFrontier_BattleFactoryLobby_Text_258CB1, 4 msgbox BattleFrontier_BattleFactoryLobby_Text_258CB1, 4
closemessage closemessage
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_25875C call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_25875C
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_258762 call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_258762
applymovement VAR_LAST_TALKED, BattleFrontier_BattleFactoryLobby_Movement_2587A7 applymovement VAR_LAST_TALKED, BattleFrontier_BattleFactoryLobby_Movement_2587A7
applymovement 255, BattleFrontier_BattleFactoryLobby_Movement_2587AC applymovement 255, BattleFrontier_BattleFactoryLobby_Movement_2587AC
@@ -239,9 +239,9 @@ BattleFrontier_BattleFactoryLobby_EventScript_258762:: @ 8258762
return return
BattleFrontier_BattleFactoryLobby_EventScript_258768:: @ 8258768 BattleFrontier_BattleFactoryLobby_EventScript_258768:: @ 8258768
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587CF call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587CF
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587D8 call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587D8
goto BattleFrontier_BattleFactoryLobby_EventScript_258606 goto BattleFrontier_BattleFactoryLobby_EventScript_258606
@@ -9,7 +9,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_MapScript2_259AC5: @ 8259AC5
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259ACF:: @ 8259ACF BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259ACF:: @ 8259ACF
setvar VAR_0x4001, 1 setvar VAR_0x4001, 1
compare_var_to_value VAR_0x8006, 1 compare VAR_0x8006, 1
goto_if 5, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259AEA goto_if 5, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259AEA
setobjectxy 1, 8, 7 setobjectxy 1, 8, 7
turnobject 1, 1 turnobject 1, 1
@@ -23,13 +23,13 @@ BattleFrontier_BattleFactoryPreBattleRoom_MapScript2_259AEF: @ 8259AEF
.2byte 0 .2byte 0
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259AF9:: @ 8259AF9 BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259AF9:: @ 8259AF9
compare_var_to_value VAR_0x8006, 1 compare VAR_0x8006, 1
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259BA5 goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259BA5
setvar VAR_0x4000, 1 setvar VAR_0x4000, 1
applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1AC applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1AC
applymovement 255, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A19A applymovement 255, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A19A
waitmovement 0 waitmovement 0
compare_var_to_value VAR_0x8006, 2 compare VAR_0x8006, 2
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E69 goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E69
setvar VAR_0x8004, 13 setvar VAR_0x8004, 13
special sub_81A5E74 special sub_81A5E74
@@ -55,9 +55,9 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74:: @ 8259B74
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB96, 4 msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB96, 4
closemessage closemessage
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23F2B7 call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23F2B7
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A17C call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A17C
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A18B call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A18B
waitmovement 0 waitmovement 0
warp BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM, 255, 6, 11 warp BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM, 255, 6, 11
@@ -75,7 +75,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259BA5:: @ 8259BA5
special sp000_heal_pokemon special sp000_heal_pokemon
setvar VAR_0x8004, 9 setvar VAR_0x8004, 9
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C26 goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C26
playse 263 playse 263
waitse waitse
@@ -96,27 +96,27 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259BA5:: @ 8259BA5
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13:: @ 8259C13 BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13:: @ 8259C13
setvar VAR_0x8004, 9 setvar VAR_0x8004, 9
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9 goto_if 5, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C26:: @ 8259C26 BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C26:: @ 8259C26
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E1D call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E1D
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E24 call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E24
compare_var_to_value VAR_RESULT, 3 compare VAR_RESULT, 3
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E2B call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E2B
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E32 call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E32
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E39 call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E39
compare_var_to_value VAR_RESULT, 6 compare VAR_RESULT, 6
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E40 call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E40
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23E8E0 call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259CC6 goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259CC6
multichoice 19, 4, 103, 1 multichoice 19, 4, 103, 1
switch VAR_RESULT switch VAR_RESULT
@@ -185,7 +185,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259DF2:: @ 8259DF2
setvar VAR_0x8004, 7 setvar VAR_0x8004, 7
special sub_81A5E74 special sub_81A5E74
waitstate waitstate
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74 goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
setvar VAR_0x8004, 8 setvar VAR_0x8004, 8
special sub_81A5E74 special sub_81A5E74
@@ -249,41 +249,41 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E69:: @ 8259E69
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E93:: @ 8259E93 BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E93:: @ 8259E93
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A3B4, 4 msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A3B4, 4
compare_var_to_value VAR_0x8005, 0 compare VAR_0x8005, 0
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F62 call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F62
compare_var_to_value VAR_0x8005, 1 compare VAR_0x8005, 1
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F6B call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F6B
compare_var_to_value VAR_0x8005, 2 compare VAR_0x8005, 2
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F74 call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F74
compare_var_to_value VAR_0x8005, 3 compare VAR_0x8005, 3
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F7D call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F7D
compare_var_to_value VAR_0x8005, 4 compare VAR_0x8005, 4
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F86 call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F86
compare_var_to_value VAR_0x8005, 5 compare VAR_0x8005, 5
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F8F call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F8F
compare_var_to_value VAR_0x8005, 6 compare VAR_0x8005, 6
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F98 call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F98
compare_var_to_value VAR_0x8005, 7 compare VAR_0x8005, 7
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FA1 call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FA1
compare_var_to_value VAR_0x8005, 8 compare VAR_0x8005, 8
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FAA call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FAA
compare_var_to_value VAR_0x8005, 10 compare VAR_0x8005, 10
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FB3 call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FB3
compare_var_to_value VAR_0x8005, 11 compare VAR_0x8005, 11
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FBC call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FBC
compare_var_to_value VAR_0x8005, 12 compare VAR_0x8005, 12
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FC5 call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FC5
compare_var_to_value VAR_0x8005, 13 compare VAR_0x8005, 13
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FCE call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FCE
compare_var_to_value VAR_0x8005, 14 compare VAR_0x8005, 14
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FD7 call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FD7
compare_var_to_value VAR_0x8005, 15 compare VAR_0x8005, 15
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FE0 call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FE0
compare_var_to_value VAR_0x8005, 16 compare VAR_0x8005, 16
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FE9 call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FE9
compare_var_to_value VAR_0x8005, 17 compare VAR_0x8005, 17
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FF2 call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FF2
compare_var_to_value VAR_0x8005, 18 compare VAR_0x8005, 18
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FFB call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FFB
return return
@@ -360,23 +360,23 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FFB:: @ 8259FFB
return return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A004:: @ 825A004 BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A004:: @ 825A004
compare_var_to_value VAR_0x8006, 0 compare VAR_0x8006, 0
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A068 call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A068
compare_var_to_value VAR_0x8006, 1 compare VAR_0x8006, 1
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A071 call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A071
compare_var_to_value VAR_0x8006, 2 compare VAR_0x8006, 2
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A07A call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A07A
compare_var_to_value VAR_0x8006, 3 compare VAR_0x8006, 3
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A083 call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A083
compare_var_to_value VAR_0x8006, 4 compare VAR_0x8006, 4
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A08C call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A08C
compare_var_to_value VAR_0x8006, 5 compare VAR_0x8006, 5
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A095 call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A095
compare_var_to_value VAR_0x8006, 6 compare VAR_0x8006, 6
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A09E call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A09E
compare_var_to_value VAR_0x8006, 7 compare VAR_0x8006, 7
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0A7 call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0A7
compare_var_to_value VAR_0x8006, 8 compare VAR_0x8006, 8
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B0 call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B0
return return
@@ -420,7 +420,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9:: @ 825A0B9
message BattleFrontier_BattleFactoryPreBattleRoom_Text_25AD20 message BattleFrontier_BattleFactoryPreBattleRoom_Text_25AD20
waitmessage waitmessage
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23E8E0 call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A110 goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A110
multichoice 19, 4, 103, 1 multichoice 19, 4, 103, 1
switch VAR_RESULT switch VAR_RESULT
@@ -12,9 +12,9 @@ BattleFrontier_BattlePalaceBattleRoom_MapScript1_24F825: @ 824F825
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F833:: @ 824F833 BattleFrontier_BattlePalaceBattleRoom_EventScript_24F833:: @ 824F833
checkplayergender checkplayergender
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F84B goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F84B
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F856 goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F856
return return
@@ -37,7 +37,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24F86B:: @ 824F86B
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8B5 goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8B5
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE9B applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE9B
waitmovement 0 waitmovement 0
@@ -106,25 +106,25 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A:: @ 824F98A
setvar VAR_0x8004, 9 setvar VAR_0x8004, 9
special sub_81A1780 special sub_81A1780
copyvar VAR_0x400F, VAR_RESULT copyvar VAR_0x400F, VAR_RESULT
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB61 goto_if 5, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB61
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE66 call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE66
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE6D call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE6D
compare_var_to_value VAR_RESULT, 3 compare VAR_RESULT, 3
call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE74 call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE74
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE7B call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE7B
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE82 call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE82
compare_var_to_value VAR_RESULT, 6 compare VAR_RESULT, 6
call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE89 call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE89
call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0 call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA42 goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA42
multichoice 19, 4, 103, 1 multichoice 19, 4, 103, 1
switch VAR_RESULT switch VAR_RESULT
@@ -198,7 +198,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB3F:: @ 824FB3F
end end
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB61:: @ 824FB61 BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB61:: @ 824FB61
compare_var_to_value VAR_0x4002, 1 compare VAR_0x4002, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB79 goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB79
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2500DD, 4 msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2500DD, 4
setvar VAR_0x4002, 1 setvar VAR_0x4002, 1
@@ -207,7 +207,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB79:: @ 824FB79
message BattleFrontier_BattlePalaceBattleRoom_Text_25014A message BattleFrontier_BattlePalaceBattleRoom_Text_25014A
waitmessage waitmessage
call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0 call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FBD0 goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FBD0
multichoice 19, 4, 103, 1 multichoice 19, 4, 103, 1
switch VAR_RESULT switch VAR_RESULT
@@ -247,7 +247,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FC06:: @ 824FC06
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA goto_if 5, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2501C1, 4 msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2501C1, 4
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
@@ -257,7 +257,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FC06:: @ 824FC06
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA:: @ 824FCAA BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA:: @ 824FCAA
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2502C4, 4 msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2502C4, 4
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7 call BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7 goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA
@@ -266,7 +266,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7:: @ 824FCC7
special sub_8195960 special sub_8195960
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28 goto_if 5, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2502FF, 4 msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2502FF, 4
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99 applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99
@@ -290,7 +290,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD3A:: @ 824FD3A
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67 goto_if 5, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250485, 4 msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250485, 4
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
@@ -300,7 +300,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD3A:: @ 824FD3A
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67:: @ 824FD67 BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67:: @ 824FD67
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250572, 4 msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250572, 4
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7 call BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84 goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA
@@ -309,7 +309,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84:: @ 824FD84
special sub_8195960 special sub_8195960
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28 goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_25057E, 4 msgbox BattleFrontier_BattlePalaceBattleRoom_Text_25057E, 4
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99 applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99
@@ -460,7 +460,7 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_24FEB6: @ 824FEB6
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FEBB:: @ 824FEBB BattleFrontier_BattlePalaceBattleRoom_EventScript_24FEBB:: @ 824FEBB
copyvar VAR_RESULT, VAR_0x40CE copyvar VAR_RESULT, VAR_0x40CE
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FED5 goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FED5
warp BATTLE_FRONTIER_BATTLE_PALACE_LOBBY, 255, 5, 7 warp BATTLE_FRONTIER_BATTLE_PALACE_LOBBY, 255, 5, 7
waitstate waitstate
@@ -14,21 +14,21 @@ BattleFrontier_BattlePalaceCorridor_EventScript_24F4B3:: @ 824F4B3
lockall lockall
setvar VAR_0x8004, 3 setvar VAR_0x8004, 3
special sub_8195960 special sub_8195960
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattlePalaceCorridor_EventScript_24F58B call_if 1, BattleFrontier_BattlePalaceCorridor_EventScript_24F58B
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattlePalaceCorridor_EventScript_24F594 call_if 1, BattleFrontier_BattlePalaceCorridor_EventScript_24F594
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
call_if 1, BattleFrontier_BattlePalaceCorridor_EventScript_24F59D call_if 1, BattleFrontier_BattlePalaceCorridor_EventScript_24F59D
compare_var_to_value VAR_RESULT, 3 compare VAR_RESULT, 3
call_if 1, BattleFrontier_BattlePalaceCorridor_EventScript_24F5A6 call_if 1, BattleFrontier_BattlePalaceCorridor_EventScript_24F5A6
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
call_if 1, BattleFrontier_BattlePalaceCorridor_EventScript_24F5AF call_if 1, BattleFrontier_BattlePalaceCorridor_EventScript_24F5AF
closemessage closemessage
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F553 goto_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F553
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5BD applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5BD
applymovement 255, BattleFrontier_BattlePalaceCorridor_Movement_24F5C4 applymovement 255, BattleFrontier_BattlePalaceCorridor_Movement_24F5C4
@@ -49,7 +49,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D817:: @ 824D817
lockall lockall
setvar VAR_0x8004, 10 setvar VAR_0x8004, 10
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24D838 goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24D838
msgbox BattleFrontier_BattlePalaceLobby_Text_24E497, 4 msgbox BattleFrontier_BattlePalaceLobby_Text_24E497, 4
goto BattleFrontier_BattlePalaceLobby_EventScript_24D840 goto BattleFrontier_BattlePalaceLobby_EventScript_24D840
@@ -97,7 +97,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D8A1:: @ 824D8A1
playse SE_SAVE playse SE_SAVE
waitse waitse
call BattleFrontier_BattlePalaceLobby_EventScript_23E8E0 call BattleFrontier_BattlePalaceLobby_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24D907 goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24D907
message BattleFrontier_BattlePalaceLobby_Text_24EF16 message BattleFrontier_BattlePalaceLobby_Text_24EF16
waitmessage waitmessage
@@ -150,18 +150,18 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D968:: @ 824D968
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 0 setvar VAR_0x8005, 0
special sub_8195960 special sub_8195960
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePalaceLobby_EventScript_24D817 goto_if 5, BattleFrontier_BattlePalaceLobby_EventScript_24D817
special copy_player_party_to_sav1 special copy_player_party_to_sav1
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DB9E call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DB9E
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DBA7 call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DBA7
BattleFrontier_BattlePalaceLobby_EventScript_24D999:: @ 824D999 BattleFrontier_BattlePalaceLobby_EventScript_24D999:: @ 824D999
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DBB0 call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DBB0
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DBB6 call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DBB6
waitmessage waitmessage
multichoice 17, 6, 23, 0 multichoice 17, 6, 23, 0
@@ -180,7 +180,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D9E6:: @ 824D9E6
case 127, BattleFrontier_BattlePalaceLobby_EventScript_24DB94 case 127, BattleFrontier_BattlePalaceLobby_EventScript_24DB94
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB45 goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB45
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
@@ -193,7 +193,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D9E6:: @ 824D9E6
setvar VAR_0x8005, 3 setvar VAR_0x8005, 3
special sub_80F9490 special sub_80F9490
waitstate waitstate
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB91 goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB91
msgbox BattleFrontier_BattlePalaceLobby_Text_24E3C8, 5 msgbox BattleFrontier_BattlePalaceLobby_Text_24E3C8, 5
switch VAR_RESULT switch VAR_RESULT
@@ -225,7 +225,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DA87:: @ 824DA87
delay 2 delay 2
call BattleFrontier_BattlePalaceLobby_EventScript_27134F call BattleFrontier_BattlePalaceLobby_EventScript_27134F
setvar VAR_0x4000, 255 setvar VAR_0x4000, 255
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB7A goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB7A
BattleFrontier_BattlePalaceLobby_EventScript_24DAF3:: @ 824DAF3 BattleFrontier_BattlePalaceLobby_EventScript_24DAF3:: @ 824DAF3
@@ -242,7 +242,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DAF3:: @ 824DAF3
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DB20:: @ 824DB20 BattleFrontier_BattlePalaceLobby_EventScript_24DB20:: @ 824DB20
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB38 goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB38
msgbox BattleFrontier_BattlePalaceLobby_Text_24DE17, 4 msgbox BattleFrontier_BattlePalaceLobby_Text_24DE17, 4
goto BattleFrontier_BattlePalaceLobby_EventScript_24D999 goto BattleFrontier_BattlePalaceLobby_EventScript_24D999
@@ -298,24 +298,24 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DBB6:: @ 824DBB6
return return
BattleFrontier_BattlePalaceLobby_EventScript_24DBBC:: @ 824DBBC BattleFrontier_BattlePalaceLobby_EventScript_24DBBC:: @ 824DBBC
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC23 call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC23
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC29 call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC29
applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_24DC47 applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_24DC47
applymovement 255, BattleFrontier_BattlePalaceLobby_Movement_24DC47 applymovement 255, BattleFrontier_BattlePalaceLobby_Movement_24DC47
waitmovement 0 waitmovement 0
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC2F call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC2F
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC35 call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC35
waitdooranim waitdooranim
applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_24DC49 applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_24DC49
applymovement 255, BattleFrontier_BattlePalaceLobby_Movement_24DC4C applymovement 255, BattleFrontier_BattlePalaceLobby_Movement_24DC4C
waitmovement 0 waitmovement 0
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC3B call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC3B
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC41 call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC41
waitdooranim waitdooranim
return return
@@ -51,7 +51,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B762:: @ 825B762
lockall lockall
setvar VAR_0x8004, 10 setvar VAR_0x8004, 10
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePikeLobby_EventScript_25B784 goto_eq BattleFrontier_BattlePikeLobby_EventScript_25B784
msgbox BattleFrontier_BattlePikeLobby_Text_25C18A, 4 msgbox BattleFrontier_BattlePikeLobby_Text_25C18A, 4
waitmessage waitmessage
@@ -149,7 +149,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B8BB:: @ 825B8BB
case 127, BattleFrontier_BattlePikeLobby_EventScript_25BA76 case 127, BattleFrontier_BattlePikeLobby_EventScript_25BA76
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq BattleFrontier_BattlePikeLobby_EventScript_25BA27 goto_eq BattleFrontier_BattlePikeLobby_EventScript_25BA27
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
@@ -162,7 +162,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B8BB:: @ 825B8BB
setvar VAR_0x8005, 3 setvar VAR_0x8005, 3
special sub_80F9490 special sub_80F9490
waitstate waitstate
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePikeLobby_EventScript_25BA73 goto_eq BattleFrontier_BattlePikeLobby_EventScript_25BA73
msgbox BattleFrontier_BattlePikeLobby_Text_25C0D8, 5 msgbox BattleFrontier_BattlePikeLobby_Text_25C0D8, 5
switch VAR_RESULT switch VAR_RESULT
@@ -199,7 +199,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B95C:: @ 825B95C
setvar VAR_0x4000, 255 setvar VAR_0x4000, 255
setvar VAR_0x8004, 26 setvar VAR_0x8004, 26
special sub_81A703C special sub_81A703C
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePikeLobby_EventScript_25BA5C goto_eq BattleFrontier_BattlePikeLobby_EventScript_25BA5C
special copy_player_party_to_sav1 special copy_player_party_to_sav1
setvar VAR_0x8004, 3 setvar VAR_0x8004, 3
@@ -145,7 +145,7 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D2FB:: @ 825D2FB
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3BD goto_if 5, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3BD
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DED2, 4 msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DED2, 4
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
@@ -155,14 +155,14 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D2FB:: @ 825D2FB
BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3BD:: @ 825D3BD BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3BD:: @ 825D3BD
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DF71, 4 msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DF71, 4
call BattleFrontier_BattlePikeRandomRoom1_EventScript_25D77B call BattleFrontier_BattlePikeRandomRoom1_EventScript_25D77B
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3DA goto_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3DA
goto BattleFrontier_BattlePikeRandomRoom1_EventScript_25D20A goto BattleFrontier_BattlePikeRandomRoom1_EventScript_25D20A
BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3DA:: @ 825D3DA BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3DA:: @ 825D3DA
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D49D goto_if 5, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D49D
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DFA2, 4 msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DFA2, 4
waitmessage waitmessage
@@ -180,7 +180,7 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D416:: @ 825D416
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D443 goto_if 5, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D443
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E02C, 4 msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E02C, 4
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
@@ -190,14 +190,14 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D416:: @ 825D416
BattleFrontier_BattlePikeRandomRoom1_EventScript_25D443:: @ 825D443 BattleFrontier_BattlePikeRandomRoom1_EventScript_25D443:: @ 825D443
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E0E8, 4 msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E0E8, 4
call BattleFrontier_BattlePikeRandomRoom1_EventScript_25D77B call BattleFrontier_BattlePikeRandomRoom1_EventScript_25D77B
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D460 goto_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D460
goto BattleFrontier_BattlePikeRandomRoom1_EventScript_25D20A goto BattleFrontier_BattlePikeRandomRoom1_EventScript_25D20A
BattleFrontier_BattlePikeRandomRoom1_EventScript_25D460:: @ 825D460 BattleFrontier_BattlePikeRandomRoom1_EventScript_25D460:: @ 825D460
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D49D goto_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D49D
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E0F6, 4 msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E0F6, 4
waitmessage waitmessage
@@ -320,9 +320,9 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D605:: @ 825D605
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special sub_81A703C special sub_81A703C
copyvar VAR_0x8004, VAR_RESULT copyvar VAR_0x8004, VAR_RESULT
compare_var_to_value VAR_0x8004, 0 compare VAR_0x8004, 0
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D643 call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D643
compare_var_to_value VAR_0x8004, 1 compare VAR_0x8004, 1
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D6D5 call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D6D5
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DD3F, 4 msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DD3F, 4
closemessage closemessage
@@ -337,13 +337,13 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D643:: @ 825D643
waitmoncry waitmoncry
setvar VAR_0x8004, 11 setvar VAR_0x8004, 11
special sub_81A703C special sub_81A703C
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D751 call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D751
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D758 call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D758
compare_var_to_value VAR_RESULT, 3 compare VAR_RESULT, 3
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D75F call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D75F
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D766 call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D766
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special sub_81A703C special sub_81A703C
@@ -374,9 +374,9 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D6D5:: @ 825D6D5
waitmoncry waitmoncry
setvar VAR_0x8004, 11 setvar VAR_0x8004, 11
special sub_81A703C special sub_81A703C
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D76D call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D76D
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D774 call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D774
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special sub_81A703C special sub_81A703C
@@ -607,9 +607,9 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D831:: @ 825D831
BattleFrontier_BattlePikeRandomRoom1_EventScript_25D83E:: @ 825D83E BattleFrontier_BattlePikeRandomRoom1_EventScript_25D83E:: @ 825D83E
setvar VAR_0x8004, 13 setvar VAR_0x8004, 13
special sub_81A703C special sub_81A703C
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D881 call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D881
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D875 call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D875
playfanfare BGM_ME_ASA playfanfare BGM_ME_ASA
waitfanfare waitfanfare
@@ -38,9 +38,9 @@ BattleFrontier_BattlePikeRandomRoom3_MapScript1_25E47A: @ 825E47A
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 5 setvar VAR_0x8005, 5
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3 goto_eq BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3
compare_var_to_value VAR_RESULT, 3 compare VAR_RESULT, 3
goto_eq BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3 goto_eq BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3
end end
@@ -168,7 +168,7 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA5A:: @ 825CA5A
BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA78:: @ 825CA78 BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA78:: @ 825CA78
setvar VAR_0x8004, 17 setvar VAR_0x8004, 17
special sub_81A703C special sub_81A703C
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA91 goto_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA91
setvar VAR_0x4005, 255 setvar VAR_0x4005, 255
end end
@@ -191,7 +191,7 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA97:: @ 825CA97
BattleFrontier_BattlePikeThreePathRoom_EventScript_25CABB:: @ 825CABB BattleFrontier_BattlePikeThreePathRoom_EventScript_25CABB:: @ 825CABB
setvar VAR_0x8004, 19 setvar VAR_0x8004, 19
special sub_81A703C special sub_81A703C
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_25CBC2 goto_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_25CBC2
lock lock
faceplayer faceplayer
@@ -14,29 +14,29 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D:: @ 825F07D
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A:: @ 825F08A BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A:: @ 825F08A
specialvar VAR_0x4001, sub_813AA04 specialvar VAR_0x4001, sub_813AA04
compare_var_to_var VAR_0x4001, VAR_0x8008 compare VAR_0x4001, VAR_0x8008
goto_if 4, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0C9 goto_if 4, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0C9
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE86, 4 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE86, 4
compare_var_to_value VAR_0x4002, 0 compare VAR_0x4002, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
compare_var_to_value VAR_0x4002, 1 compare VAR_0x4002, 1
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
compare_var_to_value VAR_0x4002, 2 compare VAR_0x4002, 2
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
end end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0C9:: @ 825F0C9 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0C9:: @ 825F0C9
compare_var_to_value VAR_0x4002, 0 compare VAR_0x4002, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5
compare_var_to_value VAR_0x4002, 1 compare VAR_0x4002, 1
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F12A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F12A
end end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5:: @ 825F0E5 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5:: @ 825F0E5
checkdecorspace VAR_0x8009 checkdecorspace VAR_0x8009
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F11D goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F11D
copyvar VAR_0x8004, VAR_0x8008 copyvar VAR_0x8004, VAR_0x8008
special sub_813A9A4 special sub_813A9A4
@@ -44,7 +44,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5:: @ 825F0E5
special sub_813A8FC special sub_813A8FC
playse SE_REGI playse SE_REGI
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE45, 4 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE45, 4
compare_var_to_value VAR_0x4002, 0 compare VAR_0x4002, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
end end
@@ -57,7 +57,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F11D:: @ 825F11D
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F12A:: @ 825F12A BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F12A:: @ 825F12A
checkitemspace VAR_0x8009, 1 checkitemspace VAR_0x8009, 1
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F166 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F166
copyvar VAR_0x8004, VAR_0x8008 copyvar VAR_0x8004, VAR_0x8008
special sub_813A9A4 special sub_813A9A4
@@ -65,7 +65,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F12A:: @ 825F12A
special sub_813A8FC special sub_813A8FC
playse SE_REGI playse SE_REGI
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE72, 4 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE72, 4
compare_var_to_value VAR_0x4002, 2 compare VAR_0x4002, 2
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
end end
@@ -107,7 +107,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185:: @ 825F185
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F21E:: @ 825F21E BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F21E:: @ 825F21E
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8B6, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8B6, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 16 setvar VAR_0x8008, 16
setvar VAR_0x8009, 75 setvar VAR_0x8009, 75
@@ -116,7 +116,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F21E:: @ 825F21E
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F241:: @ 825F241 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F241:: @ 825F241
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8E6, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8E6, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 32 setvar VAR_0x8008, 32
setvar VAR_0x8009, 103 setvar VAR_0x8009, 103
@@ -125,7 +125,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F241:: @ 825F241
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F264:: @ 825F264 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F264:: @ 825F264
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F917, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F917, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 32 setvar VAR_0x8008, 32
setvar VAR_0x8009, 87 setvar VAR_0x8009, 87
@@ -134,7 +134,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F264:: @ 825F264
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F287:: @ 825F287 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F287:: @ 825F287
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F949, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F949, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48 setvar VAR_0x8008, 48
setvar VAR_0x8009, 79 setvar VAR_0x8009, 79
@@ -143,7 +143,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F287:: @ 825F287
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2AA:: @ 825F2AA BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2AA:: @ 825F2AA
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F979, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F979, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48 setvar VAR_0x8008, 48
setvar VAR_0x8009, 84 setvar VAR_0x8009, 84
@@ -152,7 +152,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2AA:: @ 825F2AA
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2CD:: @ 825F2CD BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2CD:: @ 825F2CD
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9A9, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9A9, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48 setvar VAR_0x8008, 48
setvar VAR_0x8009, 85 setvar VAR_0x8009, 85
@@ -161,7 +161,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2CD:: @ 825F2CD
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2F0:: @ 825F2F0 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2F0:: @ 825F2F0
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9DB, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9DB, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48 setvar VAR_0x8008, 48
setvar VAR_0x8009, 86 setvar VAR_0x8009, 86
@@ -170,7 +170,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2F0:: @ 825F2F0
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F313:: @ 825F313 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F313:: @ 825F313
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA0A, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA0A, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 80 setvar VAR_0x8008, 80
setvar VAR_0x8009, 80 setvar VAR_0x8009, 80
@@ -179,7 +179,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F313:: @ 825F313
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F336:: @ 825F336 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F336:: @ 825F336
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA3D, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA3D, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 80 setvar VAR_0x8008, 80
setvar VAR_0x8009, 81 setvar VAR_0x8009, 81
@@ -188,7 +188,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F336:: @ 825F336
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F359:: @ 825F359 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F359:: @ 825F359
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA70, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA70, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 80 setvar VAR_0x8008, 80
setvar VAR_0x8009, 82 setvar VAR_0x8009, 82
@@ -221,7 +221,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E:: @ 825F38E
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F3F0:: @ 825F3F0 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F3F0:: @ 825F3F0
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAA2, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAA2, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 128 setvar VAR_0x8008, 128
setvar VAR_0x8009, 113 setvar VAR_0x8009, 113
@@ -230,7 +230,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F3F0:: @ 825F3F0
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F413:: @ 825F413 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F413:: @ 825F413
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAD2, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAD2, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 128 setvar VAR_0x8008, 128
setvar VAR_0x8009, 111 setvar VAR_0x8009, 111
@@ -239,7 +239,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F413:: @ 825F413
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F436:: @ 825F436 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F436:: @ 825F436
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB03, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB03, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 256 setvar VAR_0x8008, 256
setvar VAR_0x8009, 114 setvar VAR_0x8009, 114
@@ -248,7 +248,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F436:: @ 825F436
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F459:: @ 825F459 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F459:: @ 825F459
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB35, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB35, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 256 setvar VAR_0x8008, 256
setvar VAR_0x8009, 115 setvar VAR_0x8009, 115
@@ -257,7 +257,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F459:: @ 825F459
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F47C:: @ 825F47C BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F47C:: @ 825F47C
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB68, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB68, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 256 setvar VAR_0x8008, 256
setvar VAR_0x8009, 116 setvar VAR_0x8009, 116
@@ -291,7 +291,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1:: @ 825F4B1
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F51E:: @ 825F51E BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F51E:: @ 825F51E
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB9B, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB9B, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1 setvar VAR_0x8008, 1
setvar VAR_0x8009, 64 setvar VAR_0x8009, 64
@@ -300,7 +300,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F51E:: @ 825F51E
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F541:: @ 825F541 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F541:: @ 825F541
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBC7, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBC7, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1 setvar VAR_0x8008, 1
setvar VAR_0x8009, 67 setvar VAR_0x8009, 67
@@ -309,7 +309,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F541:: @ 825F541
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F564:: @ 825F564 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F564:: @ 825F564
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBF3, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBF3, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1 setvar VAR_0x8008, 1
setvar VAR_0x8009, 65 setvar VAR_0x8009, 65
@@ -318,7 +318,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F564:: @ 825F564
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F587:: @ 825F587 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F587:: @ 825F587
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC1C, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC1C, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1 setvar VAR_0x8008, 1
setvar VAR_0x8009, 70 setvar VAR_0x8009, 70
@@ -327,7 +327,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F587:: @ 825F587
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5AA:: @ 825F5AA BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5AA:: @ 825F5AA
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC45, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC45, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1 setvar VAR_0x8008, 1
setvar VAR_0x8009, 66 setvar VAR_0x8009, 66
@@ -336,7 +336,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5AA:: @ 825F5AA
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5CD:: @ 825F5CD BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5CD:: @ 825F5CD
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC70, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC70, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1 setvar VAR_0x8008, 1
setvar VAR_0x8009, 63 setvar VAR_0x8009, 63
@@ -373,7 +373,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602:: @ 825F602
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F690:: @ 825F690 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F690:: @ 825F690
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE17, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE17, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48 setvar VAR_0x8008, 48
setvar VAR_0x8009, 200 setvar VAR_0x8009, 200
@@ -382,7 +382,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F690:: @ 825F690
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6B3:: @ 825F6B3 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6B3:: @ 825F6B3
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCCB, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCCB, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48 setvar VAR_0x8008, 48
setvar VAR_0x8009, 180 setvar VAR_0x8009, 180
@@ -391,7 +391,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6B3:: @ 825F6B3
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6D6:: @ 825F6D6 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6D6:: @ 825F6D6
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCFA, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCFA, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48 setvar VAR_0x8008, 48
setvar VAR_0x8009, 183 setvar VAR_0x8009, 183
@@ -400,7 +400,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6D6:: @ 825F6D6
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6F9:: @ 825F6F9 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6F9:: @ 825F6F9
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD29, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD29, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48 setvar VAR_0x8008, 48
setvar VAR_0x8009, 185 setvar VAR_0x8009, 185
@@ -409,7 +409,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6F9:: @ 825F6F9
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F71C:: @ 825F71C BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F71C:: @ 825F71C
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC9A, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC9A, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64 setvar VAR_0x8008, 64
setvar VAR_0x8009, 179 setvar VAR_0x8009, 179
@@ -418,7 +418,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F71C:: @ 825F71C
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F73F:: @ 825F73F BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F73F:: @ 825F73F
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD59, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD59, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64 setvar VAR_0x8008, 64
setvar VAR_0x8009, 186 setvar VAR_0x8009, 186
@@ -427,7 +427,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F73F:: @ 825F73F
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F762:: @ 825F762 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F762:: @ 825F762
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD89, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD89, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64 setvar VAR_0x8008, 64
setvar VAR_0x8009, 187 setvar VAR_0x8009, 187
@@ -436,7 +436,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F762:: @ 825F762
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F785:: @ 825F785 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F785:: @ 825F785
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDB9, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDB9, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64 setvar VAR_0x8008, 64
setvar VAR_0x8009, 196 setvar VAR_0x8009, 196
@@ -445,7 +445,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F785:: @ 825F785
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7A8:: @ 825F7A8 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7A8:: @ 825F7A8
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDE8, 5 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDE8, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64 setvar VAR_0x8008, 64
setvar VAR_0x8009, 198 setvar VAR_0x8009, 198
@@ -21,7 +21,7 @@ BattleFrontier_BattlePyramidEmptySquare_EventScript_252A5D:: @ 8252A5D
BattleFrontier_BattlePyramidEmptySquare_EventScript_252A77:: @ 8252A77 BattleFrontier_BattlePyramidEmptySquare_EventScript_252A77:: @ 8252A77
special sub_81A8E7C special sub_81A8E7C
delay 2 delay 2
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_if 5, BattleFrontier_BattlePyramidEmptySquare_EventScript_252A77 goto_if 5, BattleFrontier_BattlePyramidEmptySquare_EventScript_252A77
setvar VAR_0x400D, 0 setvar VAR_0x400D, 0
releaseall releaseall
@@ -49,17 +49,17 @@ BattleFrontier_BattlePyramidEmptySquare_MapScript1_252AA2: @ 8252AA2
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 5 setvar VAR_0x8005, 5
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39 goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39 goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39 goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42 goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
compare_var_to_value VAR_RESULT, 3 compare VAR_RESULT, 3
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42 goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
compare_var_to_value VAR_RESULT, 9 compare VAR_RESULT, 9
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42 goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
setvar VAR_0x8004, 14 setvar VAR_0x8004, 14
setvar VAR_0x8005, 8 setvar VAR_0x8005, 8
@@ -134,7 +134,7 @@ BattleFrontier_BattlePyramidEmptySquare_EventScript_252BE8:: @ 8252BE8
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
copyvar VAR_0x8006, VAR_RESULT copyvar VAR_0x8006, VAR_RESULT
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 7 compare VAR_RESULT, 7
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252C45 goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252C45
setvar VAR_0x8004, 6 setvar VAR_0x8004, 6
special sub_81A8E7C special sub_81A8E7C
@@ -166,7 +166,7 @@ BattleFrontier_BattlePyramidEmptySquare_EventScript_252C6A:: @ 8252C6A
setvar VAR_0x8004, 7 setvar VAR_0x8004, 7
special sub_81A8E7C special sub_81A8E7C
callstd 1 callstd 1
compare_var_to_value VAR_0x8007, 0 compare VAR_0x8007, 0
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252C87 goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252C87
setvar VAR_0x8004, 8 setvar VAR_0x8004, 8
special sub_81A8E7C special sub_81A8E7C
@@ -52,7 +52,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_2507B1:: @ 82507B1
lockall lockall
setvar VAR_0x8004, 10 setvar VAR_0x8004, 10
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_2507D2 goto_eq BattleFrontier_BattlePyramidLobby_EventScript_2507D2
msgbox BattleFrontier_BattlePyramidLobby_Text_2517B5, 4 msgbox BattleFrontier_BattlePyramidLobby_Text_2517B5, 4
goto BattleFrontier_BattlePyramidLobby_EventScript_2507DA goto BattleFrontier_BattlePyramidLobby_EventScript_2507DA
@@ -62,7 +62,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_2507D2:: @ 82507D2
BattleFrontier_BattlePyramidLobby_EventScript_2507DA:: @ 82507DA BattleFrontier_BattlePyramidLobby_EventScript_2507DA:: @ 82507DA
special sub_81B95E0 special sub_81B95E0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattlePyramidLobby_EventScript_250DDB call_if 1, BattleFrontier_BattlePyramidLobby_EventScript_250DDB
clearflag FLAG_SPECIAL_FLAG_0x4004 clearflag FLAG_SPECIAL_FLAG_0x4004
setvar VAR_0x8004, 8 setvar VAR_0x8004, 8
@@ -153,7 +153,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250904:: @ 8250904
case 127, BattleFrontier_BattlePyramidLobby_EventScript_250AC4 case 127, BattleFrontier_BattlePyramidLobby_EventScript_250AC4
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250A75 goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250A75
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
@@ -166,7 +166,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250904:: @ 8250904
setvar VAR_0x8005, 3 setvar VAR_0x8005, 3
special sub_80F9490 special sub_80F9490
waitstate waitstate
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250AC1 goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250AC1
msgbox BattleFrontier_BattlePyramidLobby_Text_2514E6, 5 msgbox BattleFrontier_BattlePyramidLobby_Text_2514E6, 5
switch VAR_RESULT switch VAR_RESULT
@@ -202,7 +202,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_2509A5:: @ 82509A5
delay 2 delay 2
call BattleFrontier_BattlePyramidLobby_EventScript_27134F call BattleFrontier_BattlePyramidLobby_EventScript_27134F
setvar VAR_0x4000, 255 setvar VAR_0x4000, 255
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250AAA goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250AAA
BattleFrontier_BattlePyramidLobby_EventScript_250A21:: @ 8250A21 BattleFrontier_BattlePyramidLobby_EventScript_250A21:: @ 8250A21
@@ -285,7 +285,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250B28:: @ 8250B28
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 5 setvar VAR_0x8005, 5
special sub_81A8E7C special sub_81A8E7C
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePyramidLobby_EventScript_250B53 goto_if 5, BattleFrontier_BattlePyramidLobby_EventScript_250B53
setvar VAR_RESULT, 0 setvar VAR_RESULT, 0
goto BattleFrontier_BattlePyramidLobby_EventScript_250BA4 goto BattleFrontier_BattlePyramidLobby_EventScript_250BA4
@@ -303,7 +303,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250B66:: @ 8250B66
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 6 setvar VAR_0x8005, 6
special sub_81A8E7C special sub_81A8E7C
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePyramidLobby_EventScript_250B91 goto_if 5, BattleFrontier_BattlePyramidLobby_EventScript_250B91
setvar VAR_RESULT, 0 setvar VAR_RESULT, 0
goto BattleFrontier_BattlePyramidLobby_EventScript_250BA4 goto BattleFrontier_BattlePyramidLobby_EventScript_250BA4
@@ -440,7 +440,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250D56:: @ 8250D56
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_81A8E7C special sub_81A8E7C
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250D94 goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250D94
msgbox BattleFrontier_BattlePyramidLobby_Text_2515AD, 4 msgbox BattleFrontier_BattlePyramidLobby_Text_2515AD, 4
goto BattleFrontier_BattlePyramidLobby_EventScript_250D9C goto BattleFrontier_BattlePyramidLobby_EventScript_250D9C
@@ -496,7 +496,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250DDB:: @ 8250DDB
msgbox BattleFrontier_BattlePyramidLobby_Text_2517FC, 4 msgbox BattleFrontier_BattlePyramidLobby_Text_2517FC, 4
setflag FLAG_SPECIAL_FLAG_0x4004 setflag FLAG_SPECIAL_FLAG_0x4004
special sub_81C6A94 special sub_81C6A94
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250E00 goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250E00
message BattleFrontier_BattlePyramidLobby_Text_2518C6 message BattleFrontier_BattlePyramidLobby_Text_2518C6
waitmessage waitmessage
@@ -534,7 +534,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250E50:: @ 8250E50
BattleFrontier_BattlePyramidLobby_EventScript_250E60:: @ 8250E60 BattleFrontier_BattlePyramidLobby_EventScript_250E60:: @ 8250E60
special sub_81B95E0 special sub_81B95E0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250E6F goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250E6F
return return
@@ -20,7 +20,7 @@ BattleFrontier_BattlePyramidTop_MapScript2_2550CE: @ 82550CE
BattleFrontier_BattlePyramidTop_EventScript_2550D8:: @ 82550D8 BattleFrontier_BattlePyramidTop_EventScript_2550D8:: @ 82550D8
setvar VAR_0x4001, 1 setvar VAR_0x4001, 1
turnobject 255, 2 turnobject 255, 2
compare_var_to_value VAR_0x400C, 0 compare VAR_0x400C, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_2550F3 goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_2550F3
setobjectxyperm 2, 0, 0 setobjectxyperm 2, 0, 0
@@ -30,7 +30,7 @@ BattleFrontier_BattlePyramidTop_EventScript_2550F3:: @ 82550F3
BattleFrontier_BattlePyramidTop_MapScript1_2550F4: @ 82550F4 BattleFrontier_BattlePyramidTop_MapScript1_2550F4: @ 82550F4
setvar VAR_0x8004, 9 setvar VAR_0x8004, 9
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidTop_EventScript_25510C goto_eq BattleFrontier_BattlePyramidTop_EventScript_25510C
call BattleFrontier_BattlePyramidTop_EventScript_242170 call BattleFrontier_BattlePyramidTop_EventScript_242170
@@ -45,11 +45,11 @@ BattleFrontier_BattlePyramidTop_EventScript_25510C:: @ 825510C
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 5 setvar VAR_0x8005, 5
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePyramidTop_EventScript_252B42 goto_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
compare_var_to_value VAR_RESULT, 3 compare VAR_RESULT, 3
goto_eq BattleFrontier_BattlePyramidTop_EventScript_252B42 goto_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
compare_var_to_value VAR_RESULT, 9 compare VAR_RESULT, 9
goto_eq BattleFrontier_BattlePyramidTop_EventScript_252B42 goto_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
end end
@@ -88,9 +88,9 @@ BattleFrontier_BattlePyramidTop_EventScript_255193:: @ 8255193
BattleFrontier_BattlePyramidTop_EventScript_2551D0:: @ 82551D0 BattleFrontier_BattlePyramidTop_EventScript_2551D0:: @ 82551D0
lock lock
faceplayer faceplayer
compare_var_to_value VAR_0x400D, 0 compare VAR_0x400D, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_255236 goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_255236
compare_var_to_value VAR_0x400C, 0 compare VAR_0x400C, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_255240 goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_255240
msgbox BattleFrontier_BattlePyramidTop_Text_255410, 4 msgbox BattleFrontier_BattlePyramidTop_Text_255410, 4
closemessage closemessage
@@ -136,7 +136,7 @@ BattleFrontier_BattlePyramidTop_EventScript_255256:: @ 8255256
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_2552D0 goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_2552D0
special SpawnScriptFieldObject special SpawnScriptFieldObject
applymovement 127, BattleFrontier_BattlePyramidTop_Movement_25540C applymovement 127, BattleFrontier_BattlePyramidTop_Movement_25540C
@@ -160,14 +160,14 @@ BattleFrontier_BattlePyramidTop_EventScript_2552DA:: @ 82552DA
msgbox BattleFrontier_BattlePyramidTop_Text_255846, 4 msgbox BattleFrontier_BattlePyramidTop_Text_255846, 4
call BattleFrontier_BattlePyramidTop_EventScript_2553ED call BattleFrontier_BattlePyramidTop_EventScript_2553ED
playbgm BGM_BATTLE_PYRAMID_SUMMIT, 0 playbgm BGM_BATTLE_PYRAMID_SUMMIT, 0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePyramidTop_EventScript_2552FB goto_eq BattleFrontier_BattlePyramidTop_EventScript_2552FB
goto BattleFrontier_BattlePyramidTop_EventScript_252B42 goto BattleFrontier_BattlePyramidTop_EventScript_252B42
BattleFrontier_BattlePyramidTop_EventScript_2552FB:: @ 82552FB BattleFrontier_BattlePyramidTop_EventScript_2552FB:: @ 82552FB
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_25521A goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_25521A
msgbox BattleFrontier_BattlePyramidTop_Text_255873, 4 msgbox BattleFrontier_BattlePyramidTop_Text_255873, 4
playfanfare BGM_ME_BATTLE_SYMBOL playfanfare BGM_ME_BATTLE_SYMBOL
@@ -183,7 +183,7 @@ BattleFrontier_BattlePyramidTop_EventScript_255335:: @ 8255335
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_255388 goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_255388
special SpawnScriptFieldObject special SpawnScriptFieldObject
applymovement 127, BattleFrontier_BattlePyramidTop_Movement_25540C applymovement 127, BattleFrontier_BattlePyramidTop_Movement_25540C
@@ -207,14 +207,14 @@ BattleFrontier_BattlePyramidTop_EventScript_255392:: @ 8255392
msgbox BattleFrontier_BattlePyramidTop_Text_255AA1, 4 msgbox BattleFrontier_BattlePyramidTop_Text_255AA1, 4
call BattleFrontier_BattlePyramidTop_EventScript_2553ED call BattleFrontier_BattlePyramidTop_EventScript_2553ED
playbgm BGM_BATTLE_PYRAMID_SUMMIT, 0 playbgm BGM_BATTLE_PYRAMID_SUMMIT, 0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePyramidTop_EventScript_2553B3 goto_eq BattleFrontier_BattlePyramidTop_EventScript_2553B3
goto BattleFrontier_BattlePyramidTop_EventScript_252B42 goto BattleFrontier_BattlePyramidTop_EventScript_252B42
BattleFrontier_BattlePyramidTop_EventScript_2553B3:: @ 82553B3 BattleFrontier_BattlePyramidTop_EventScript_2553B3:: @ 82553B3
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePyramidTop_EventScript_25521A goto_eq BattleFrontier_BattlePyramidTop_EventScript_25521A
msgbox BattleFrontier_BattlePyramidTop_Text_255ACD, 4 msgbox BattleFrontier_BattlePyramidTop_Text_255ACD, 4
playfanfare BGM_ME_BATTLE_SYMBOL playfanfare BGM_ME_BATTLE_SYMBOL
@@ -23,7 +23,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241B6C:: @ 8241B6C
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241BC3 goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241BC3
applymovement 2, BattleFrontier_BattleTowerBattleRoom_Movement_24218D applymovement 2, BattleFrontier_BattleTowerBattleRoom_Movement_24218D
waitmovement 0 waitmovement 0
@@ -75,7 +75,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241C2F:: @ 8241C2F
removeobject 1 removeobject 1
setvar VAR_0x8004, 9 setvar VAR_0x8004, 9
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_241EC3 call_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_241EC3
applymovement 2, BattleFrontier_BattleTowerBattleRoom_Movement_24218D applymovement 2, BattleFrontier_BattleTowerBattleRoom_Movement_24218D
waitmovement 0 waitmovement 0
@@ -90,14 +90,14 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F:: @ 8241C8F
setvar VAR_0x8004, 9 setvar VAR_0x8004, 9
special sub_81A1780 special sub_81A1780
copyvar VAR_0x400F, VAR_RESULT copyvar VAR_0x400F, VAR_RESULT
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_241F0A goto_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_241F0A
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special sub_81A1780 special sub_81A1780
call BattleFrontier_BattleTowerBattleRoom_EventScript_241E44 call BattleFrontier_BattleTowerBattleRoom_EventScript_241E44
call BattleFrontier_BattleTowerBattleRoom_EventScript_23E8E0 call BattleFrontier_BattleTowerBattleRoom_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241D0A goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241D0A
multichoice 19, 4, 103, 1 multichoice 19, 4, 103, 1
switch VAR_RESULT switch VAR_RESULT
@@ -245,7 +245,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241EC3:: @ 8241EC3
return return
BattleFrontier_BattleTowerBattleRoom_EventScript_241F0A:: @ 8241F0A BattleFrontier_BattleTowerBattleRoom_EventScript_241F0A:: @ 8241F0A
compare_var_to_value VAR_0x4002, 1 compare VAR_0x4002, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241F22 goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241F22
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2424C2, 4 msgbox BattleFrontier_BattleTowerBattleRoom_Text_2424C2, 4
setvar VAR_0x4002, 1 setvar VAR_0x4002, 1
@@ -254,7 +254,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241F22:: @ 8241F22
message BattleFrontier_BattleTowerBattleRoom_Text_242542 message BattleFrontier_BattleTowerBattleRoom_Text_242542
waitmessage waitmessage
call BattleFrontier_BattleTowerBattleRoom_EventScript_23E8E0 call BattleFrontier_BattleTowerBattleRoom_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241F79 goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241F79
multichoice 19, 4, 103, 1 multichoice 19, 4, 103, 1
switch VAR_RESULT switch VAR_RESULT
@@ -289,7 +289,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241FAF:: @ 8241FAF
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_242029 goto_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_242029
msgbox BattleFrontier_BattleTowerBattleRoom_Text_242579, 4 msgbox BattleFrontier_BattleTowerBattleRoom_Text_242579, 4
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
@@ -299,7 +299,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241FAF:: @ 8241FAF
BattleFrontier_BattleTowerBattleRoom_EventScript_242029:: @ 8242029 BattleFrontier_BattleTowerBattleRoom_EventScript_242029:: @ 8242029
msgbox BattleFrontier_BattleTowerBattleRoom_Text_24268C, 4 msgbox BattleFrontier_BattleTowerBattleRoom_Text_24268C, 4
call BattleFrontier_BattleTowerBattleRoom_EventScript_24210E call BattleFrontier_BattleTowerBattleRoom_EventScript_24210E
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_242046 goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_242046
goto BattleFrontier_BattleTowerBattleRoom_EventScript_241C03 goto BattleFrontier_BattleTowerBattleRoom_EventScript_241C03
@@ -307,7 +307,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_242046:: @ 8242046
call BattleFrontier_BattleTowerBattleRoom_EventScript_241EBA call BattleFrontier_BattleTowerBattleRoom_EventScript_241EBA
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6 goto_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2426B4, 4 msgbox BattleFrontier_BattleTowerBattleRoom_Text_2426B4, 4
playfanfare BGM_ME_BATTLE_SYMBOL playfanfare BGM_ME_BATTLE_SYMBOL
@@ -323,7 +323,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_242085:: @ 8242085
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_2420B2 goto_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_2420B2
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2427F9, 4 msgbox BattleFrontier_BattleTowerBattleRoom_Text_2427F9, 4
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
@@ -333,7 +333,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_242085:: @ 8242085
BattleFrontier_BattleTowerBattleRoom_EventScript_2420B2:: @ 82420B2 BattleFrontier_BattleTowerBattleRoom_EventScript_2420B2:: @ 82420B2
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2428E0, 4 msgbox BattleFrontier_BattleTowerBattleRoom_Text_2428E0, 4
call BattleFrontier_BattleTowerBattleRoom_EventScript_24210E call BattleFrontier_BattleTowerBattleRoom_EventScript_24210E
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2420CF goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2420CF
goto BattleFrontier_BattleTowerBattleRoom_EventScript_241C03 goto BattleFrontier_BattleTowerBattleRoom_EventScript_241C03
@@ -341,7 +341,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_2420CF:: @ 82420CF
call BattleFrontier_BattleTowerBattleRoom_EventScript_241EBA call BattleFrontier_BattleTowerBattleRoom_EventScript_241EBA
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6 goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2428F7, 4 msgbox BattleFrontier_BattleTowerBattleRoom_Text_2428F7, 4
playfanfare BGM_ME_BATTLE_SYMBOL playfanfare BGM_ME_BATTLE_SYMBOL
@@ -367,7 +367,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_24210E:: @ 824210E
special sub_8163AC4 special sub_8163AC4
waitstate waitstate
copyvar VAR_0x8004, VAR_0x40CE copyvar VAR_0x8004, VAR_0x40CE
compare_var_to_value VAR_0x8004, 3 compare VAR_0x8004, 3
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_24215A goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_24215A
setvar VAR_0x8004, 18 setvar VAR_0x8004, 18
special sub_81A1780 special sub_81A1780
@@ -485,11 +485,11 @@ BattleFrontier_BattleTowerBattleRoom_Movement_2421B2: @ 82421B2
BattleFrontier_BattleTowerBattleRoom2_EventScript_2421B8:: @ 82421B8 BattleFrontier_BattleTowerBattleRoom2_EventScript_2421B8:: @ 82421B8
BattleFrontier_BattleTowerBattleRoom_EventScript_2421B8:: @ 82421B8 BattleFrontier_BattleTowerBattleRoom_EventScript_2421B8:: @ 82421B8
copyvar VAR_RESULT, VAR_0x40CE copyvar VAR_RESULT, VAR_0x40CE
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421E8 goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421E8
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421F2 goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421F2
compare_var_to_value VAR_RESULT, 3 compare VAR_RESULT, 3
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421FC goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421FC
warp BATTLE_FRONTIER_BATTLE_TOWER_LOBBY, 255, 6, 6 warp BATTLE_FRONTIER_BATTLE_TOWER_LOBBY, 255, 6, 6
waitstate waitstate
@@ -5,9 +5,9 @@ BattleFrontier_BattleTowerBattleRoom2_MapScripts:: @ 8248EE8
.byte 0 .byte 0
BattleFrontier_BattleTowerBattleRoom2_MapScript1_248EF8: @ 8248EF8 BattleFrontier_BattleTowerBattleRoom2_MapScript1_248EF8: @ 8248EF8
compare_var_to_value VAR_0x40CE, 2 compare VAR_0x40CE, 2
call_if 1, BattleFrontier_BattleTowerBattleRoom2_EventScript_248F0F call_if 1, BattleFrontier_BattleTowerBattleRoom2_EventScript_248F0F
compare_var_to_value VAR_0x40CE, 3 compare VAR_0x40CE, 3
call_if 1, BattleFrontier_BattleTowerBattleRoom2_EventScript_248F2F call_if 1, BattleFrontier_BattleTowerBattleRoom2_EventScript_248F2F
end end
@@ -15,7 +15,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_248F0F:: @ 8248F0F
setvar VAR_0x8004, 14 setvar VAR_0x8004, 14
special sub_8161F74 special sub_8161F74
checkplayergender checkplayergender
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_248F29 goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_248F29
setvar VAR_0x401F, 0 setvar VAR_0x401F, 0
return return
@@ -48,7 +48,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_248F4D:: @ 8248F4D
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_248FB4 goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_248FB4
applymovement 2, BattleFrontier_BattleTowerBattleRoom2_Movement_24953E applymovement 2, BattleFrontier_BattleTowerBattleRoom2_Movement_24953E
applymovement 3, BattleFrontier_BattleTowerBattleRoom2_Movement_24953E applymovement 3, BattleFrontier_BattleTowerBattleRoom2_Movement_24953E
@@ -70,7 +70,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_248FB4:: @ 8248FB4
applymovement 1, BattleFrontier_BattleTowerBattleRoom2_Movement_249528 applymovement 1, BattleFrontier_BattleTowerBattleRoom2_Movement_249528
applymovement 4, BattleFrontier_BattleTowerBattleRoom2_Movement_24952E applymovement 4, BattleFrontier_BattleTowerBattleRoom2_Movement_24952E
waitmovement 0 waitmovement 0
compare_var_to_value VAR_0x40CE, 3 compare VAR_0x40CE, 3
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249026 goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249026
setvar VAR_0x8004, 7 setvar VAR_0x8004, 7
setvar VAR_0x8005, 0 setvar VAR_0x8005, 0
@@ -142,7 +142,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_2490AA:: @ 82490AA
applymovement 5, BattleFrontier_BattleTowerBattleRoom2_Movement_249524 applymovement 5, BattleFrontier_BattleTowerBattleRoom2_Movement_249524
applymovement 6, BattleFrontier_BattleTowerBattleRoom2_Movement_249524 applymovement 6, BattleFrontier_BattleTowerBattleRoom2_Movement_249524
waitmovement 0 waitmovement 0
compare_var_to_value VAR_0x40CE, 3 compare VAR_0x40CE, 3
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249118 goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249118
msgbox BattleFrontier_BattleTowerBattleRoom2_Text_242217, 4 msgbox BattleFrontier_BattleTowerBattleRoom2_Text_242217, 4
goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249121 goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249121
@@ -157,7 +157,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_249121:: @ 8249121
setvar VAR_0x8004, 3 setvar VAR_0x8004, 3
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_0x40CE, 3 compare VAR_0x40CE, 3
call_if 1, BattleFrontier_BattleTowerBattleRoom2_EventScript_249514 call_if 1, BattleFrontier_BattleTowerBattleRoom2_EventScript_249514
playfanfare BGM_ME_ASA playfanfare BGM_ME_ASA
waitfanfare waitfanfare
@@ -168,10 +168,10 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_249143:: @ 8249143
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special sub_81A1780 special sub_81A1780
call BattleFrontier_BattleTowerBattleRoom2_EventScript_2492FD call BattleFrontier_BattleTowerBattleRoom2_EventScript_2492FD
compare_var_to_value VAR_0x40CE, 3 compare VAR_0x40CE, 3
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249283 goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249283
call BattleFrontier_BattleTowerBattleRoom2_EventScript_23E8E0 call BattleFrontier_BattleTowerBattleRoom2_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_2491B1 goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_2491B1
multichoice 19, 4, 103, 1 multichoice 19, 4, 103, 1
switch VAR_RESULT switch VAR_RESULT
@@ -256,7 +256,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_2492DB:: @ 82492DB
end end
BattleFrontier_BattleTowerBattleRoom2_EventScript_2492FD:: @ 82492FD BattleFrontier_BattleTowerBattleRoom2_EventScript_2492FD:: @ 82492FD
compare_var_to_value VAR_0x40CE, 3 compare VAR_0x40CE, 3
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_24937E goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_24937E
copyvar VAR_0x400F, VAR_RESULT copyvar VAR_0x400F, VAR_RESULT
switch VAR_0x400F switch VAR_0x400F
@@ -374,7 +374,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_249483:: @ 8249483
waitmessage waitmessage
special sub_813B568 special sub_813B568
waitstate waitstate
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleTowerBattleRoom2_EventScript_24907E goto_if 5, BattleFrontier_BattleTowerBattleRoom2_EventScript_24907E
goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249412 goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249412
end end
@@ -395,7 +395,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_2494DD:: @ 82494DD
message BattleFrontier_BattleTowerBattleRoom2_Text_24244C message BattleFrontier_BattleTowerBattleRoom2_Text_24244C
waitmessage waitmessage
multichoicedefault 20, 8, 94, 1, 0 multichoicedefault 20, 8, 94, 1, 0
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_2494FA goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_2494FA
goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249143 goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249143
end end
@@ -4,7 +4,7 @@ BattleFrontier_BattleTowerCorridor_MapScripts:: @ 8241AAA
.byte 0 .byte 0
BattleFrontier_BattleTowerCorridor_MapScript1_241AB5: @ 8241AB5 BattleFrontier_BattleTowerCorridor_MapScript1_241AB5: @ 8241AB5
compare_var_to_value VAR_0x8006, 1 compare VAR_0x8006, 1
goto_eq BattleFrontier_BattleTowerCorridor_EventScript_241AD3 goto_eq BattleFrontier_BattleTowerCorridor_EventScript_241AD3
setmetatile 12, 0, 519, 0 setmetatile 12, 0, 519, 0
setmetatile 12, 1, 527, 0 setmetatile 12, 1, 527, 0
@@ -21,7 +21,7 @@ BattleFrontier_BattleTowerCorridor_MapScript2_241AE6: @ 8241AE6
BattleFrontier_BattleTowerCorridor_EventScript_241AF0:: @ 8241AF0 BattleFrontier_BattleTowerCorridor_EventScript_241AF0:: @ 8241AF0
setvar VAR_0x4000, 1 setvar VAR_0x4000, 1
compare_var_to_value VAR_0x8006, 1 compare VAR_0x8006, 1
goto_eq BattleFrontier_BattleTowerCorridor_EventScript_241B16 goto_eq BattleFrontier_BattleTowerCorridor_EventScript_241B16
applymovement 1, BattleFrontier_BattleTowerCorridor_Movement_241B3A applymovement 1, BattleFrontier_BattleTowerCorridor_Movement_241B3A
applymovement 255, BattleFrontier_BattleTowerCorridor_Movement_241B39 applymovement 255, BattleFrontier_BattleTowerCorridor_Movement_241B39
@@ -5,9 +5,9 @@ BattleFrontier_BattleTowerCorridor2_MapScripts:: @ 8248D4A
.byte 0 .byte 0
BattleFrontier_BattleTowerCorridor2_MapScript1_248D5A: @ 8248D5A BattleFrontier_BattleTowerCorridor2_MapScript1_248D5A: @ 8248D5A
compare_var_to_value VAR_0x40CE, 2 compare VAR_0x40CE, 2
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248D71 call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248D71
compare_var_to_value VAR_0x40CE, 3 compare VAR_0x40CE, 3
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248D91 call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248D91
end end
@@ -15,7 +15,7 @@ BattleFrontier_BattleTowerCorridor2_EventScript_248D71:: @ 8248D71
setvar VAR_0x8004, 14 setvar VAR_0x8004, 14
special sub_8161F74 special sub_8161F74
checkplayergender checkplayergender
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerCorridor2_EventScript_248D8B goto_eq BattleFrontier_BattleTowerCorridor2_EventScript_248D8B
setvar VAR_0x401F, 0 setvar VAR_0x401F, 0
return return
@@ -87,13 +87,13 @@ BattleFrontier_BattleTowerCorridor2_EventScript_248DBC:: @ 8248DBC
end end
BattleFrontier_BattleTowerCorridor2_EventScript_248E71:: @ 8248E71 BattleFrontier_BattleTowerCorridor2_EventScript_248E71:: @ 8248E71
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248E9E call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248E9E
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248E9E call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248E9E
compare_var_to_value VAR_0x40CE, 2 compare VAR_0x40CE, 2
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248EA8 call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248EA8
compare_var_to_value VAR_0x40CE, 3 compare VAR_0x40CE, 3
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248EB2 call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248EB2
return return
@@ -24,13 +24,13 @@ BattleFrontier_BattleTowerElevator_EventScript_2419F0:: @ 82419F0
end end
BattleFrontier_BattleTowerElevator_EventScript_241A28:: @ 8241A28 BattleFrontier_BattleTowerElevator_EventScript_241A28:: @ 8241A28
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleTowerElevator_EventScript_241A55 call_if 1, BattleFrontier_BattleTowerElevator_EventScript_241A55
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleTowerElevator_EventScript_241A55 call_if 1, BattleFrontier_BattleTowerElevator_EventScript_241A55
compare_var_to_value VAR_0x40CE, 2 compare VAR_0x40CE, 2
call_if 1, BattleFrontier_BattleTowerElevator_EventScript_241A5F call_if 1, BattleFrontier_BattleTowerElevator_EventScript_241A5F
compare_var_to_value VAR_0x40CE, 3 compare VAR_0x40CE, 3
call_if 1, BattleFrontier_BattleTowerElevator_EventScript_241A72 call_if 1, BattleFrontier_BattleTowerElevator_EventScript_241A72
return return
@@ -13,7 +13,7 @@ BattleFrontier_BattleTowerLobby_MapScript1_23E694: @ 823E694
call BattleFrontier_BattleTowerLobby_EventScript_28CC84 call BattleFrontier_BattleTowerLobby_EventScript_28CC84
setvar VAR_0x8004, 10 setvar VAR_0x8004, 10
special sub_81A085C special sub_81A085C
compare_var_to_value VAR_0x8004, 0 compare VAR_0x8004, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E6B5 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E6B5
checkflag FLAG_0x934 checkflag FLAG_0x934
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E6C1 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E6C1
@@ -78,7 +78,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E758:: @ 823E758
faceplayer faceplayer
setvar VAR_0x8004, 10 setvar VAR_0x8004, 10
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E778 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E778
message BattleFrontier_BattleTowerLobby_Text_23F60D message BattleFrontier_BattleTowerLobby_Text_23F60D
waitmessage waitmessage
@@ -90,7 +90,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E778:: @ 823E778
BattleFrontier_BattleTowerLobby_EventScript_23E780:: @ 823E780 BattleFrontier_BattleTowerLobby_EventScript_23E780:: @ 823E780
setvar VAR_0x8004, 5 setvar VAR_0x8004, 5
special sub_8161F74 special sub_8161F74
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E7A5 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E7A5
message BattleFrontier_BattleTowerLobby_Text_23F844 message BattleFrontier_BattleTowerLobby_Text_23F844
waitmessage waitmessage
@@ -107,7 +107,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E7A5:: @ 823E7A5
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_8161F74 special sub_8161F74
compare_var_to_value VAR_RESULT, 49 compare VAR_RESULT, 49
goto_if 5, BattleFrontier_BattleTowerLobby_EventScript_23E7E2 goto_if 5, BattleFrontier_BattleTowerLobby_EventScript_23E7E2
msgbox BattleFrontier_BattleTowerLobby_Text_23F79D, 4 msgbox BattleFrontier_BattleTowerLobby_Text_23F79D, 4
@@ -119,14 +119,14 @@ BattleFrontier_BattleTowerLobby_EventScript_23E7E2:: @ 823E7E2
end end
BattleFrontier_BattleTowerLobby_EventScript_23E7F2:: @ 823E7F2 BattleFrontier_BattleTowerLobby_EventScript_23E7F2:: @ 823E7F2
compare_var_to_value VAR_0x40CE, 2 compare VAR_0x40CE, 2
goto_if 5, BattleFrontier_BattleTowerLobby_EventScript_23E81E goto_if 5, BattleFrontier_BattleTowerLobby_EventScript_23E81E
checkflag FLAG_0x152 checkflag FLAG_0x152
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E81E goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E81E
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_8161F74 special sub_8161F74
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleTowerLobby_EventScript_23E830 goto_if 5, BattleFrontier_BattleTowerLobby_EventScript_23E830
BattleFrontier_BattleTowerLobby_EventScript_23E81E:: @ 823E81E BattleFrontier_BattleTowerLobby_EventScript_23E81E:: @ 823E81E
@@ -160,7 +160,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E84D:: @ 823E84D
playse SE_SAVE playse SE_SAVE
waitse waitse
call BattleFrontier_BattleTowerLobby_EventScript_23E8E0 call BattleFrontier_BattleTowerLobby_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E8DF goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E8DF
message BattleFrontier_BattleTowerLobby_Text_23FE3C message BattleFrontier_BattleTowerLobby_Text_23FE3C
waitmessage waitmessage
@@ -183,7 +183,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_23E8B4:: @ 823E8B4
BattleFrontier_BattleTowerLobby_EventScript_23E8B4:: @ 823E8B4 BattleFrontier_BattleTowerLobby_EventScript_23E8B4:: @ 823E8B4
setvar VAR_0x8004, 19 setvar VAR_0x8004, 19
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E8D7 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E8D7
playse SE_SAVE playse SE_SAVE
msgbox BattleFrontier_BattleTowerLobby_Text_2423CD, 4 msgbox BattleFrontier_BattleTowerLobby_Text_2423CD, 4
@@ -214,7 +214,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E8E0:: @ 823E8E0
BattleFrontier_BattleTowerLobby_EventScript_23E8EE:: @ 823E8EE BattleFrontier_BattleTowerLobby_EventScript_23E8EE:: @ 823E8EE
lock lock
faceplayer faceplayer
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23E930 call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23E930
message BattleFrontier_BattleTowerLobby_Text_23F737 message BattleFrontier_BattleTowerLobby_Text_23F737
waitmessage waitmessage
@@ -263,7 +263,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E984:: @ 823E984
case 127, BattleFrontier_BattleTowerLobby_EventScript_23F0E6 case 127, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
@@ -276,7 +276,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E984:: @ 823E984
setvar VAR_0x8005, 3 setvar VAR_0x8005, 3
special sub_80F9490 special sub_80F9490
waitstate waitstate
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, 5 msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, 5
switch VAR_RESULT switch VAR_RESULT
@@ -304,7 +304,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EA2A:: @ 823EA2A
delay 2 delay 2
call BattleFrontier_BattleTowerLobby_EventScript_27134F call BattleFrontier_BattleTowerLobby_EventScript_27134F
setvar VAR_0x4000, 255 setvar VAR_0x4000, 255
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
incrementgamestat 30 incrementgamestat 30
setvar VAR_0x40BC, 1 setvar VAR_0x40BC, 1
@@ -343,7 +343,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EAED:: @ 823EAED
case 127, BattleFrontier_BattleTowerLobby_EventScript_23F0E6 case 127, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
@@ -356,7 +356,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EAED:: @ 823EAED
setvar VAR_0x8005, 4 setvar VAR_0x8005, 4
special sub_80F9490 special sub_80F9490
waitstate waitstate
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, 5 msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, 5
switch VAR_RESULT switch VAR_RESULT
@@ -384,7 +384,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EB93:: @ 823EB93
delay 2 delay 2
call BattleFrontier_BattleTowerLobby_EventScript_27134F call BattleFrontier_BattleTowerLobby_EventScript_27134F
setvar VAR_0x4000, 255 setvar VAR_0x4000, 255
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
incrementgamestat 30 incrementgamestat 30
setvar VAR_0x40BC, 0 setvar VAR_0x40BC, 0
@@ -424,7 +424,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EC59:: @ 823EC59
case 127, BattleFrontier_BattleTowerLobby_EventScript_23F0E6 case 127, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
@@ -437,7 +437,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EC59:: @ 823EC59
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special sub_80F9490 special sub_80F9490
waitstate waitstate
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, 5 msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, 5
switch VAR_RESULT switch VAR_RESULT
@@ -465,7 +465,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23ECFF:: @ 823ECFF
delay 2 delay 2
call BattleFrontier_BattleTowerLobby_EventScript_27134F call BattleFrontier_BattleTowerLobby_EventScript_27134F
setvar VAR_0x4000, 255 setvar VAR_0x4000, 255
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
incrementgamestat 30 incrementgamestat 30
setvar VAR_0x40BC, 0 setvar VAR_0x40BC, 0
@@ -504,7 +504,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EDC2:: @ 823EDC2
case 127, BattleFrontier_BattleTowerLobby_EventScript_23F0E6 case 127, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
@@ -517,7 +517,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EDC2:: @ 823EDC2
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special sub_80F9490 special sub_80F9490
waitstate waitstate
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, 5 msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, 5
switch VAR_RESULT switch VAR_RESULT
@@ -548,11 +548,11 @@ BattleFrontier_BattleTowerLobby_EventScript_23EE68:: @ 823EE68
special sub_8161F74 special sub_8161F74
call BattleFrontier_BattleTowerLobby_EventScript_27134F call BattleFrontier_BattleTowerLobby_EventScript_27134F
setvar VAR_0x4000, 255 setvar VAR_0x4000, 255
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
incrementgamestat 30 incrementgamestat 30
specialvar VAR_RESULT, sub_80093CC specialvar VAR_RESULT, sub_80093CC
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F3E8 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F3E8
goto BattleFrontier_BattleTowerLobby_EventScript_23F2C5 goto BattleFrontier_BattleTowerLobby_EventScript_23F2C5
end end
@@ -605,9 +605,9 @@ BattleFrontier_BattleTowerLobby_EventScript_23EF80:: @ 823EF80
end end
BattleFrontier_BattleTowerLobby_EventScript_23EF8A:: @ 823EF8A BattleFrontier_BattleTowerLobby_EventScript_23EF8A:: @ 823EF8A
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23EFA1 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23EFA1
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23EFAB goto_eq BattleFrontier_BattleTowerLobby_EventScript_23EFAB
end end
@@ -743,7 +743,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23F108:: @ 823F108
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special sub_8161F74 special sub_8161F74
delay 1 delay 1
compare_var_to_value VAR_RESULT, 6 compare VAR_RESULT, 6
goto_if 5, BattleFrontier_BattleTowerLobby_EventScript_23F108 goto_if 5, BattleFrontier_BattleTowerLobby_EventScript_23F108
call BattleFrontier_BattleTowerLobby_EventScript_23F135 call BattleFrontier_BattleTowerLobby_EventScript_23F135
clearflag FLAG_0x077 clearflag FLAG_0x077
@@ -754,7 +754,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23F108:: @ 823F108
BattleFrontier_BattleTowerLobby_EventScript_23F135:: @ 823F135 BattleFrontier_BattleTowerLobby_EventScript_23F135:: @ 823F135
call BattleFrontier_BattleTowerLobby_EventScript_23F1A7 call BattleFrontier_BattleTowerLobby_EventScript_23F1A7
compare_var_to_value VAR_0x40CE, 3 compare VAR_0x40CE, 3
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F152 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F152
msgbox BattleFrontier_BattleTowerLobby_Text_23FE11, 4 msgbox BattleFrontier_BattleTowerLobby_Text_23FE11, 4
goto BattleFrontier_BattleTowerLobby_EventScript_23F15B goto BattleFrontier_BattleTowerLobby_EventScript_23F15B
@@ -807,13 +807,13 @@ BattleFrontier_BattleTowerLobby_Movement_23F1A0: @ 823F1A0
step_end step_end
BattleFrontier_BattleTowerLobby_EventScript_23F1A7:: @ 823F1A7 BattleFrontier_BattleTowerLobby_EventScript_23F1A7:: @ 823F1A7
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F1D4 call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F1D4
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F1D9 call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F1D9
compare_var_to_value VAR_0x40CE, 2 compare VAR_0x40CE, 2
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F1DE call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F1DE
compare_var_to_value VAR_0x40CE, 3 compare VAR_0x40CE, 3
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F1E3 call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F1E3
return return
@@ -834,13 +834,13 @@ BattleFrontier_BattleTowerLobby_EventScript_23F1E3:: @ 823F1E3
return return
BattleFrontier_BattleTowerLobby_EventScript_23F1E8:: @ 823F1E8 BattleFrontier_BattleTowerLobby_EventScript_23F1E8:: @ 823F1E8
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F215 call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F215
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F21B call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F21B
compare_var_to_value VAR_0x40CE, 2 compare VAR_0x40CE, 2
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F221 call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F221
compare_var_to_value VAR_0x40CE, 3 compare VAR_0x40CE, 3
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F227 call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F227
return return
@@ -861,13 +861,13 @@ BattleFrontier_BattleTowerLobby_EventScript_23F227:: @ 823F227
return return
BattleFrontier_BattleTowerLobby_EventScript_23F22D:: @ 823F22D BattleFrontier_BattleTowerLobby_EventScript_23F22D:: @ 823F22D
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F25A call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F25A
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F260 call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F260
compare_var_to_value VAR_0x40CE, 2 compare VAR_0x40CE, 2
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F266 call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F266
compare_var_to_value VAR_0x40CE, 3 compare VAR_0x40CE, 3
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F26C call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F26C
return return
@@ -888,13 +888,13 @@ BattleFrontier_BattleTowerLobby_EventScript_23F26C:: @ 823F26C
return return
BattleFrontier_BattleTowerLobby_EventScript_23F272:: @ 823F272 BattleFrontier_BattleTowerLobby_EventScript_23F272:: @ 823F272
compare_var_to_value VAR_0x40CE, 0 compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F29F call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F29F
compare_var_to_value VAR_0x40CE, 1 compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F2A5 call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F2A5
compare_var_to_value VAR_0x40CE, 2 compare VAR_0x40CE, 2
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F2AB call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F2AB
compare_var_to_value VAR_0x40CE, 3 compare VAR_0x40CE, 3
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F2B1 call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F2B1
return return
@@ -934,25 +934,25 @@ BattleFrontier_BattleTowerLobby_EventScript_23F2C5:: @ 823F2C5
setvar VAR_0x8005, 0 setvar VAR_0x8005, 0
special sub_80B2DA4 special sub_80B2DA4
waitstate waitstate
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F3AF goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F3AF
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleTowerLobby_EventScript_2772D2 goto_eq BattleFrontier_BattleTowerLobby_EventScript_2772D2
compare_var_to_value VAR_RESULT, 3 compare VAR_RESULT, 3
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F327 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F327
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F351 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F351
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E6 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E6
compare_var_to_value VAR_RESULT, 6 compare VAR_RESULT, 6
goto_eq BattleFrontier_BattleTowerLobby_EventScript_2772C5 goto_eq BattleFrontier_BattleTowerLobby_EventScript_2772C5
compare_var_to_value VAR_RESULT, 11 compare VAR_RESULT, 11
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F366 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F366
end end
BattleFrontier_BattleTowerLobby_EventScript_23F327:: @ 823F327 BattleFrontier_BattleTowerLobby_EventScript_23F327:: @ 823F327
special sub_80097E8 special sub_80097E8
compare_var_to_value VAR_0x8005, 3 compare VAR_0x8005, 3
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F33F goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F33F
msgbox BattleFrontier_BattleTowerLobby_Text_278255, 4 msgbox BattleFrontier_BattleTowerLobby_Text_278255, 4
release release
@@ -973,11 +973,11 @@ BattleFrontier_BattleTowerLobby_EventScript_23F351:: @ 823F351
BattleFrontier_BattleTowerLobby_EventScript_23F366:: @ 823F366 BattleFrontier_BattleTowerLobby_EventScript_23F366:: @ 823F366
special sub_80097E8 special sub_80097E8
compare_var_to_value VAR_0x8005, 0 compare VAR_0x8005, 0
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F394 call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F394
compare_var_to_value VAR_0x8005, 1 compare VAR_0x8005, 1
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F39D call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F39D
compare_var_to_value VAR_0x8005, 2 compare VAR_0x8005, 2
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F3A6 call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F3A6
msgbox BattleFrontier_BattleTowerLobby_Text_2413DE, 4 msgbox BattleFrontier_BattleTowerLobby_Text_2413DE, 4
release release
@@ -1034,26 +1034,26 @@ BattleFrontier_BattleTowerLobby_EventScript_23F3F3:: @ 823F3F3
BattleFrontier_BattleTowerLobby_EventScript_23F430:: @ 823F430 BattleFrontier_BattleTowerLobby_EventScript_23F430:: @ 823F430
call BattleFrontier_BattleTowerLobby_EventScript_277B30 call BattleFrontier_BattleTowerLobby_EventScript_277B30
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F496 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F496
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F3F3 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F3F3
compare_var_to_value VAR_RESULT, 8 compare VAR_RESULT, 8
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F430 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F430
compare_var_to_value VAR_RESULT, 11 compare VAR_RESULT, 11
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F366 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F366
release release
return return
BattleFrontier_BattleTowerLobby_EventScript_23F463:: @ 823F463 BattleFrontier_BattleTowerLobby_EventScript_23F463:: @ 823F463
call BattleFrontier_BattleTowerLobby_EventScript_277B35 call BattleFrontier_BattleTowerLobby_EventScript_277B35
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F496 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F496
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F3F3 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F3F3
compare_var_to_value VAR_RESULT, 8 compare VAR_RESULT, 8
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F463 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F463
compare_var_to_value VAR_RESULT, 11 compare VAR_RESULT, 11
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F366 goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F366
release release
return return
@@ -88,7 +88,7 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243E7A:: @ 8243E7A
message BattleFrontier_BattleTowerMultiBattleRoom_Text_244094 message BattleFrontier_BattleTowerMultiBattleRoom_Text_244094
waitmessage waitmessage
multichoicedefault 20, 8, 94, 1, 0 multichoicedefault 20, 8, 94, 1, 0
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243E9D goto_eq BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243E9D
msgbox BattleFrontier_BattleTowerMultiBattleRoom_Text_24410C, 4 msgbox BattleFrontier_BattleTowerMultiBattleRoom_Text_24410C, 4
release release
@@ -192,9 +192,9 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243F36:: @ 8243F36
waitmessage waitmessage
waitbuttonpress waitbuttonpress
closemessage closemessage
compare_var_to_value VAR_FACING, 1 compare VAR_FACING, 1
call_if 5, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FD4 call_if 5, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FD4
compare_var_to_value VAR_FACING, 1 compare VAR_FACING, 1
call_if 1, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FDF call_if 1, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FDF
removeobject VAR_LAST_TALKED removeobject VAR_LAST_TALKED
setflag FLAG_0x152 setflag FLAG_0x152
+17 -17
View File
@@ -15,9 +15,9 @@ BattleFrontier_Lounge1_EventScript_25E775:: @ 825E775
BattleFrontier_Lounge1_EventScript_25E792:: @ 825E792 BattleFrontier_Lounge1_EventScript_25E792:: @ 825E792
special sub_81B94B0 special sub_81B94B0
waitstate waitstate
compare_var_to_value VAR_0x8004, 255 compare VAR_0x8004, 255
goto_if 5, BattleFrontier_Lounge1_EventScript_25E7BF goto_if 5, BattleFrontier_Lounge1_EventScript_25E7BF
compare_var_to_value VAR_0x8004, 255 compare VAR_0x8004, 255
goto_eq BattleFrontier_Lounge1_EventScript_25E943 goto_eq BattleFrontier_Lounge1_EventScript_25E943
end end
@@ -31,16 +31,16 @@ BattleFrontier_Lounge1_EventScript_25E7B6:: @ 825E7B6
BattleFrontier_Lounge1_EventScript_25E7BF:: @ 825E7BF BattleFrontier_Lounge1_EventScript_25E7BF:: @ 825E7BF
specialvar VAR_RESULT, sub_81396E0 specialvar VAR_RESULT, sub_81396E0
compare_var_to_value VAR_RESULT, 412 compare VAR_RESULT, 412
goto_eq BattleFrontier_Lounge1_EventScript_25E7FF goto_eq BattleFrontier_Lounge1_EventScript_25E7FF
special sub_8139D98 special sub_8139D98
compare_var_to_value VAR_0x8005, 90 compare VAR_0x8005, 90
goto_if 3, BattleFrontier_Lounge1_EventScript_25E87F goto_if 3, BattleFrontier_Lounge1_EventScript_25E87F
compare_var_to_value VAR_0x8005, 120 compare VAR_0x8005, 120
goto_if 3, BattleFrontier_Lounge1_EventScript_25E88D goto_if 3, BattleFrontier_Lounge1_EventScript_25E88D
compare_var_to_value VAR_0x8005, 150 compare VAR_0x8005, 150
goto_if 3, BattleFrontier_Lounge1_EventScript_25E89B goto_if 3, BattleFrontier_Lounge1_EventScript_25E89B
compare_var_to_value VAR_0x8005, 151 compare VAR_0x8005, 151
goto_if 4, BattleFrontier_Lounge1_EventScript_25E8A9 goto_if 4, BattleFrontier_Lounge1_EventScript_25E8A9
end end
@@ -50,28 +50,28 @@ BattleFrontier_Lounge1_EventScript_25E7FF:: @ 825E7FF
end end
BattleFrontier_Lounge1_EventScript_25E80D:: @ 825E80D BattleFrontier_Lounge1_EventScript_25E80D:: @ 825E80D
compare_var_to_value VAR_0x8006, 0 compare VAR_0x8006, 0
goto_eq BattleFrontier_Lounge1_EventScript_25E8B7 goto_eq BattleFrontier_Lounge1_EventScript_25E8B7
compare_var_to_value VAR_0x8006, 1 compare VAR_0x8006, 1
goto_eq BattleFrontier_Lounge1_EventScript_25E8C5 goto_eq BattleFrontier_Lounge1_EventScript_25E8C5
compare_var_to_value VAR_0x8006, 2 compare VAR_0x8006, 2
goto_eq BattleFrontier_Lounge1_EventScript_25E8D3 goto_eq BattleFrontier_Lounge1_EventScript_25E8D3
compare_var_to_value VAR_0x8006, 3 compare VAR_0x8006, 3
goto_eq BattleFrontier_Lounge1_EventScript_25E8E1 goto_eq BattleFrontier_Lounge1_EventScript_25E8E1
compare_var_to_value VAR_0x8006, 4 compare VAR_0x8006, 4
goto_eq BattleFrontier_Lounge1_EventScript_25E8EF goto_eq BattleFrontier_Lounge1_EventScript_25E8EF
compare_var_to_value VAR_0x8006, 5 compare VAR_0x8006, 5
goto_eq BattleFrontier_Lounge1_EventScript_25E8FD goto_eq BattleFrontier_Lounge1_EventScript_25E8FD
end end
BattleFrontier_Lounge1_EventScript_25E850:: @ 825E850 BattleFrontier_Lounge1_EventScript_25E850:: @ 825E850
compare_var_to_value VAR_0x8007, 15 compare VAR_0x8007, 15
goto_if 3, BattleFrontier_Lounge1_EventScript_25E90B goto_if 3, BattleFrontier_Lounge1_EventScript_25E90B
compare_var_to_value VAR_0x8007, 25 compare VAR_0x8007, 25
goto_if 3, BattleFrontier_Lounge1_EventScript_25E919 goto_if 3, BattleFrontier_Lounge1_EventScript_25E919
compare_var_to_value VAR_0x8007, 30 compare VAR_0x8007, 30
goto_if 3, BattleFrontier_Lounge1_EventScript_25E927 goto_if 3, BattleFrontier_Lounge1_EventScript_25E927
compare_var_to_value VAR_0x8007, 31 compare VAR_0x8007, 31
goto_if 4, BattleFrontier_Lounge1_EventScript_25E935 goto_if 4, BattleFrontier_Lounge1_EventScript_25E935
end end
+12 -12
View File
@@ -17,29 +17,29 @@ BattleFrontier_Lounge2_EventScript_26065F:: @ 826065F
end end
BattleFrontier_Lounge2_EventScript_26066D:: @ 826066D BattleFrontier_Lounge2_EventScript_26066D:: @ 826066D
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 0 compare VAR_FRONTIER_MANIAC_FACILITY, 0
call_if 1, BattleFrontier_Lounge2_EventScript_26070A call_if 1, BattleFrontier_Lounge2_EventScript_26070A
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 1 compare VAR_FRONTIER_MANIAC_FACILITY, 1
call_if 1, BattleFrontier_Lounge2_EventScript_26070F call_if 1, BattleFrontier_Lounge2_EventScript_26070F
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 2 compare VAR_FRONTIER_MANIAC_FACILITY, 2
call_if 1, BattleFrontier_Lounge2_EventScript_260714 call_if 1, BattleFrontier_Lounge2_EventScript_260714
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 3 compare VAR_FRONTIER_MANIAC_FACILITY, 3
call_if 1, BattleFrontier_Lounge2_EventScript_260719 call_if 1, BattleFrontier_Lounge2_EventScript_260719
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 4 compare VAR_FRONTIER_MANIAC_FACILITY, 4
call_if 1, BattleFrontier_Lounge2_EventScript_26071E call_if 1, BattleFrontier_Lounge2_EventScript_26071E
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 5 compare VAR_FRONTIER_MANIAC_FACILITY, 5
call_if 1, BattleFrontier_Lounge2_EventScript_260723 call_if 1, BattleFrontier_Lounge2_EventScript_260723
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 6 compare VAR_FRONTIER_MANIAC_FACILITY, 6
call_if 1, BattleFrontier_Lounge2_EventScript_260728 call_if 1, BattleFrontier_Lounge2_EventScript_260728
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 7 compare VAR_FRONTIER_MANIAC_FACILITY, 7
call_if 1, BattleFrontier_Lounge2_EventScript_26072D call_if 1, BattleFrontier_Lounge2_EventScript_26072D
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 8 compare VAR_FRONTIER_MANIAC_FACILITY, 8
call_if 1, BattleFrontier_Lounge2_EventScript_260732 call_if 1, BattleFrontier_Lounge2_EventScript_260732
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 9 compare VAR_FRONTIER_MANIAC_FACILITY, 9
call_if 1, BattleFrontier_Lounge2_EventScript_260737 call_if 1, BattleFrontier_Lounge2_EventScript_260737
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 3 compare VAR_FRONTIER_MANIAC_FACILITY, 3
call_if 3, BattleFrontier_Lounge2_EventScript_2606F8 call_if 3, BattleFrontier_Lounge2_EventScript_2606F8
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 4 compare VAR_FRONTIER_MANIAC_FACILITY, 4
call_if 4, BattleFrontier_Lounge2_EventScript_260701 call_if 4, BattleFrontier_Lounge2_EventScript_260701
special sub_8139F20 special sub_8139F20
waitmessage waitmessage
+10 -10
View File
@@ -7,7 +7,7 @@ BattleFrontier_Lounge3_EventScript_261D83:: @ 8261D83
checkflag FLAG_0x157 checkflag FLAG_0x157
goto_eq BattleFrontier_Lounge3_EventScript_261EF9 goto_eq BattleFrontier_Lounge3_EventScript_261EF9
call BattleFrontier_Lounge3_EventScript_261EA0 call BattleFrontier_Lounge3_EventScript_261EA0
compare_var_to_value VAR_0x8004, 2 compare VAR_0x8004, 2
goto_if 3, BattleFrontier_Lounge3_EventScript_261EEB goto_if 3, BattleFrontier_Lounge3_EventScript_261EEB
setflag FLAG_0x157 setflag FLAG_0x157
msgbox BattleFrontier_Lounge3_Text_262061, 4 msgbox BattleFrontier_Lounge3_Text_262061, 4
@@ -19,10 +19,10 @@ BattleFrontier_Lounge3_EventScript_261DAF:: @ 8261DAF
waitmessage waitmessage
waitbuttonpress waitbuttonpress
msgbox BattleFrontier_Lounge3_Text_262A60, 5 msgbox BattleFrontier_Lounge3_Text_262A60, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge3_EventScript_261FA5 goto_eq BattleFrontier_Lounge3_EventScript_261FA5
msgbox BattleFrontier_Lounge3_Text_262ABD, 5 msgbox BattleFrontier_Lounge3_Text_262ABD, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge3_EventScript_261FA5 goto_eq BattleFrontier_Lounge3_EventScript_261FA5
message BattleFrontier_Lounge3_Text_262B42 message BattleFrontier_Lounge3_Text_262B42
waitmessage waitmessage
@@ -58,7 +58,7 @@ BattleFrontier_Lounge3_EventScript_261E46:: @ 8261E46
BattleFrontier_Lounge3_EventScript_261E51:: @ 8261E51 BattleFrontier_Lounge3_EventScript_261E51:: @ 8261E51
specialvar VAR_0x4001, sub_813AA04 specialvar VAR_0x4001, sub_813AA04
compare_var_to_var VAR_0x4001, VAR_0x8008 compare VAR_0x4001, VAR_0x8008
goto_if 4, BattleFrontier_Lounge3_EventScript_261E75 goto_if 4, BattleFrontier_Lounge3_EventScript_261E75
msgbox BattleFrontier_Lounge3_Text_262B6E, 4 msgbox BattleFrontier_Lounge3_Text_262B6E, 4
message BattleFrontier_Lounge3_Text_262B42 message BattleFrontier_Lounge3_Text_262B42
@@ -113,26 +113,26 @@ BattleFrontier_Lounge3_EventScript_261EEB:: @ 8261EEB
BattleFrontier_Lounge3_EventScript_261EF9:: @ 8261EF9 BattleFrontier_Lounge3_EventScript_261EF9:: @ 8261EF9
msgbox BattleFrontier_Lounge3_Text_26346B, 4 msgbox BattleFrontier_Lounge3_Text_26346B, 4
compare_var_to_value VAR_FRONTIER_GAMBLER_PLACED_BET_F, 1 compare VAR_FRONTIER_GAMBLER_PLACED_BET_F, 1
goto_if 4, BattleFrontier_Lounge3_EventScript_261F12 goto_if 4, BattleFrontier_Lounge3_EventScript_261F12
goto BattleFrontier_Lounge3_EventScript_261DAF goto BattleFrontier_Lounge3_EventScript_261DAF
end end
BattleFrontier_Lounge3_EventScript_261F12:: @ 8261F12 BattleFrontier_Lounge3_EventScript_261F12:: @ 8261F12
compare_var_to_value VAR_FRONTIER_GAMBLER_PLACED_BET_F, 1 compare VAR_FRONTIER_GAMBLER_PLACED_BET_F, 1
goto_eq BattleFrontier_Lounge3_EventScript_261F9E goto_eq BattleFrontier_Lounge3_EventScript_261F9E
compare_var_to_value VAR_FRONTIER_GAMBLER_PLACED_BET_F, 2 compare VAR_FRONTIER_GAMBLER_PLACED_BET_F, 2
goto_eq BattleFrontier_Lounge3_EventScript_261F2E goto_eq BattleFrontier_Lounge3_EventScript_261F2E
goto BattleFrontier_Lounge3_EventScript_261F71 goto BattleFrontier_Lounge3_EventScript_261F71
end end
BattleFrontier_Lounge3_EventScript_261F2E:: @ 8261F2E BattleFrontier_Lounge3_EventScript_261F2E:: @ 8261F2E
msgbox BattleFrontier_Lounge3_Text_263334, 4 msgbox BattleFrontier_Lounge3_Text_263334, 4
compare_var_to_value VAR_FRONTIER_GAMBLER_AMOUNT_BET, 0 compare VAR_FRONTIER_GAMBLER_AMOUNT_BET, 0
call_if 1, BattleFrontier_Lounge3_EventScript_261F80 call_if 1, BattleFrontier_Lounge3_EventScript_261F80
compare_var_to_value VAR_FRONTIER_GAMBLER_AMOUNT_BET, 1 compare VAR_FRONTIER_GAMBLER_AMOUNT_BET, 1
call_if 1, BattleFrontier_Lounge3_EventScript_261F8A call_if 1, BattleFrontier_Lounge3_EventScript_261F8A
compare_var_to_value VAR_FRONTIER_GAMBLER_AMOUNT_BET, 2 compare VAR_FRONTIER_GAMBLER_AMOUNT_BET, 2
call_if 1, BattleFrontier_Lounge3_EventScript_261F94 call_if 1, BattleFrontier_Lounge3_EventScript_261F94
msgbox BattleFrontier_Lounge3_Text_2633D4, 9 msgbox BattleFrontier_Lounge3_Text_2633D4, 9
special sub_813A9D0 special sub_813A9D0
+3 -3
View File
@@ -5,16 +5,16 @@ BattleFrontier_Lounge5_EventScript_2645C6:: @ 82645C6
lock lock
faceplayer faceplayer
msgbox BattleFrontier_Lounge5_Text_264632, 5 msgbox BattleFrontier_Lounge5_Text_264632, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge5_EventScript_26460D goto_eq BattleFrontier_Lounge5_EventScript_26460D
special sub_81B94B0 special sub_81B94B0
waitstate waitstate
lock lock
faceplayer faceplayer
compare_var_to_value VAR_0x8004, 255 compare VAR_0x8004, 255
goto_eq BattleFrontier_Lounge5_EventScript_26460D goto_eq BattleFrontier_Lounge5_EventScript_26460D
specialvar VAR_RESULT, sub_81396E0 specialvar VAR_RESULT, sub_81396E0
compare_var_to_value VAR_RESULT, 412 compare VAR_RESULT, 412
goto_eq BattleFrontier_Lounge5_EventScript_264603 goto_eq BattleFrontier_Lounge5_EventScript_264603
special sub_813A7B8 special sub_813A7B8
waitmessage waitmessage
+3 -3
View File
@@ -11,17 +11,17 @@ BattleFrontier_Lounge6_EventScript_264FED:: @ 8264FED
specialvar VAR_RESULT, sub_807E73C specialvar VAR_RESULT, sub_807E73C
copyvar VAR_0x8009, VAR_RESULT copyvar VAR_0x8009, VAR_RESULT
msgbox BattleFrontier_Lounge6_Text_26508D, 5 msgbox BattleFrontier_Lounge6_Text_26508D, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge6_EventScript_26506B goto_eq BattleFrontier_Lounge6_EventScript_26506B
special sub_81B94B0 special sub_81B94B0
waitstate waitstate
copyvar VAR_0x800A, VAR_0x8004 copyvar VAR_0x800A, VAR_0x8004
compare_var_to_value VAR_0x8004, 255 compare VAR_0x8004, 255
goto_eq BattleFrontier_Lounge6_EventScript_26506B goto_eq BattleFrontier_Lounge6_EventScript_26506B
copyvar VAR_0x8005, VAR_0x800A copyvar VAR_0x8005, VAR_0x800A
specialvar VAR_RESULT, sub_807E9D4 specialvar VAR_RESULT, sub_807E9D4
copyvar VAR_0x800B, VAR_RESULT copyvar VAR_0x800B, VAR_RESULT
compare_var_to_var VAR_RESULT, VAR_0x8009 compare VAR_RESULT, VAR_0x8009
goto_if 5, BattleFrontier_Lounge6_EventScript_265075 goto_if 5, BattleFrontier_Lounge6_EventScript_265075
copyvar VAR_0x8004, VAR_0x8008 copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A copyvar VAR_0x8005, VAR_0x800A
+4 -4
View File
@@ -250,10 +250,10 @@ BattleFrontier_Lounge7_EventScript_26564F:: @ 826564F
buffernumberstring 1, VAR_0x8008 buffernumberstring 1, VAR_0x8008
copyvar VAR_0x8004, VAR_0x400C copyvar VAR_0x8004, VAR_0x400C
msgbox BattleFrontier_Lounge7_Text_265921, 5 msgbox BattleFrontier_Lounge7_Text_265921, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge7_EventScript_2656CA goto_eq BattleFrontier_Lounge7_EventScript_2656CA
specialvar VAR_0x4001, sub_813AA04 specialvar VAR_0x4001, sub_813AA04
compare_var_to_var VAR_0x4001, VAR_0x8008 compare VAR_0x4001, VAR_0x8008
goto_if 4, BattleFrontier_Lounge7_EventScript_265696 goto_if 4, BattleFrontier_Lounge7_EventScript_265696
msgbox BattleFrontier_Lounge7_Text_265997, 4 msgbox BattleFrontier_Lounge7_Text_265997, 4
goto BattleFrontier_Lounge7_EventScript_2656CA goto BattleFrontier_Lounge7_EventScript_2656CA
@@ -267,7 +267,7 @@ BattleFrontier_Lounge7_EventScript_265696:: @ 8265696
special sub_813ADB8 special sub_813ADB8
special sub_81B892C special sub_81B892C
waitstate waitstate
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge7_EventScript_265645 goto_eq BattleFrontier_Lounge7_EventScript_265645
msgbox BattleFrontier_Lounge7_Text_2659C7, 4 msgbox BattleFrontier_Lounge7_Text_2659C7, 4
copyvar VAR_0x8004, VAR_0x8008 copyvar VAR_0x8004, VAR_0x8008
@@ -276,7 +276,7 @@ BattleFrontier_Lounge7_EventScript_265696:: @ 8265696
end end
BattleFrontier_Lounge7_EventScript_2656CA:: @ 82656CA BattleFrontier_Lounge7_EventScript_2656CA:: @ 82656CA
compare_var_to_value VAR_0x400E, 0 compare VAR_0x400E, 0
goto_eq BattleFrontier_Lounge7_EventScript_26532F goto_eq BattleFrontier_Lounge7_EventScript_26532F
goto BattleFrontier_Lounge7_EventScript_26551F goto BattleFrontier_Lounge7_EventScript_26551F
end end
@@ -10,7 +10,7 @@ BattleFrontier_OutsideEast_MapScript1_242C0F: @ 8242C0F
BattleFrontier_OutsideEast_EventScript_242C19:: @ 8242C19 BattleFrontier_OutsideEast_EventScript_242C19:: @ 8242C19
specialvar VAR_RESULT, sub_8138B80 specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 7 compare VAR_RESULT, 7
goto_if 5, BattleFrontier_OutsideEast_EventScript_27374E goto_if 5, BattleFrontier_OutsideEast_EventScript_27374E
removeobject VAR_LAST_TALKED removeobject VAR_LAST_TALKED
return return
@@ -135,11 +135,11 @@ BattleFrontier_OutsideEast_EventScript_242CFC:: @ 8242CFC
dowildbattle dowildbattle
clearflag FLAG_SYS_CTRL_OBJ_DELETE clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, sub_8138B80 specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_OutsideEast_EventScript_242D60 goto_eq BattleFrontier_OutsideEast_EventScript_242D60
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq BattleFrontier_OutsideEast_EventScript_242D60 goto_eq BattleFrontier_OutsideEast_EventScript_242D60
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq BattleFrontier_OutsideEast_EventScript_242D60 goto_eq BattleFrontier_OutsideEast_EventScript_242D60
setflag FLAG_0x1C6 setflag FLAG_0x1C6
release release
@@ -12,7 +12,7 @@ BattleFrontier_OutsideWest_EventScript_23D3F0:: @ 823D3F0
faceplayer faceplayer
msgbox BattleFrontier_OutsideWest_Text_23D808, 4 msgbox BattleFrontier_OutsideWest_Text_23D808, 4
checkitem ITEM_SS_TICKET, 1 checkitem ITEM_SS_TICKET, 1
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_OutsideWest_EventScript_23D44E goto_eq BattleFrontier_OutsideWest_EventScript_23D44E
message BattleFrontier_OutsideWest_Text_23D89D message BattleFrontier_OutsideWest_Text_23D89D
waitmessage waitmessage
@@ -35,7 +35,7 @@ BattleFrontier_OutsideWest_EventScript_23D44E:: @ 823D44E
BattleFrontier_OutsideWest_EventScript_23D458:: @ 823D458 BattleFrontier_OutsideWest_EventScript_23D458:: @ 823D458
msgbox BattleFrontier_OutsideWest_Text_23D8F2, 5 msgbox BattleFrontier_OutsideWest_Text_23D8F2, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_OutsideWest_EventScript_23D4AE goto_eq BattleFrontier_OutsideWest_EventScript_23D4AE
msgbox BattleFrontier_OutsideWest_Text_23D94B, 4 msgbox BattleFrontier_OutsideWest_Text_23D94B, 4
call BattleFrontier_OutsideWest_EventScript_23D4BA call BattleFrontier_OutsideWest_EventScript_23D4BA
@@ -46,7 +46,7 @@ BattleFrontier_OutsideWest_EventScript_23D458:: @ 823D458
BattleFrontier_OutsideWest_EventScript_23D483:: @ 823D483 BattleFrontier_OutsideWest_EventScript_23D483:: @ 823D483
msgbox BattleFrontier_OutsideWest_Text_23D90E, 5 msgbox BattleFrontier_OutsideWest_Text_23D90E, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_OutsideWest_EventScript_23D4AE goto_eq BattleFrontier_OutsideWest_EventScript_23D4AE
msgbox BattleFrontier_OutsideWest_Text_23D94B, 4 msgbox BattleFrontier_OutsideWest_Text_23D94B, 4
call BattleFrontier_OutsideWest_EventScript_23D4BA call BattleFrontier_OutsideWest_EventScript_23D4BA
@@ -144,13 +144,13 @@ BattleFrontier_OutsideWest_EventScript_23D57F:: @ 823D57F
lock lock
faceplayer faceplayer
delay 20 delay 20
compare_var_to_value VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, BattleFrontier_OutsideWest_EventScript_23D5BA call_if 1, BattleFrontier_OutsideWest_EventScript_23D5BA
compare_var_to_value VAR_FACING, 1 compare VAR_FACING, 1
call_if 1, BattleFrontier_OutsideWest_EventScript_23D5C5 call_if 1, BattleFrontier_OutsideWest_EventScript_23D5C5
compare_var_to_value VAR_FACING, 3 compare VAR_FACING, 3
call_if 1, BattleFrontier_OutsideWest_EventScript_23D5BA call_if 1, BattleFrontier_OutsideWest_EventScript_23D5BA
compare_var_to_value VAR_FACING, 4 compare VAR_FACING, 4
call_if 1, BattleFrontier_OutsideWest_EventScript_23D5BA call_if 1, BattleFrontier_OutsideWest_EventScript_23D5BA
msgbox BattleFrontier_OutsideWest_Text_23DC36, 4 msgbox BattleFrontier_OutsideWest_Text_23DC36, 4
release release
@@ -169,13 +169,13 @@ BattleFrontier_OutsideWest_EventScript_23D5C6:: @ 823D5C6
faceplayer faceplayer
message BattleFrontier_OutsideWest_Text_23DCB0 message BattleFrontier_OutsideWest_Text_23DCB0
waitmessage waitmessage
compare_var_to_value VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, BattleFrontier_OutsideWest_EventScript_23D5FD call_if 1, BattleFrontier_OutsideWest_EventScript_23D5FD
compare_var_to_value VAR_FACING, 1 compare VAR_FACING, 1
call_if 1, BattleFrontier_OutsideWest_EventScript_23D608 call_if 1, BattleFrontier_OutsideWest_EventScript_23D608
compare_var_to_value VAR_FACING, 3 compare VAR_FACING, 3
call_if 1, BattleFrontier_OutsideWest_EventScript_23D613 call_if 1, BattleFrontier_OutsideWest_EventScript_23D613
compare_var_to_value VAR_FACING, 4 compare VAR_FACING, 4
call_if 1, BattleFrontier_OutsideWest_EventScript_23D61E call_if 1, BattleFrontier_OutsideWest_EventScript_23D61E
waitbuttonpress waitbuttonpress
release release
@@ -226,7 +226,7 @@ BattleFrontier_OutsideWest_EventScript_23D635:: @ 823D635
faceplayer faceplayer
msgbox BattleFrontier_OutsideWest_Text_23DD3B, 4 msgbox BattleFrontier_OutsideWest_Text_23DD3B, 4
random 2 random 2
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_OutsideWest_EventScript_23D653 goto_eq BattleFrontier_OutsideWest_EventScript_23D653
goto BattleFrontier_OutsideWest_EventScript_23D65D goto BattleFrontier_OutsideWest_EventScript_23D65D
end end
@@ -86,7 +86,7 @@ BattleFrontier_RankingHall_EventScript_25E54A:: @ 825E54A
lock lock
faceplayer faceplayer
msgbox BattleFrontier_RankingHall_Text_25E666, 5 msgbox BattleFrontier_RankingHall_Text_25E666, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_RankingHall_EventScript_25E569 goto_eq BattleFrontier_RankingHall_EventScript_25E569
msgbox BattleFrontier_RankingHall_Text_25E6B6, 4 msgbox BattleFrontier_RankingHall_Text_25E6B6, 4
release release
@@ -48,7 +48,7 @@ BattleFrontier_ScottsHouse_EventScript_263704:: @ 8263704
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC
msgbox BattleFrontier_ScottsHouse_Text_2640BC, 4 msgbox BattleFrontier_ScottsHouse_Text_2640BC, 4
giveitem_std ITEM_LANSAT_BERRY giveitem_std ITEM_LANSAT_BERRY
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_ScottsHouse_EventScript_2637D0 goto_eq BattleFrontier_ScottsHouse_EventScript_2637D0
setflag FLAG_0x05C setflag FLAG_0x05C
setflag FLAG_0x004 setflag FLAG_0x004
@@ -72,7 +72,7 @@ BattleFrontier_ScottsHouse_EventScript_26376A:: @ 826376A
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC
msgbox BattleFrontier_ScottsHouse_Text_264216, 4 msgbox BattleFrontier_ScottsHouse_Text_264216, 4
giveitem_std ITEM_STARF_BERRY giveitem_std ITEM_STARF_BERRY
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_ScottsHouse_EventScript_2637D0 goto_eq BattleFrontier_ScottsHouse_EventScript_2637D0
setflag FLAG_0x1D2 setflag FLAG_0x1D2
setflag FLAG_0x004 setflag FLAG_0x004
@@ -91,9 +91,9 @@ BattleFrontier_ScottsHouse_EventScript_2637DA:: @ 82637DA
BattleFrontier_ScottsHouse_EventScript_2637E4:: @ 82637E4 BattleFrontier_ScottsHouse_EventScript_2637E4:: @ 82637E4
random 3 random 3
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_ScottsHouse_EventScript_263807 goto_eq BattleFrontier_ScottsHouse_EventScript_263807
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_ScottsHouse_EventScript_263811 goto_eq BattleFrontier_ScottsHouse_EventScript_263811
msgbox BattleFrontier_ScottsHouse_Text_263DDD, 4 msgbox BattleFrontier_ScottsHouse_Text_263DDD, 4
release release
@@ -118,7 +118,7 @@ BattleFrontier_ScottsHouse_EventScript_26381B:: @ 826381B
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_8161F74 special sub_8161F74
compare_var_to_value VAR_RESULT, 50 compare VAR_RESULT, 50
goto_if 4, BattleFrontier_ScottsHouse_EventScript_26387A goto_if 4, BattleFrontier_ScottsHouse_EventScript_26387A
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
@@ -127,7 +127,7 @@ BattleFrontier_ScottsHouse_EventScript_26381B:: @ 826381B
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_8161F74 special sub_8161F74
compare_var_to_value VAR_RESULT, 50 compare VAR_RESULT, 50
goto_if 4, BattleFrontier_ScottsHouse_EventScript_26387A goto_if 4, BattleFrontier_ScottsHouse_EventScript_26387A
goto BattleFrontier_ScottsHouse_EventScript_2637E4 goto BattleFrontier_ScottsHouse_EventScript_2637E4
end end
@@ -135,7 +135,7 @@ BattleFrontier_ScottsHouse_EventScript_26381B:: @ 826381B
BattleFrontier_ScottsHouse_EventScript_26387A:: @ 826387A BattleFrontier_ScottsHouse_EventScript_26387A:: @ 826387A
msgbox BattleFrontier_ScottsHouse_Text_264412, 4 msgbox BattleFrontier_ScottsHouse_Text_264412, 4
givedecoration_std 42 givedecoration_std 42
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_ScottsHouse_EventScript_2638A0 goto_eq BattleFrontier_ScottsHouse_EventScript_2638A0
setflag FLAG_0x0ED setflag FLAG_0x0ED
setflag FLAG_0x003 setflag FLAG_0x003
@@ -161,7 +161,7 @@ BattleFrontier_ScottsHouse_EventScript_2638B4:: @ 82638B4
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_8161F74 special sub_8161F74
compare_var_to_value VAR_RESULT, 100 compare VAR_RESULT, 100
goto_if 4, BattleFrontier_ScottsHouse_EventScript_263913 goto_if 4, BattleFrontier_ScottsHouse_EventScript_263913
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
@@ -170,7 +170,7 @@ BattleFrontier_ScottsHouse_EventScript_2638B4:: @ 82638B4
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_8161F74 special sub_8161F74
compare_var_to_value VAR_RESULT, 100 compare VAR_RESULT, 100
goto_if 4, BattleFrontier_ScottsHouse_EventScript_263913 goto_if 4, BattleFrontier_ScottsHouse_EventScript_263913
goto BattleFrontier_ScottsHouse_EventScript_2637E4 goto BattleFrontier_ScottsHouse_EventScript_2637E4
end end
@@ -178,7 +178,7 @@ BattleFrontier_ScottsHouse_EventScript_2638B4:: @ 82638B4
BattleFrontier_ScottsHouse_EventScript_263913:: @ 8263913 BattleFrontier_ScottsHouse_EventScript_263913:: @ 8263913
msgbox BattleFrontier_ScottsHouse_Text_26449F, 4 msgbox BattleFrontier_ScottsHouse_Text_26449F, 4
givedecoration_std 43 givedecoration_std 43
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_ScottsHouse_EventScript_2638A0 goto_eq BattleFrontier_ScottsHouse_EventScript_2638A0
setflag FLAG_0x0EE setflag FLAG_0x0EE
setflag FLAG_0x003 setflag FLAG_0x003
@@ -194,23 +194,23 @@ BattleFrontier_ScottsHouse_EventScript_263943:: @ 8263943
msgbox BattleFrontier_ScottsHouse_Text_263A3F, 4 msgbox BattleFrontier_ScottsHouse_Text_263A3F, 4
closemessage closemessage
delay 30 delay 30
compare_var_to_value VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, BattleFrontier_ScottsHouse_EventScript_263A13 call_if 1, BattleFrontier_ScottsHouse_EventScript_263A13
compare_var_to_value VAR_FACING, 1 compare VAR_FACING, 1
call_if 1, BattleFrontier_ScottsHouse_EventScript_263A1E call_if 1, BattleFrontier_ScottsHouse_EventScript_263A1E
compare_var_to_value VAR_FACING, 4 compare VAR_FACING, 4
call_if 1, BattleFrontier_ScottsHouse_EventScript_263A29 call_if 1, BattleFrontier_ScottsHouse_EventScript_263A29
compare_var_to_value VAR_FACING, 3 compare VAR_FACING, 3
call_if 1, BattleFrontier_ScottsHouse_EventScript_263A34 call_if 1, BattleFrontier_ScottsHouse_EventScript_263A34
msgbox BattleFrontier_ScottsHouse_Text_263B29, 4 msgbox BattleFrontier_ScottsHouse_Text_263B29, 4
applymovement 1, BattleFrontier_ScottsHouse_Movement_27259E applymovement 1, BattleFrontier_ScottsHouse_Movement_27259E
waitmovement 0 waitmovement 0
msgbox BattleFrontier_ScottsHouse_Text_263BD4, 4 msgbox BattleFrontier_ScottsHouse_Text_263BD4, 4
compare_var_to_value VAR_0x40D1, 13 compare VAR_0x40D1, 13
goto_eq BattleFrontier_ScottsHouse_EventScript_2639BC goto_eq BattleFrontier_ScottsHouse_EventScript_2639BC
compare_var_to_value VAR_0x40D1, 9 compare VAR_0x40D1, 9
goto_if 4, BattleFrontier_ScottsHouse_EventScript_2639CB goto_if 4, BattleFrontier_ScottsHouse_EventScript_2639CB
compare_var_to_value VAR_0x40D1, 6 compare VAR_0x40D1, 6
goto_if 4, BattleFrontier_ScottsHouse_EventScript_2639DA goto_if 4, BattleFrontier_ScottsHouse_EventScript_2639DA
goto BattleFrontier_ScottsHouse_EventScript_2639E9 goto BattleFrontier_ScottsHouse_EventScript_2639E9
end end
+4 -4
View File
@@ -38,7 +38,7 @@ BirthIsland_Exterior_MapScript1_267F65: @ 8267F65
BirthIsland_Exterior_EventScript_267F6F:: @ 8267F6F BirthIsland_Exterior_EventScript_267F6F:: @ 8267F6F
specialvar VAR_RESULT, sub_8138B80 specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 7 compare VAR_RESULT, 7
goto_if 5, BirthIsland_Exterior_EventScript_27374E goto_if 5, BirthIsland_Exterior_EventScript_27374E
removeobject 2 removeobject 2
return return
@@ -92,11 +92,11 @@ BirthIsland_Exterior_EventScript_267FC1:: @ 8267FC1
waitstate waitstate
clearflag FLAG_SYS_CTRL_OBJ_DELETE clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, sub_8138B80 specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BirthIsland_Exterior_EventScript_26803B goto_eq BirthIsland_Exterior_EventScript_26803B
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq BirthIsland_Exterior_EventScript_268049 goto_eq BirthIsland_Exterior_EventScript_268049
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq BirthIsland_Exterior_EventScript_268049 goto_eq BirthIsland_Exterior_EventScript_268049
setflag FLAG_0x1AD setflag FLAG_0x1AD
release release
+1 -1
View File
@@ -5,7 +5,7 @@ BirthIsland_Harbor_EventScript_26805D:: @ 826805D
lock lock
faceplayer faceplayer
msgbox BirthIsland_Harbor_Text_2C6B90, 5 msgbox BirthIsland_Harbor_Text_2C6B90, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BirthIsland_Harbor_EventScript_2680A2 goto_eq BirthIsland_Harbor_EventScript_2680A2
msgbox BirthIsland_Harbor_Text_2A6A5D, 4 msgbox BirthIsland_Harbor_Text_2A6A5D, 4
closemessage closemessage
+4 -4
View File
@@ -11,7 +11,7 @@ DesertRuins_MapScript1_22D96B: @ 822D96B
DesertRuins_EventScript_22D975:: @ 822D975 DesertRuins_EventScript_22D975:: @ 822D975
specialvar VAR_RESULT, sub_8138B80 specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 7 compare VAR_RESULT, 7
goto_if 5, DesertRuins_EventScript_27374E goto_if 5, DesertRuins_EventScript_27374E
removeobject VAR_LAST_TALKED removeobject VAR_LAST_TALKED
return return
@@ -76,11 +76,11 @@ DesertRuins_EventScript_22DA02:: @ 822DA02
waitstate waitstate
clearflag FLAG_SYS_CTRL_OBJ_DELETE clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, sub_8138B80 specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq DesertRuins_EventScript_22DA49 goto_eq DesertRuins_EventScript_22DA49
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq DesertRuins_EventScript_22DA52 goto_eq DesertRuins_EventScript_22DA52
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq DesertRuins_EventScript_22DA52 goto_eq DesertRuins_EventScript_22DA52
setflag FLAG_0x1BB setflag FLAG_0x1BB
release release
+10 -10
View File
@@ -43,7 +43,7 @@ DewfordTown_EventScript_1E957A:: @ 81E957A
DewfordTown_EventScript_1E9585:: @ 81E9585 DewfordTown_EventScript_1E9585:: @ 81E9585
msgbox DewfordTown_Text_1E9B24, 5 msgbox DewfordTown_Text_1E9B24, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq DewfordTown_EventScript_1E95A2 goto_eq DewfordTown_EventScript_1E95A2
msgbox DewfordTown_Text_1E9BD9, 4 msgbox DewfordTown_Text_1E9BD9, 4
release release
@@ -77,9 +77,9 @@ DewfordTown_EventScript_1E95D5:: @ 81E95D5
checkflag FLAG_0x101 checkflag FLAG_0x101
goto_eq DewfordTown_EventScript_1E962A goto_eq DewfordTown_EventScript_1E962A
msgbox DewfordTown_Text_1E9DD1, 5 msgbox DewfordTown_Text_1E9DD1, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq DewfordTown_EventScript_1E95FF goto_eq DewfordTown_EventScript_1E95FF
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DewfordTown_EventScript_1E9620 goto_eq DewfordTown_EventScript_1E9620
end end
@@ -100,9 +100,9 @@ DewfordTown_EventScript_1E962A:: @ 81E962A
message DewfordTown_Text_1E9FB8 message DewfordTown_Text_1E9FB8
waitmessage waitmessage
multichoice 20, 8, 50, 1 multichoice 20, 8, 50, 1
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DewfordTown_EventScript_1E964C goto_eq DewfordTown_EventScript_1E964C
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq DewfordTown_EventScript_1E9656 goto_eq DewfordTown_EventScript_1E9656
end end
@@ -599,9 +599,9 @@ DewfordTown_EventScript_1E9922:: @ 81E9922
faceplayer faceplayer
call DewfordTown_EventScript_271E8B call DewfordTown_EventScript_271E8B
msgbox DewfordTown_Text_1EA136, 5 msgbox DewfordTown_Text_1EA136, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq DewfordTown_EventScript_1E9948 goto_eq DewfordTown_EventScript_1E9948
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DewfordTown_EventScript_1E9952 goto_eq DewfordTown_EventScript_1E9952
end end
@@ -616,15 +616,15 @@ DewfordTown_EventScript_1E9952:: @ 81E9952
call DewfordTown_EventScript_271E7C call DewfordTown_EventScript_271E7C
lock lock
faceplayer faceplayer
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq DewfordTown_EventScript_1E997D goto_eq DewfordTown_EventScript_1E997D
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DewfordTown_EventScript_1E9994 goto_eq DewfordTown_EventScript_1E9994
end end
DewfordTown_EventScript_1E997D:: @ 81E997D DewfordTown_EventScript_1E997D:: @ 81E997D
incrementgamestat 2 incrementgamestat 2
compare_var_to_value VAR_0x8004, 0 compare VAR_0x8004, 0
goto_eq DewfordTown_EventScript_1E999E goto_eq DewfordTown_EventScript_1E999E
msgbox DewfordTown_Text_1EA2AA, 4 msgbox DewfordTown_Text_1EA2AA, 4
release release
+17 -17
View File
@@ -11,17 +11,17 @@ DewfordTown_Gym_EventScript_1FC648:: @ 81FC648
goto_eq DewfordTown_Gym_EventScript_1FC6A2 goto_eq DewfordTown_Gym_EventScript_1FC6A2
call DewfordTown_Gym_EventScript_1FC768 call DewfordTown_Gym_EventScript_1FC768
copyvar VAR_0x8001, VAR_0x8000 copyvar VAR_0x8001, VAR_0x8000
compare_var_to_value VAR_0x8000, 0 compare VAR_0x8000, 0
goto_eq DewfordTown_Gym_EventScript_1FC6BE goto_eq DewfordTown_Gym_EventScript_1FC6BE
compare_var_to_value VAR_0x8000, 1 compare VAR_0x8000, 1
goto_eq DewfordTown_Gym_EventScript_1FC6BA goto_eq DewfordTown_Gym_EventScript_1FC6BA
compare_var_to_value VAR_0x8000, 2 compare VAR_0x8000, 2
goto_eq DewfordTown_Gym_EventScript_1FC6B6 goto_eq DewfordTown_Gym_EventScript_1FC6B6
compare_var_to_value VAR_0x8000, 3 compare VAR_0x8000, 3
goto_eq DewfordTown_Gym_EventScript_1FC6B2 goto_eq DewfordTown_Gym_EventScript_1FC6B2
compare_var_to_value VAR_0x8000, 4 compare VAR_0x8000, 4
goto_eq DewfordTown_Gym_EventScript_1FC6AE goto_eq DewfordTown_Gym_EventScript_1FC6AE
compare_var_to_value VAR_0x8000, 5 compare VAR_0x8000, 5
goto_eq DewfordTown_Gym_EventScript_1FC6AA goto_eq DewfordTown_Gym_EventScript_1FC6AA
goto DewfordTown_Gym_EventScript_1FC6A6 goto DewfordTown_Gym_EventScript_1FC6A6
@@ -60,20 +60,20 @@ DewfordTown_Gym_EventScript_1FC6BE:: @ 81FC6BE
DewfordTown_Gym_EventScript_1FC6C2:: @ 81FC6C2 DewfordTown_Gym_EventScript_1FC6C2:: @ 81FC6C2
call DewfordTown_Gym_EventScript_1FC768 call DewfordTown_Gym_EventScript_1FC768
nop1 nop1
compare_var_to_var VAR_0x8000, VAR_0x8001 compare VAR_0x8000, VAR_0x8001
goto_eq DewfordTown_Gym_EventScript_1FC71A goto_eq DewfordTown_Gym_EventScript_1FC71A
copyvar VAR_0x8001, VAR_0x8000 copyvar VAR_0x8001, VAR_0x8000
compare_var_to_value VAR_0x8000, 1 compare VAR_0x8000, 1
goto_eq DewfordTown_Gym_EventScript_1FC71B goto_eq DewfordTown_Gym_EventScript_1FC71B
compare_var_to_value VAR_0x8000, 2 compare VAR_0x8000, 2
goto_eq DewfordTown_Gym_EventScript_1FC726 goto_eq DewfordTown_Gym_EventScript_1FC726
compare_var_to_value VAR_0x8000, 3 compare VAR_0x8000, 3
goto_eq DewfordTown_Gym_EventScript_1FC731 goto_eq DewfordTown_Gym_EventScript_1FC731
compare_var_to_value VAR_0x8000, 4 compare VAR_0x8000, 4
goto_eq DewfordTown_Gym_EventScript_1FC73C goto_eq DewfordTown_Gym_EventScript_1FC73C
compare_var_to_value VAR_0x8000, 5 compare VAR_0x8000, 5
goto_eq DewfordTown_Gym_EventScript_1FC747 goto_eq DewfordTown_Gym_EventScript_1FC747
compare_var_to_value VAR_0x8000, 6 compare VAR_0x8000, 6
goto_eq DewfordTown_Gym_EventScript_1FC752 goto_eq DewfordTown_Gym_EventScript_1FC752
DewfordTown_Gym_EventScript_1FC71A:: @ 81FC71A DewfordTown_Gym_EventScript_1FC71A:: @ 81FC71A
@@ -158,7 +158,7 @@ DewfordTown_Gym_EventScript_1FC7C1:: @ 81FC7C1
DewfordTown_Gym_EventScript_1FC7C2:: @ 81FC7C2 DewfordTown_Gym_EventScript_1FC7C2:: @ 81FC7C2
trainerbattle 1, TRAINER_BRAWLY_1, 0, DewfordTown_Gym_Text_1FCF44, DewfordTown_Gym_Text_1FD008, DewfordTown_Gym_EventScript_1FC7F7 trainerbattle 1, TRAINER_BRAWLY_1, 0, DewfordTown_Gym_Text_1FCF44, DewfordTown_Gym_Text_1FD008, DewfordTown_Gym_EventScript_1FC7F7
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq DewfordTown_Gym_EventScript_1FC89C goto_eq DewfordTown_Gym_EventScript_1FC89C
checkflag FLAG_0x0A6 checkflag FLAG_0x0A6
goto_if 0, DewfordTown_Gym_EventScript_1FC878 goto_if 0, DewfordTown_Gym_EventScript_1FC878
@@ -175,7 +175,7 @@ DewfordTown_Gym_EventScript_1FC7F7:: @ 81FC7F7
setflag FLAG_0x4F1 setflag FLAG_0x4F1
setflag FLAG_BADGE02_GET setflag FLAG_BADGE02_GET
addvar VAR_0x4085, 1 addvar VAR_0x4085, 1
compare_var_to_value VAR_0x4085, 6 compare VAR_0x4085, 6
call_if 1, DewfordTown_Gym_EventScript_271E84 call_if 1, DewfordTown_Gym_EventScript_271E84
setvar VAR_0x8008, 2 setvar VAR_0x8008, 2
call DewfordTown_Gym_EventScript_271F43 call DewfordTown_Gym_EventScript_271F43
@@ -195,7 +195,7 @@ DewfordTown_Gym_EventScript_1FC7F7:: @ 81FC7F7
DewfordTown_Gym_EventScript_1FC855:: @ 81FC855 DewfordTown_Gym_EventScript_1FC855:: @ 81FC855
giveitem_std ITEM_TM08 giveitem_std ITEM_TM08
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DewfordTown_Gym_EventScript_27205E goto_eq DewfordTown_Gym_EventScript_27205E
msgbox DewfordTown_Gym_Text_1FD181, 4 msgbox DewfordTown_Gym_Text_1FD181, 4
setflag FLAG_0x0A6 setflag FLAG_0x0A6
@@ -203,7 +203,7 @@ DewfordTown_Gym_EventScript_1FC855:: @ 81FC855
DewfordTown_Gym_EventScript_1FC878:: @ 81FC878 DewfordTown_Gym_EventScript_1FC878:: @ 81FC878
giveitem_std ITEM_TM08 giveitem_std ITEM_TM08
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DewfordTown_Gym_EventScript_272054 goto_eq DewfordTown_Gym_EventScript_272054
msgbox DewfordTown_Gym_Text_1FD181, 4 msgbox DewfordTown_Gym_Text_1FD181, 4
setflag FLAG_0x0A6 setflag FLAG_0x0A6
+12 -12
View File
@@ -6,7 +6,7 @@ DewfordTown_Hall_EventScript_1FD4D0:: @ 81FD4D0
faceplayer faceplayer
call DewfordTown_Hall_EventScript_271E8B call DewfordTown_Hall_EventScript_271E8B
special sub_81229C8 special sub_81229C8
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq DewfordTown_Hall_EventScript_1FD4EF goto_eq DewfordTown_Hall_EventScript_1FD4EF
msgbox DewfordTown_Hall_Text_1FD818, 4 msgbox DewfordTown_Hall_Text_1FD818, 4
release release
@@ -31,9 +31,9 @@ DewfordTown_Hall_EventScript_1FD50A:: @ 81FD50A
call DewfordTown_Hall_EventScript_271E8B call DewfordTown_Hall_EventScript_271E8B
special sub_811EF6C special sub_811EF6C
msgbox DewfordTown_Hall_Text_1FD948, 5 msgbox DewfordTown_Hall_Text_1FD948, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq DewfordTown_Hall_EventScript_1FD533 goto_eq DewfordTown_Hall_EventScript_1FD533
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DewfordTown_Hall_EventScript_1FD53D goto_eq DewfordTown_Hall_EventScript_1FD53D
end end
@@ -191,14 +191,14 @@ DewfordTown_Hall_EventScript_1FD739:: @ 81FD739
DewfordTown_Hall_EventScript_1FD73A:: @ 81FD73A DewfordTown_Hall_EventScript_1FD73A:: @ 81FD73A
applymovement 8, DewfordTown_Hall_Movement_1FD7D6 applymovement 8, DewfordTown_Hall_Movement_1FD7D6
waitmovement 0 waitmovement 0
compare_var_to_value VAR_0x8008, 0 compare VAR_0x8008, 0
goto_eq DewfordTown_Hall_EventScript_1FD75B goto_eq DewfordTown_Hall_EventScript_1FD75B
compare_var_to_value VAR_0x8008, 1 compare VAR_0x8008, 1
goto_eq DewfordTown_Hall_EventScript_1FD771 goto_eq DewfordTown_Hall_EventScript_1FD771
end end
DewfordTown_Hall_EventScript_1FD75B:: @ 81FD75B DewfordTown_Hall_EventScript_1FD75B:: @ 81FD75B
compare_var_to_value VAR_FACING, 4 compare VAR_FACING, 4
goto_eq DewfordTown_Hall_EventScript_1FD739 goto_eq DewfordTown_Hall_EventScript_1FD739
applymovement 255, DewfordTown_Hall_Movement_2725A8 applymovement 255, DewfordTown_Hall_Movement_2725A8
waitmovement 0 waitmovement 0
@@ -210,16 +210,16 @@ DewfordTown_Hall_EventScript_1FD771:: @ 81FD771
DewfordTown_Hall_EventScript_1FD772:: @ 81FD772 DewfordTown_Hall_EventScript_1FD772:: @ 81FD772
applymovement 7, DewfordTown_Hall_Movement_1FD7D8 applymovement 7, DewfordTown_Hall_Movement_1FD7D8
waitmovement 0 waitmovement 0
compare_var_to_value VAR_0x8008, 0 compare VAR_0x8008, 0
goto_eq DewfordTown_Hall_EventScript_1FD793 goto_eq DewfordTown_Hall_EventScript_1FD793
compare_var_to_value VAR_0x8008, 1 compare VAR_0x8008, 1
goto_eq DewfordTown_Hall_EventScript_1FD7C0 goto_eq DewfordTown_Hall_EventScript_1FD7C0
end end
DewfordTown_Hall_EventScript_1FD793:: @ 81FD793 DewfordTown_Hall_EventScript_1FD793:: @ 81FD793
compare_var_to_value VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, DewfordTown_Hall_EventScript_1FD7AA call_if 1, DewfordTown_Hall_EventScript_1FD7AA
compare_var_to_value VAR_FACING, 1 compare VAR_FACING, 1
call_if 1, DewfordTown_Hall_EventScript_1FD7B5 call_if 1, DewfordTown_Hall_EventScript_1FD7B5
return return
@@ -234,7 +234,7 @@ DewfordTown_Hall_EventScript_1FD7B5:: @ 81FD7B5
return return
DewfordTown_Hall_EventScript_1FD7C0:: @ 81FD7C0 DewfordTown_Hall_EventScript_1FD7C0:: @ 81FD7C0
compare_var_to_value VAR_FACING, 3 compare VAR_FACING, 3
goto_eq DewfordTown_Hall_EventScript_1FD739 goto_eq DewfordTown_Hall_EventScript_1FD739
applymovement 255, DewfordTown_Hall_Movement_2725A4 applymovement 255, DewfordTown_Hall_Movement_2725A4
waitmovement 0 waitmovement 0
@@ -256,7 +256,7 @@ DewfordTown_Hall_EventScript_1FD7DA:: @ 81FD7DA
goto_eq DewfordTown_Hall_EventScript_1FD80E goto_eq DewfordTown_Hall_EventScript_1FD80E
msgbox DewfordTown_Hall_Text_1FE142, 4 msgbox DewfordTown_Hall_Text_1FE142, 4
giveitem_std ITEM_TM36 giveitem_std ITEM_TM36
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DewfordTown_Hall_EventScript_272054 goto_eq DewfordTown_Hall_EventScript_272054
setflag FLAG_0x0E6 setflag FLAG_0x0E6
release release
+1 -1
View File
@@ -8,7 +8,7 @@ DewfordTown_House2_EventScript_1FE22E:: @ 81FE22E
goto_eq DewfordTown_House2_EventScript_1FE267 goto_eq DewfordTown_House2_EventScript_1FE267
msgbox DewfordTown_House2_Text_1FE27A, 4 msgbox DewfordTown_House2_Text_1FE27A, 4
giveitem_std ITEM_SILK_SCARF giveitem_std ITEM_SILK_SCARF
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DewfordTown_House2_EventScript_1FE25D goto_eq DewfordTown_House2_EventScript_1FE25D
setflag FLAG_0x121 setflag FLAG_0x121
release release
@@ -53,16 +53,16 @@ EverGrandeCity_ChampionsRoom_EventScript_228A61:: @ 8228A61
closemessage closemessage
playse SE_DOOR playse SE_DOOR
checkplayergender checkplayergender
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, EverGrandeCity_ChampionsRoom_EventScript_228ABC call_if 1, EverGrandeCity_ChampionsRoom_EventScript_228ABC
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, EverGrandeCity_ChampionsRoom_EventScript_228AC1 call_if 1, EverGrandeCity_ChampionsRoom_EventScript_228AC1
addobject 2 addobject 2
call EverGrandeCity_ChampionsRoom_EventScript_228BFD call EverGrandeCity_ChampionsRoom_EventScript_228BFD
checkplayergender checkplayergender
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq EverGrandeCity_ChampionsRoom_EventScript_228AC6 goto_eq EverGrandeCity_ChampionsRoom_EventScript_228AC6
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq EverGrandeCity_ChampionsRoom_EventScript_228AFB goto_eq EverGrandeCity_ChampionsRoom_EventScript_228AFB
end end
@@ -128,9 +128,9 @@ EverGrandeCity_ChampionsRoom_EventScript_228B30:: @ 8228B30
waitmovement 0 waitmovement 0
msgbox EverGrandeCity_ChampionsRoom_Text_2293EB, 4 msgbox EverGrandeCity_ChampionsRoom_Text_2293EB, 4
checkplayergender checkplayergender
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, EverGrandeCity_ChampionsRoom_EventScript_228BEB call_if 1, EverGrandeCity_ChampionsRoom_EventScript_228BEB
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, EverGrandeCity_ChampionsRoom_EventScript_228BF4 call_if 1, EverGrandeCity_ChampionsRoom_EventScript_228BF4
closemessage closemessage
applymovement 1, EverGrandeCity_ChampionsRoom_Movement_228C3F applymovement 1, EverGrandeCity_ChampionsRoom_Movement_228C3F
@@ -26,7 +26,7 @@ EverGrandeCity_DrakesRoom_EventScript_2286C5:: @ 82286C5
EverGrandeCity_DrakesRoom_MapScript1_2286D2: @ 82286D2 EverGrandeCity_DrakesRoom_MapScript1_2286D2: @ 82286D2
checkflag FLAG_0x4FE checkflag FLAG_0x4FE
call_if 1, EverGrandeCity_DrakesRoom_EventScript_2286E7 call_if 1, EverGrandeCity_DrakesRoom_EventScript_2286E7
compare_var_to_value VAR_0x409C, 4 compare VAR_0x409C, 4
call_if 1, EverGrandeCity_DrakesRoom_EventScript_2286ED call_if 1, EverGrandeCity_DrakesRoom_EventScript_2286ED
end end
@@ -26,7 +26,7 @@ EverGrandeCity_GlaciasRoom_EventScript_22843B:: @ 822843B
EverGrandeCity_GlaciasRoom_MapScript1_228448: @ 8228448 EverGrandeCity_GlaciasRoom_MapScript1_228448: @ 8228448
checkflag FLAG_0x4FD checkflag FLAG_0x4FD
call_if 1, EverGrandeCity_GlaciasRoom_EventScript_22845D call_if 1, EverGrandeCity_GlaciasRoom_EventScript_22845D
compare_var_to_value VAR_0x409C, 3 compare VAR_0x409C, 3
call_if 1, EverGrandeCity_GlaciasRoom_EventScript_228463 call_if 1, EverGrandeCity_GlaciasRoom_EventScript_228463
end end
@@ -44,9 +44,9 @@ EverGrandeCity_HallOfFame_EventScript_229850:: @ 8229850
setvar VAR_0x4001, 1 setvar VAR_0x4001, 1
call EverGrandeCity_HallOfFame_EventScript_2717C1 call EverGrandeCity_HallOfFame_EventScript_2717C1
checkplayergender checkplayergender
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq EverGrandeCity_HallOfFame_EventScript_2298E9 goto_eq EverGrandeCity_HallOfFame_EventScript_2298E9
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq EverGrandeCity_HallOfFame_EventScript_2298F5 goto_eq EverGrandeCity_HallOfFame_EventScript_2298F5
end end
@@ -26,7 +26,7 @@ EverGrandeCity_PhoebesRoom_EventScript_22819D:: @ 822819D
EverGrandeCity_PhoebesRoom_MapScript1_2281AA: @ 82281AA EverGrandeCity_PhoebesRoom_MapScript1_2281AA: @ 82281AA
checkflag FLAG_0x4FC checkflag FLAG_0x4FC
call_if 1, EverGrandeCity_PhoebesRoom_EventScript_2281BF call_if 1, EverGrandeCity_PhoebesRoom_EventScript_2281BF
compare_var_to_value VAR_0x409C, 2 compare VAR_0x409C, 2
call_if 1, EverGrandeCity_PhoebesRoom_EventScript_2281C5 call_if 1, EverGrandeCity_PhoebesRoom_EventScript_2281C5
end end
@@ -36,11 +36,11 @@ EverGrandeCity_PokemonCenter_1F_EventScript_229A79:: @ 8229A79
faceplayer faceplayer
msgbox EverGrandeCity_PokemonCenter_1F_Text_229BF1, 4 msgbox EverGrandeCity_PokemonCenter_1F_Text_229BF1, 4
closemessage closemessage
compare_var_to_value VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, EverGrandeCity_PokemonCenter_1F_EventScript_229AB6 call_if 1, EverGrandeCity_PokemonCenter_1F_EventScript_229AB6
compare_var_to_value VAR_FACING, 4 compare VAR_FACING, 4
call_if 1, EverGrandeCity_PokemonCenter_1F_EventScript_229AC1 call_if 1, EverGrandeCity_PokemonCenter_1F_EventScript_229AC1
compare_var_to_value VAR_FACING, 3 compare VAR_FACING, 3
call_if 1, EverGrandeCity_PokemonCenter_1F_EventScript_229AC1 call_if 1, EverGrandeCity_PokemonCenter_1F_EventScript_229AC1
addvar VAR_0x40D1, 1 addvar VAR_0x40D1, 1
setflag FLAG_0x1CF setflag FLAG_0x1CF
@@ -51,9 +51,9 @@ EverGrandeCity_PokemonLeague_1F_EventScript_229636:: @ 8229636
checkflag FLAG_0x107 checkflag FLAG_0x107
goto_eq EverGrandeCity_PokemonLeague_1F_EventScript_2296BB goto_eq EverGrandeCity_PokemonLeague_1F_EventScript_2296BB
getplayerxy VAR_0x4000, VAR_0x4001 getplayerxy VAR_0x4000, VAR_0x4001
compare_var_to_value VAR_0x4000, 11 compare VAR_0x4000, 11
call_if 4, EverGrandeCity_PokemonLeague_1F_EventScript_229698 call_if 4, EverGrandeCity_PokemonLeague_1F_EventScript_229698
compare_var_to_value VAR_0x4000, 8 compare VAR_0x4000, 8
call_if 3, EverGrandeCity_PokemonLeague_1F_EventScript_2296A3 call_if 3, EverGrandeCity_PokemonLeague_1F_EventScript_2296A3
message EverGrandeCity_PokemonLeague_1F_Text_2296E8 message EverGrandeCity_PokemonLeague_1F_Text_2296E8
waitmessage waitmessage
@@ -13,7 +13,7 @@ EverGrandeCity_SidneysRoom_MapScript1_227F16: @ 8227F16
EverGrandeCity_SidneysRoom_MapScript1_227F1D: @ 8227F1D EverGrandeCity_SidneysRoom_MapScript1_227F1D: @ 8227F1D
checkflag FLAG_0x4FB checkflag FLAG_0x4FB
call_if 1, EverGrandeCity_SidneysRoom_EventScript_227F32 call_if 1, EverGrandeCity_SidneysRoom_EventScript_227F32
compare_var_to_value VAR_0x409C, 1 compare VAR_0x409C, 1
call_if 1, EverGrandeCity_SidneysRoom_EventScript_227F38 call_if 1, EverGrandeCity_SidneysRoom_EventScript_227F38
end end
@@ -10,9 +10,9 @@ FallarborTown_BattleTentBattleRoom_MapScript1_2008A9: @ 82008A9
FallarborTown_BattleTentBattleRoom_EventScript_2008AF:: @ 82008AF FallarborTown_BattleTentBattleRoom_EventScript_2008AF:: @ 82008AF
checkplayergender checkplayergender
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FallarborTown_BattleTentBattleRoom_EventScript_2008C7 goto_eq FallarborTown_BattleTentBattleRoom_EventScript_2008C7
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq FallarborTown_BattleTentBattleRoom_EventScript_2008D2 goto_eq FallarborTown_BattleTentBattleRoom_EventScript_2008D2
return return
@@ -38,7 +38,7 @@ FallarborTown_BattleTentBattleRoom_EventScript_2008E7:: @ 82008E7
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, FallarborTown_BattleTentBattleRoom_EventScript_200B73 goto_if 5, FallarborTown_BattleTentBattleRoom_EventScript_200B73
FallarborTown_BattleTentBattleRoom_EventScript_20090F:: @ 820090F FallarborTown_BattleTentBattleRoom_EventScript_20090F:: @ 820090F
@@ -116,9 +116,9 @@ FallarborTown_BattleTentBattleRoom_EventScript_200A2A:: @ 8200A2A
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, FallarborTown_BattleTentBattleRoom_EventScript_200B43 call_if 1, FallarborTown_BattleTentBattleRoom_EventScript_200B43
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
call_if 1, FallarborTown_BattleTentBattleRoom_EventScript_200B4A call_if 1, FallarborTown_BattleTentBattleRoom_EventScript_200B4A
multichoice 20, 6, 104, 1 multichoice 20, 6, 104, 1
switch VAR_RESULT switch VAR_RESULT
@@ -163,7 +163,7 @@ FallarborTown_BattleTentBattleRoom_EventScript_200AF3:: @ 8200AF3
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_81A5238 special sub_81A5238
compare_var_to_value VAR_RESULT, 9999 compare VAR_RESULT, 9999
goto_eq FallarborTown_BattleTentBattleRoom_EventScript_2009B3 goto_eq FallarborTown_BattleTentBattleRoom_EventScript_2009B3
addvar VAR_RESULT, 1 addvar VAR_RESULT, 1
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
@@ -132,7 +132,7 @@ FallarborTown_BattleTentLobby_EventScript_200001:: @ 8200001
faceplayer faceplayer
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
special sub_81B9B80 special sub_81B9B80
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, FallarborTown_BattleTentLobby_EventScript_1FFF84 goto_if 5, FallarborTown_BattleTentLobby_EventScript_1FFF84
special copy_player_party_to_sav1 special copy_player_party_to_sav1
msgbox FallarborTown_BattleTentLobby_Text_2C47EB, 4 msgbox FallarborTown_BattleTentLobby_Text_2C47EB, 4
@@ -153,7 +153,7 @@ FallarborTown_BattleTentLobby_EventScript_20005D:: @ 820005D
setvar VAR_RESULT, 2 setvar VAR_RESULT, 2
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special sub_81A1780 special sub_81A1780
compare_var_to_value VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq FallarborTown_BattleTentLobby_EventScript_200176 goto_eq FallarborTown_BattleTentLobby_EventScript_200176
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
@@ -165,7 +165,7 @@ FallarborTown_BattleTentLobby_EventScript_20005D:: @ 820005D
setvar VAR_0x8005, 3 setvar VAR_0x8005, 3
special sub_80F9490 special sub_80F9490
waitstate waitstate
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FallarborTown_BattleTentLobby_EventScript_2001C2 goto_eq FallarborTown_BattleTentLobby_EventScript_2001C2
msgbox FallarborTown_BattleTentLobby_Text_2C4B35, 5 msgbox FallarborTown_BattleTentLobby_Text_2C4B35, 5
switch VAR_RESULT switch VAR_RESULT
@@ -193,7 +193,7 @@ FallarborTown_BattleTentLobby_EventScript_2000E2:: @ 82000E2
delay 2 delay 2
call FallarborTown_BattleTentLobby_EventScript_27134F call FallarborTown_BattleTentLobby_EventScript_27134F
setvar VAR_0x4000, 255 setvar VAR_0x4000, 255
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FallarborTown_BattleTentLobby_EventScript_2001AB goto_eq FallarborTown_BattleTentLobby_EventScript_2001AB
FallarborTown_BattleTentLobby_EventScript_20013C:: @ 820013C FallarborTown_BattleTentLobby_EventScript_20013C:: @ 820013C
+3 -3
View File
@@ -7,7 +7,7 @@ FallarborTown_House1_EventScript_200F13:: @ 8200F13
checkflag FLAG_0x0E5 checkflag FLAG_0x0E5
goto_eq FallarborTown_House1_EventScript_200FB2 goto_eq FallarborTown_House1_EventScript_200FB2
checkitem ITEM_METEORITE, 1 checkitem ITEM_METEORITE, 1
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq FallarborTown_House1_EventScript_200F38 goto_eq FallarborTown_House1_EventScript_200F38
msgbox FallarborTown_House1_Text_200FEE, 4 msgbox FallarborTown_House1_Text_200FEE, 4
release release
@@ -18,11 +18,11 @@ FallarborTown_House1_EventScript_200F38:: @ 8200F38
call_if 0, FallarborTown_House1_EventScript_200F8B call_if 0, FallarborTown_House1_EventScript_200F8B
checkflag FLAG_0x002 checkflag FLAG_0x002
call_if 1, FallarborTown_House1_EventScript_200F9C call_if 1, FallarborTown_House1_EventScript_200F9C
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FallarborTown_House1_EventScript_200FA5 goto_eq FallarborTown_House1_EventScript_200FA5
msgbox FallarborTown_House1_Text_201159, 4 msgbox FallarborTown_House1_Text_201159, 4
giveitem_std ITEM_TM27 giveitem_std ITEM_TM27
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FallarborTown_House1_EventScript_272054 goto_eq FallarborTown_House1_EventScript_272054
setvar VAR_0x8004, 280 setvar VAR_0x8004, 280
call FallarborTown_House1_EventScript_2723E4 call FallarborTown_House1_EventScript_2723E4
+5 -5
View File
@@ -14,7 +14,7 @@ FallarborTown_House2_EventScript_201383:: @ 8201383
FallarborTown_House2_EventScript_2013A8:: @ 82013A8 FallarborTown_House2_EventScript_2013A8:: @ 82013A8
checkitem ITEM_HEART_SCALE, 1 checkitem ITEM_HEART_SCALE, 1
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FallarborTown_House2_EventScript_201452 goto_eq FallarborTown_House2_EventScript_201452
msgbox FallarborTown_House2_Text_201541, 5 msgbox FallarborTown_House2_Text_201541, 5
switch VAR_RESULT switch VAR_RESULT
@@ -26,12 +26,12 @@ FallarborTown_House2_EventScript_2013D6:: @ 82013D6
msgbox FallarborTown_House2_Text_2015A5, 4 msgbox FallarborTown_House2_Text_2015A5, 4
special sub_81B951C special sub_81B951C
waitstate waitstate
compare_var_to_value VAR_0x8004, 255 compare VAR_0x8004, 255
goto_eq FallarborTown_House2_EventScript_201452 goto_eq FallarborTown_House2_EventScript_201452
special sub_81B98DC special sub_81B98DC
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq FallarborTown_House2_EventScript_201444 goto_eq FallarborTown_House2_EventScript_201444
compare_var_to_value VAR_0x8005, 0 compare VAR_0x8005, 0
goto_eq FallarborTown_House2_EventScript_201436 goto_eq FallarborTown_House2_EventScript_201436
goto FallarborTown_House2_EventScript_20140C goto FallarborTown_House2_EventScript_20140C
end end
@@ -40,7 +40,7 @@ FallarborTown_House2_EventScript_20140C:: @ 820140C
msgbox FallarborTown_House2_Text_2015C3, 4 msgbox FallarborTown_House2_Text_2015C3, 4
special sub_8160638 special sub_8160638
waitstate waitstate
compare_var_to_value VAR_0x8004, 0 compare VAR_0x8004, 0
goto_eq FallarborTown_House2_EventScript_2013D6 goto_eq FallarborTown_House2_EventScript_2013D6
msgbox FallarborTown_House2_Text_201627, 4 msgbox FallarborTown_House2_Text_201627, 4
takeitem ITEM_HEART_SCALE, 1 takeitem ITEM_HEART_SCALE, 1
+1 -1
View File
@@ -20,7 +20,7 @@ FarawayIsland_Entrance_EventScript_267CA2:: @ 8267CA2
lock lock
faceplayer faceplayer
msgbox FarawayIsland_Entrance_Text_2C6B42, 5 msgbox FarawayIsland_Entrance_Text_2C6B42, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FarawayIsland_Entrance_EventScript_267CE7 goto_eq FarawayIsland_Entrance_EventScript_267CE7
msgbox FarawayIsland_Entrance_Text_2A6A5D, 4 msgbox FarawayIsland_Entrance_Text_2A6A5D, 4
closemessage closemessage
+13 -13
View File
@@ -12,13 +12,13 @@ FarawayIsland_Interior_MapScript1_267D0F: @ 8267D0F
FarawayIsland_Interior_EventScript_267D19:: @ 8267D19 FarawayIsland_Interior_EventScript_267D19:: @ 8267D19
specialvar VAR_RESULT, sub_8138B80 specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq FarawayIsland_Interior_EventScript_267D4B goto_eq FarawayIsland_Interior_EventScript_267D4B
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq FarawayIsland_Interior_EventScript_267D4B goto_eq FarawayIsland_Interior_EventScript_267D4B
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq FarawayIsland_Interior_EventScript_267D4B goto_eq FarawayIsland_Interior_EventScript_267D4B
compare_var_to_value VAR_RESULT, 10 compare VAR_RESULT, 10
goto_eq FarawayIsland_Interior_EventScript_267D4B goto_eq FarawayIsland_Interior_EventScript_267D4B
return return
@@ -34,7 +34,7 @@ FarawayIsland_Interior_MapScript1_267D54: @ 8267D54
FarawayIsland_Interior_EventScript_267D5E:: @ 8267D5E FarawayIsland_Interior_EventScript_267D5E:: @ 8267D5E
specialvar VAR_RESULT, sub_8138B80 specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 7 compare VAR_RESULT, 7
goto_if 5, FarawayIsland_Interior_EventScript_27374E goto_if 5, FarawayIsland_Interior_EventScript_27374E
removeobject VAR_LAST_TALKED removeobject VAR_LAST_TALKED
return return
@@ -129,13 +129,13 @@ FarawayIsland_Interior_EventScript_267DF2:: @ 8267DF2
message FarawayIsland_Interior_Text_2C6DFF message FarawayIsland_Interior_Text_2C6DFF
waitse waitse
playmoncry SPECIES_MEW, 2 playmoncry SPECIES_MEW, 2
compare_var_to_value VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, FarawayIsland_Interior_EventScript_267EAF call_if 1, FarawayIsland_Interior_EventScript_267EAF
compare_var_to_value VAR_FACING, 1 compare VAR_FACING, 1
call_if 1, FarawayIsland_Interior_EventScript_267EBA call_if 1, FarawayIsland_Interior_EventScript_267EBA
compare_var_to_value VAR_FACING, 3 compare VAR_FACING, 3
call_if 1, FarawayIsland_Interior_EventScript_267EC5 call_if 1, FarawayIsland_Interior_EventScript_267EC5
compare_var_to_value VAR_FACING, 4 compare VAR_FACING, 4
call_if 1, FarawayIsland_Interior_EventScript_267ED0 call_if 1, FarawayIsland_Interior_EventScript_267ED0
special sub_81D4BEC special sub_81D4BEC
delay 40 delay 40
@@ -149,13 +149,13 @@ FarawayIsland_Interior_EventScript_267DF2:: @ 8267DF2
waitstate waitstate
clearflag FLAG_SYS_CTRL_OBJ_DELETE clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, sub_8138B80 specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq FarawayIsland_Interior_EventScript_267E96 goto_eq FarawayIsland_Interior_EventScript_267E96
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq FarawayIsland_Interior_EventScript_267EA4 goto_eq FarawayIsland_Interior_EventScript_267EA4
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq FarawayIsland_Interior_EventScript_267EA4 goto_eq FarawayIsland_Interior_EventScript_267EA4
compare_var_to_value VAR_RESULT, 10 compare VAR_RESULT, 10
goto_eq FarawayIsland_Interior_EventScript_267EA4 goto_eq FarawayIsland_Interior_EventScript_267EA4
setflag FLAG_0x1CA setflag FLAG_0x1CA
release release
+2 -2
View File
@@ -57,7 +57,7 @@ FortreeCity_EventScript_1E2614:: @ 81E2614
lock lock
faceplayer faceplayer
checkitem ITEM_DEVON_SCOPE, 1 checkitem ITEM_DEVON_SCOPE, 1
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq FortreeCity_EventScript_1E2630 goto_eq FortreeCity_EventScript_1E2630
msgbox FortreeCity_Text_1E29E5, 4 msgbox FortreeCity_Text_1E29E5, 4
release release
@@ -65,7 +65,7 @@ FortreeCity_EventScript_1E2614:: @ 81E2614
FortreeCity_EventScript_1E2630:: @ 81E2630 FortreeCity_EventScript_1E2630:: @ 81E2630
msgbox FortreeCity_Text_1E2A08, 5 msgbox FortreeCity_Text_1E2A08, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq FortreeCity_EventScript_1E2645 goto_eq FortreeCity_EventScript_1E2645
release release
end end
+3 -3
View File
@@ -18,7 +18,7 @@ FortreeCity_Gym_EventScript_2165C4:: @ 82165C4
FortreeCity_Gym_EventScript_2165C8:: @ 82165C8 FortreeCity_Gym_EventScript_2165C8:: @ 82165C8
trainerbattle 1, TRAINER_WINONA_1, 0, FortreeCity_Gym_Text_216D75, FortreeCity_Gym_Text_216E60, FortreeCity_Gym_EventScript_2165FD trainerbattle 1, TRAINER_WINONA_1, 0, FortreeCity_Gym_Text_216D75, FortreeCity_Gym_Text_216E60, FortreeCity_Gym_EventScript_2165FD
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq FortreeCity_Gym_EventScript_21668D goto_eq FortreeCity_Gym_EventScript_21668D
checkflag FLAG_0x0AA checkflag FLAG_0x0AA
goto_if 0, FortreeCity_Gym_EventScript_216646 goto_if 0, FortreeCity_Gym_EventScript_216646
@@ -51,7 +51,7 @@ FortreeCity_Gym_EventScript_2165FD:: @ 82165FD
FortreeCity_Gym_EventScript_216646:: @ 8216646 FortreeCity_Gym_EventScript_216646:: @ 8216646
giveitem_std ITEM_TM40 giveitem_std ITEM_TM40
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FortreeCity_Gym_EventScript_272054 goto_eq FortreeCity_Gym_EventScript_272054
msgbox FortreeCity_Gym_Text_216FEC, 4 msgbox FortreeCity_Gym_Text_216FEC, 4
setflag FLAG_0x0AA setflag FLAG_0x0AA
@@ -60,7 +60,7 @@ FortreeCity_Gym_EventScript_216646:: @ 8216646
FortreeCity_Gym_EventScript_21666A:: @ 821666A FortreeCity_Gym_EventScript_21666A:: @ 821666A
giveitem_std ITEM_TM40 giveitem_std ITEM_TM40
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FortreeCity_Gym_EventScript_27205E goto_eq FortreeCity_Gym_EventScript_27205E
msgbox FortreeCity_Gym_Text_216FEC, 4 msgbox FortreeCity_Gym_Text_216FEC, 4
setflag FLAG_0x0AA setflag FLAG_0x0AA
+3 -3
View File
@@ -11,17 +11,17 @@ FortreeCity_House1_EventScript_2162BB:: @ 82162BB
specialvar VAR_RESULT, sub_807E73C specialvar VAR_RESULT, sub_807E73C
copyvar VAR_0x8009, VAR_RESULT copyvar VAR_0x8009, VAR_RESULT
msgbox FortreeCity_House1_Text_21637B, 5 msgbox FortreeCity_House1_Text_21637B, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FortreeCity_House1_EventScript_21633D goto_eq FortreeCity_House1_EventScript_21633D
special sub_81B94B0 special sub_81B94B0
waitstate waitstate
copyvar VAR_0x800A, VAR_0x8004 copyvar VAR_0x800A, VAR_0x8004
compare_var_to_value VAR_0x8004, 255 compare VAR_0x8004, 255
goto_eq FortreeCity_House1_EventScript_21633D goto_eq FortreeCity_House1_EventScript_21633D
copyvar VAR_0x8005, VAR_0x800A copyvar VAR_0x8005, VAR_0x800A
specialvar VAR_RESULT, sub_807E9D4 specialvar VAR_RESULT, sub_807E9D4
copyvar VAR_0x800B, VAR_RESULT copyvar VAR_0x800B, VAR_RESULT
compare_var_to_var VAR_RESULT, VAR_0x8009 compare VAR_RESULT, VAR_0x8009
goto_if 5, FortreeCity_House1_EventScript_216347 goto_if 5, FortreeCity_House1_EventScript_216347
copyvar VAR_0x8004, VAR_0x8008 copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A copyvar VAR_0x8005, VAR_0x800A
+1 -1
View File
@@ -22,7 +22,7 @@ FortreeCity_House2_EventScript_2177CB:: @ 82177CB
case 0, FortreeCity_House2_EventScript_217878 case 0, FortreeCity_House2_EventScript_217878
msgbox FortreeCity_House2_Text_217A28, 4 msgbox FortreeCity_House2_Text_217A28, 4
giveitem_std ITEM_TM10 giveitem_std ITEM_TM10
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FortreeCity_House2_EventScript_272054 goto_eq FortreeCity_House2_EventScript_272054
setflag FLAG_0x108 setflag FLAG_0x108
msgbox FortreeCity_House2_Text_217A91, 4 msgbox FortreeCity_House2_Text_217A91, 4
+1 -1
View File
@@ -35,7 +35,7 @@ FortreeCity_House4_EventScript_217CD8:: @ 8217CD8
waitmovement 0 waitmovement 0
msgbox FortreeCity_House4_Text_217E05, 4 msgbox FortreeCity_House4_Text_217E05, 4
giveitem_std ITEM_MENTAL_HERB giveitem_std ITEM_MENTAL_HERB
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FortreeCity_House4_EventScript_272054 goto_eq FortreeCity_House4_EventScript_272054
setflag FLAG_0x0DF setflag FLAG_0x0DF
releaseall releaseall
@@ -10,7 +10,7 @@ GraniteCave_StevensRoom_EventScript_22DC7B:: @ 822DC7B
setflag FLAG_0x0BD setflag FLAG_0x0BD
msgbox GraniteCave_StevensRoom_Text_22DDBD, 4 msgbox GraniteCave_StevensRoom_Text_22DDBD, 4
giveitem_std ITEM_TM47 giveitem_std ITEM_TM47
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, GraniteCave_StevensRoom_EventScript_22DD3C call_if 1, GraniteCave_StevensRoom_EventScript_22DD3C
msgbox GraniteCave_StevensRoom_Text_22DE6B, 4 msgbox GraniteCave_StevensRoom_Text_22DE6B, 4
closemessage closemessage
@@ -23,13 +23,13 @@ GraniteCave_StevensRoom_EventScript_22DC7B:: @ 822DC7B
setflag FLAG_0x131 setflag FLAG_0x131
msgbox GraniteCave_StevensRoom_Text_22DF8C, 4 msgbox GraniteCave_StevensRoom_Text_22DF8C, 4
closemessage closemessage
compare_var_to_value VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, GraniteCave_StevensRoom_EventScript_22DD0D call_if 1, GraniteCave_StevensRoom_EventScript_22DD0D
compare_var_to_value VAR_FACING, 1 compare VAR_FACING, 1
call_if 1, GraniteCave_StevensRoom_EventScript_22DD2A call_if 1, GraniteCave_StevensRoom_EventScript_22DD2A
compare_var_to_value VAR_FACING, 3 compare VAR_FACING, 3
call_if 1, GraniteCave_StevensRoom_EventScript_22DD18 call_if 1, GraniteCave_StevensRoom_EventScript_22DD18
compare_var_to_value VAR_FACING, 4 compare VAR_FACING, 4
call_if 1, GraniteCave_StevensRoom_EventScript_22DD18 call_if 1, GraniteCave_StevensRoom_EventScript_22DD18
playse SE_KAIDAN playse SE_KAIDAN
removeobject 1 removeobject 1
+2 -2
View File
@@ -17,9 +17,9 @@ InsideOfTruck_EventScript_23BF04:: @ 823BF04
lockall lockall
setflag FLAG_SPECIAL_FLAG_0x4000 setflag FLAG_SPECIAL_FLAG_0x4000
checkplayergender checkplayergender
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq InsideOfTruck_EventScript_23BF20 goto_eq InsideOfTruck_EventScript_23BF20
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq InsideOfTruck_EventScript_23BF46 goto_eq InsideOfTruck_EventScript_23BF46
end end
+4 -4
View File
@@ -11,7 +11,7 @@ IslandCave_MapScript1_238E3A: @ 8238E3A
IslandCave_EventScript_238E44:: @ 8238E44 IslandCave_EventScript_238E44:: @ 8238E44
specialvar VAR_RESULT, sub_8138B80 specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 7 compare VAR_RESULT, 7
goto_if 5, IslandCave_EventScript_27374E goto_if 5, IslandCave_EventScript_27374E
removeobject VAR_LAST_TALKED removeobject VAR_LAST_TALKED
return return
@@ -108,11 +108,11 @@ IslandCave_EventScript_238F58:: @ 8238F58
waitstate waitstate
clearflag FLAG_SYS_CTRL_OBJ_DELETE clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, sub_8138B80 specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq IslandCave_EventScript_238F9F goto_eq IslandCave_EventScript_238F9F
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq IslandCave_EventScript_238FA8 goto_eq IslandCave_EventScript_238FA8
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq IslandCave_EventScript_238FA8 goto_eq IslandCave_EventScript_238FA8
setflag FLAG_0x1BC setflag FLAG_0x1BC
release release
+6 -6
View File
@@ -6,13 +6,13 @@ JaggedPass_MapScripts:: @ 8230656
JaggedPass_MapScript1_230666: @ 8230666 JaggedPass_MapScript1_230666: @ 8230666
setstepcallback 1 setstepcallback 1
compare_var_to_value VAR_0x40C8, 0 compare VAR_0x40C8, 0
call_if 1, JaggedPass_EventScript_230674 call_if 1, JaggedPass_EventScript_230674
end end
JaggedPass_EventScript_230674:: @ 8230674 JaggedPass_EventScript_230674:: @ 8230674
checkitem ITEM_MAGMA_EMBLEM, 1 checkitem ITEM_MAGMA_EMBLEM, 1
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq JaggedPass_EventScript_230685 goto_eq JaggedPass_EventScript_230685
return return
@@ -21,7 +21,7 @@ JaggedPass_EventScript_230685:: @ 8230685
return return
JaggedPass_MapScript1_23068B: @ 823068B JaggedPass_MapScript1_23068B: @ 823068B
compare_var_to_value VAR_0x40BD, 1 compare VAR_0x40BD, 1
call_if 1, JaggedPass_EventScript_230697 call_if 1, JaggedPass_EventScript_230697
end end
@@ -31,7 +31,7 @@ JaggedPass_EventScript_230697:: @ 8230697
return return
JaggedPass_MapScript1_23069C: @ 823069C JaggedPass_MapScript1_23069C: @ 823069C
compare_var_to_value VAR_0x40C8, 1 compare VAR_0x40C8, 1
goto_if 3, JaggedPass_EventScript_2306A8 goto_if 3, JaggedPass_EventScript_2306A8
end end
@@ -105,7 +105,7 @@ JaggedPass_EventScript_230785:: @ 8230785
JaggedPass_EventScript_23079C:: @ 823079C JaggedPass_EventScript_23079C:: @ 823079C
trainerbattle 2, TRAINER_DIANA_1, 0, JaggedPass_Text_230974, JaggedPass_Text_2309B5, JaggedPass_EventScript_2307C8 trainerbattle 2, TRAINER_DIANA_1, 0, JaggedPass_Text_230974, JaggedPass_Text_2309B5, JaggedPass_EventScript_2307C8
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq JaggedPass_EventScript_2307E4 goto_eq JaggedPass_EventScript_2307E4
msgbox JaggedPass_Text_2309D8, 4 msgbox JaggedPass_Text_2309D8, 4
release release
@@ -129,7 +129,7 @@ JaggedPass_EventScript_2307E4:: @ 82307E4
JaggedPass_EventScript_2307FB:: @ 82307FB JaggedPass_EventScript_2307FB:: @ 82307FB
trainerbattle 2, TRAINER_ETHAN_1, 0, JaggedPass_Text_230B10, JaggedPass_Text_230B50, JaggedPass_EventScript_230827 trainerbattle 2, TRAINER_ETHAN_1, 0, JaggedPass_Text_230B10, JaggedPass_Text_230B50, JaggedPass_EventScript_230827
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq JaggedPass_EventScript_230843 goto_eq JaggedPass_EventScript_230843
msgbox JaggedPass_Text_230B93, 4 msgbox JaggedPass_Text_230B93, 4
release release
+16 -16
View File
@@ -11,9 +11,9 @@ LavaridgeTown_MapScript1_1EA4DE: @ 81EA4DE
call_if 1, LavaridgeTown_EventScript_1EA53F call_if 1, LavaridgeTown_EventScript_1EA53F
call LavaridgeTown_EventScript_271ED7 call LavaridgeTown_EventScript_271ED7
call LavaridgeTown_EventScript_271EFB call LavaridgeTown_EventScript_271EFB
compare_var_to_value VAR_0x4053, 1 compare VAR_0x4053, 1
call_if 1, LavaridgeTown_EventScript_1EA518 call_if 1, LavaridgeTown_EventScript_1EA518
compare_var_to_value VAR_0x4053, 1 compare VAR_0x4053, 1
call_if 1, LavaridgeTown_EventScript_1EA543 call_if 1, LavaridgeTown_EventScript_1EA543
end end
@@ -23,7 +23,7 @@ LavaridgeTown_EventScript_1EA514:: @ 81EA514
LavaridgeTown_EventScript_1EA518:: @ 81EA518 LavaridgeTown_EventScript_1EA518:: @ 81EA518
getplayerxy VAR_0x8004, VAR_0x8005 getplayerxy VAR_0x8004, VAR_0x8005
compare_var_to_value VAR_0x8004, 9 compare VAR_0x8004, 9
goto_eq LavaridgeTown_EventScript_1EA529 goto_eq LavaridgeTown_EventScript_1EA529
return return
@@ -49,24 +49,24 @@ LavaridgeTown_MapScript2_1EA547: @ 81EA547
LavaridgeTown_EventScript_1EA551:: @ 81EA551 LavaridgeTown_EventScript_1EA551:: @ 81EA551
lockall lockall
getplayerxy VAR_0x8008, VAR_0x8009 getplayerxy VAR_0x8008, VAR_0x8009
compare_var_to_value VAR_0x8008, 9 compare VAR_0x8008, 9
call_if 1, LavaridgeTown_EventScript_1EA63A call_if 1, LavaridgeTown_EventScript_1EA63A
compare_var_to_value VAR_0x8008, 9 compare VAR_0x8008, 9
call_if 5, LavaridgeTown_EventScript_1EA65C call_if 5, LavaridgeTown_EventScript_1EA65C
delay 20 delay 20
checkplayergender checkplayergender
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, LavaridgeTown_EventScript_1EA630 call_if 1, LavaridgeTown_EventScript_1EA630
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, LavaridgeTown_EventScript_1EA635 call_if 1, LavaridgeTown_EventScript_1EA635
compare_var_to_value VAR_0x8008, 9 compare VAR_0x8008, 9
call_if 1, LavaridgeTown_EventScript_1EA6A1 call_if 1, LavaridgeTown_EventScript_1EA6A1
compare_var_to_value VAR_0x8008, 9 compare VAR_0x8008, 9
call_if 5, LavaridgeTown_EventScript_1EA6AC call_if 5, LavaridgeTown_EventScript_1EA6AC
checkplayergender checkplayergender
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LavaridgeTown_EventScript_1EA5B5 goto_eq LavaridgeTown_EventScript_1EA5B5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LavaridgeTown_EventScript_1EA5DA goto_eq LavaridgeTown_EventScript_1EA5DA
end end
@@ -91,9 +91,9 @@ LavaridgeTown_EventScript_1EA5FF:: @ 81EA5FF
removeobject 8 removeobject 8
addobject 7 addobject 7
delay 30 delay 30
compare_var_to_value VAR_0x8008, 9 compare VAR_0x8008, 9
call_if 1, LavaridgeTown_EventScript_1EA6B7 call_if 1, LavaridgeTown_EventScript_1EA6B7
compare_var_to_value VAR_0x8008, 9 compare VAR_0x8008, 9
call_if 5, LavaridgeTown_EventScript_1EA6C9 call_if 5, LavaridgeTown_EventScript_1EA6C9
removeobject 7 removeobject 7
setvar VAR_0x4053, 2 setvar VAR_0x4053, 2
@@ -213,7 +213,7 @@ LavaridgeTown_Movement_1EA6F8: @ 81EA6F8
LavaridgeTown_EventScript_1EA6FA:: @ 81EA6FA LavaridgeTown_EventScript_1EA6FA:: @ 81EA6FA
specialvar VAR_RESULT, player_get_direction_lower_nybble specialvar VAR_RESULT, player_get_direction_lower_nybble
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LavaridgeTown_EventScript_1EA70B goto_eq LavaridgeTown_EventScript_1EA70B
end end
@@ -251,10 +251,10 @@ LavaridgeTown_EventScript_1EA744:: @ 81EA744
checkflag FLAG_0x10A checkflag FLAG_0x10A
goto_eq LavaridgeTown_EventScript_1EA787 goto_eq LavaridgeTown_EventScript_1EA787
msgbox LavaridgeTown_Text_1EAB80, 5 msgbox LavaridgeTown_Text_1EAB80, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LavaridgeTown_EventScript_1EA79B goto_eq LavaridgeTown_EventScript_1EA79B
getpartysize getpartysize
compare_var_to_value VAR_RESULT, 6 compare VAR_RESULT, 6
goto_eq LavaridgeTown_EventScript_1EA791 goto_eq LavaridgeTown_EventScript_1EA791
msgbox LavaridgeTown_Text_1EACC0, 4 msgbox LavaridgeTown_Text_1EACC0, 4
setflag FLAG_0x10A setflag FLAG_0x10A
+5 -5
View File
@@ -61,7 +61,7 @@ LavaridgeTown_Gym_1F_EventScript_1FE78B:: @ 81FE78B
LavaridgeTown_Gym_1F_EventScript_1FE78C:: @ 81FE78C LavaridgeTown_Gym_1F_EventScript_1FE78C:: @ 81FE78C
trainerbattle 1, TRAINER_FLANNERY_1, 0, LavaridgeTown_Gym_1F_Text_1FF0DC, LavaridgeTown_Gym_1F_Text_1FF233, LavaridgeTown_Gym_1F_EventScript_1FE7C1 trainerbattle 1, TRAINER_FLANNERY_1, 0, LavaridgeTown_Gym_1F_Text_1FF0DC, LavaridgeTown_Gym_1F_Text_1FF233, LavaridgeTown_Gym_1F_EventScript_1FE7C1
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE864 goto_eq LavaridgeTown_Gym_1F_EventScript_1FE864
checkflag FLAG_0x0A8 checkflag FLAG_0x0A8
goto_if 0, LavaridgeTown_Gym_1F_EventScript_1FE81D goto_if 0, LavaridgeTown_Gym_1F_EventScript_1FE81D
@@ -78,7 +78,7 @@ LavaridgeTown_Gym_1F_EventScript_1FE7C1:: @ 81FE7C1
setflag FLAG_0x4F3 setflag FLAG_0x4F3
setflag FLAG_BADGE04_GET setflag FLAG_BADGE04_GET
addvar VAR_0x4085, 1 addvar VAR_0x4085, 1
compare_var_to_value VAR_0x4085, 6 compare VAR_0x4085, 6
call_if 1, LavaridgeTown_Gym_1F_EventScript_271E84 call_if 1, LavaridgeTown_Gym_1F_EventScript_271E84
setvar VAR_0x8008, 4 setvar VAR_0x8008, 4
call LavaridgeTown_Gym_1F_EventScript_271F43 call LavaridgeTown_Gym_1F_EventScript_271F43
@@ -98,7 +98,7 @@ LavaridgeTown_Gym_1F_EventScript_1FE7C1:: @ 81FE7C1
LavaridgeTown_Gym_1F_EventScript_1FE81D:: @ 81FE81D LavaridgeTown_Gym_1F_EventScript_1FE81D:: @ 81FE81D
giveitem_std ITEM_TM50 giveitem_std ITEM_TM50
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LavaridgeTown_Gym_1F_EventScript_272054 goto_eq LavaridgeTown_Gym_1F_EventScript_272054
msgbox LavaridgeTown_Gym_1F_Text_1FF45C, 4 msgbox LavaridgeTown_Gym_1F_Text_1FF45C, 4
setflag FLAG_0x0A8 setflag FLAG_0x0A8
@@ -107,7 +107,7 @@ LavaridgeTown_Gym_1F_EventScript_1FE81D:: @ 81FE81D
LavaridgeTown_Gym_1F_EventScript_1FE841:: @ 81FE841 LavaridgeTown_Gym_1F_EventScript_1FE841:: @ 81FE841
giveitem_std ITEM_TM50 giveitem_std ITEM_TM50
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LavaridgeTown_Gym_1F_EventScript_27205E goto_eq LavaridgeTown_Gym_1F_EventScript_27205E
msgbox LavaridgeTown_Gym_1F_Text_1FF45C, 4 msgbox LavaridgeTown_Gym_1F_Text_1FF45C, 4
setflag FLAG_0x0A8 setflag FLAG_0x0A8
@@ -128,7 +128,7 @@ LavaridgeTown_Gym_B1F_EventScript_1FE89A:: @ 81FE89A
call LavaridgeTown_Gym_1F_EventScript_1FE705 call LavaridgeTown_Gym_1F_EventScript_1FE705
release release
special ShouldTryGetTrainerScript special ShouldTryGetTrainerScript
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq EventScript_GotoTrainerScript goto_eq EventScript_GotoTrainerScript
end end
+1 -1
View File
@@ -32,7 +32,7 @@ LavaridgeTown_HerbShop_EventScript_1FE505:: @ 81FE505
goto_eq LavaridgeTown_HerbShop_EventScript_1FE534 goto_eq LavaridgeTown_HerbShop_EventScript_1FE534
msgbox LavaridgeTown_HerbShop_Text_1FE584, 4 msgbox LavaridgeTown_HerbShop_Text_1FE584, 4
giveitem_std ITEM_CHARCOAL giveitem_std ITEM_CHARCOAL
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LavaridgeTown_HerbShop_EventScript_272054 goto_eq LavaridgeTown_HerbShop_EventScript_272054
setflag FLAG_0x0FE setflag FLAG_0x0FE
release release
+11 -11
View File
@@ -42,7 +42,7 @@ LilycoveCity_EventScript_1E2BD8:: @ 81E2BD8
random 10 random 10
addvar VAR_RESULT, 133 addvar VAR_RESULT, 133
giveitem_std VAR_RESULT giveitem_std VAR_RESULT
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_EventScript_272054 goto_eq LilycoveCity_EventScript_272054
setflag FLAG_0x92F setflag FLAG_0x92F
msgbox LilycoveCity_Text_2A72E3, 4 msgbox LilycoveCity_Text_2A72E3, 4
@@ -240,9 +240,9 @@ LilycoveCity_EventScript_1E2DDE:: @ 81E2DDE
lock lock
faceplayer faceplayer
checkplayergender checkplayergender
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_EventScript_1E2DF8 goto_eq LilycoveCity_EventScript_1E2DF8
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_EventScript_1E2E6B goto_eq LilycoveCity_EventScript_1E2E6B
end end
@@ -252,7 +252,7 @@ LilycoveCity_EventScript_1E2DF8:: @ 81E2DF8
call_if 1, LilycoveCity_EventScript_1E2E48 call_if 1, LilycoveCity_EventScript_1E2E48
checkflag FLAG_0x11E checkflag FLAG_0x11E
call_if 0, LilycoveCity_EventScript_1E2E51 call_if 0, LilycoveCity_EventScript_1E2E51
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_EventScript_1E2E5A goto_eq LilycoveCity_EventScript_1E2E5A
msgbox LilycoveCity_Text_1E3234, 4 msgbox LilycoveCity_Text_1E3234, 4
switch VAR_FIRST_POKE switch VAR_FIRST_POKE
@@ -283,7 +283,7 @@ LilycoveCity_EventScript_1E2E6B:: @ 81E2E6B
call_if 1, LilycoveCity_EventScript_1E2EBB call_if 1, LilycoveCity_EventScript_1E2EBB
checkflag FLAG_0x11E checkflag FLAG_0x11E
call_if 0, LilycoveCity_EventScript_1E2EC4 call_if 0, LilycoveCity_EventScript_1E2EC4
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_EventScript_1E2ECD goto_eq LilycoveCity_EventScript_1E2ECD
msgbox LilycoveCity_Text_1E373C, 4 msgbox LilycoveCity_Text_1E373C, 4
switch VAR_FIRST_POKE switch VAR_FIRST_POKE
@@ -343,9 +343,9 @@ LilycoveCity_EventScript_1E2F3E:: @ 81E2F3E
setvar VAR_RESULT, 0 setvar VAR_RESULT, 0
checkflag FLAG_BADGE06_GET checkflag FLAG_BADGE06_GET
call_if 1, LilycoveCity_EventScript_1E2F76 call_if 1, LilycoveCity_EventScript_1E2F76
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, LilycoveCity_EventScript_1E2F86 call_if 1, LilycoveCity_EventScript_1E2F86
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, LilycoveCity_EventScript_1E2F8F call_if 1, LilycoveCity_EventScript_1E2F8F
clearflag FLAG_0x2D2 clearflag FLAG_0x2D2
clearflag FLAG_0x351 clearflag FLAG_0x351
@@ -380,9 +380,9 @@ LilycoveCity_EventScript_1E2FAA:: @ 81E2FAA
setvar VAR_RESULT, 0 setvar VAR_RESULT, 0
checkflag FLAG_BADGE06_GET checkflag FLAG_BADGE06_GET
call_if 1, LilycoveCity_EventScript_1E2F76 call_if 1, LilycoveCity_EventScript_1E2F76
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, LilycoveCity_EventScript_1E2FE2 call_if 1, LilycoveCity_EventScript_1E2FE2
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, LilycoveCity_EventScript_1E2FEB call_if 1, LilycoveCity_EventScript_1E2FEB
clearflag FLAG_0x2F8 clearflag FLAG_0x2F8
clearflag FLAG_0x32F clearflag FLAG_0x32F
@@ -423,9 +423,9 @@ LilycoveCity_EventScript_1E302D:: @ 81E302D
lock lock
faceplayer faceplayer
msgbox LilycoveCity_Text_1E4774, 5 msgbox LilycoveCity_Text_1E4774, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, LilycoveCity_EventScript_1E304F call_if 1, LilycoveCity_EventScript_1E304F
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, LilycoveCity_EventScript_1E3058 call_if 1, LilycoveCity_EventScript_1E3058
release release
end end
+41 -41
View File
@@ -10,7 +10,7 @@ LilycoveCity_ContestLobby_MapScript1_21A21C: @ 821A21C
LilycoveCity_ContestLobby_EventScript_21A227:: @ 821A227 LilycoveCity_ContestLobby_EventScript_21A227:: @ 821A227
getpricereduction 4 getpricereduction 4
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A23C goto_eq LilycoveCity_ContestLobby_EventScript_21A23C
clearflag FLAG_0x369 clearflag FLAG_0x369
setflag FLAG_0x340 setflag FLAG_0x340
@@ -45,9 +45,9 @@ LilycoveCity_ContestLobby_EventScript_21A264:: @ 821A264
drawcontestwinner 0 drawcontestwinner 0
lockall lockall
msgbox LilycoveCity_ContestLobby_Text_21AE78, 5 msgbox LilycoveCity_ContestLobby_Text_21AE78, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A2AA goto_eq LilycoveCity_ContestLobby_EventScript_21A2AA
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_21A2E4 goto_eq LilycoveCity_ContestLobby_EventScript_21A2E4
releaseall releaseall
end end
@@ -58,7 +58,7 @@ LilycoveCity_ContestLobby_EventScript_21A2AA:: @ 821A2AA
special sub_80F88DC special sub_80F88DC
setvar VAR_0x4099, 0 setvar VAR_0x4099, 0
specialvar VAR_RESULT, sub_80F8C7C specialvar VAR_RESULT, sub_80F8C7C
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, LilycoveCity_ContestLobby_EventScript_21A314 call_if 1, LilycoveCity_ContestLobby_EventScript_21A314
applymovement 4, LilycoveCity_ContestLobby_Movement_21A40F applymovement 4, LilycoveCity_ContestLobby_Movement_21A40F
waitmovement 0 waitmovement 0
@@ -70,7 +70,7 @@ LilycoveCity_ContestLobby_EventScript_21A2AA:: @ 821A2AA
LilycoveCity_ContestLobby_EventScript_21A2E4:: @ 821A2E4 LilycoveCity_ContestLobby_EventScript_21A2E4:: @ 821A2E4
msgbox LilycoveCity_ContestLobby_Text_21B0BC, 5 msgbox LilycoveCity_ContestLobby_Text_21B0BC, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A2AA goto_eq LilycoveCity_ContestLobby_EventScript_21A2AA
msgbox LilycoveCity_ContestLobby_Text_21B132, 4 msgbox LilycoveCity_ContestLobby_Text_21B132, 4
closemessage closemessage
@@ -219,9 +219,9 @@ LilycoveCity_ContestLobby_EventScript_21A436:: @ 821A436
fadescreen 1 fadescreen 1
drawcontestwinner 0 drawcontestwinner 0
msgbox LilycoveCity_ContestLobby_Text_21AE78, 5 msgbox LilycoveCity_ContestLobby_Text_21AE78, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A47A goto_eq LilycoveCity_ContestLobby_EventScript_21A47A
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_21A4B4 goto_eq LilycoveCity_ContestLobby_EventScript_21A4B4
end end
@@ -231,7 +231,7 @@ LilycoveCity_ContestLobby_EventScript_21A47A:: @ 821A47A
special sub_80F88DC special sub_80F88DC
setvar VAR_0x4099, 0 setvar VAR_0x4099, 0
specialvar VAR_RESULT, sub_80F8C7C specialvar VAR_RESULT, sub_80F8C7C
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, LilycoveCity_ContestLobby_EventScript_21A4E4 call_if 1, LilycoveCity_ContestLobby_EventScript_21A4E4
applymovement 11, LilycoveCity_ContestLobby_Movement_21A53C applymovement 11, LilycoveCity_ContestLobby_Movement_21A53C
waitmovement 0 waitmovement 0
@@ -243,7 +243,7 @@ LilycoveCity_ContestLobby_EventScript_21A47A:: @ 821A47A
LilycoveCity_ContestLobby_EventScript_21A4B4:: @ 821A4B4 LilycoveCity_ContestLobby_EventScript_21A4B4:: @ 821A4B4
msgbox LilycoveCity_ContestLobby_Text_21B0BC, 5 msgbox LilycoveCity_ContestLobby_Text_21B0BC, 5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A47A goto_eq LilycoveCity_ContestLobby_EventScript_21A47A
msgbox LilycoveCity_ContestLobby_Text_21B132, 4 msgbox LilycoveCity_ContestLobby_Text_21B132, 4
closemessage closemessage
@@ -320,7 +320,7 @@ LilycoveCity_ContestLobby_Movement_21A54B: @ 821A54B
LilycoveCity_ContestLobby_EventScript_21A554:: @ 821A554 LilycoveCity_ContestLobby_EventScript_21A554:: @ 821A554
special sub_80F9154 special sub_80F9154
specialvar VAR_RESULT, sub_80F8D24 specialvar VAR_RESULT, sub_80F8D24
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A5CF goto_eq LilycoveCity_ContestLobby_EventScript_21A5CF
call LilycoveCity_ContestLobby_EventScript_279CC5 call LilycoveCity_ContestLobby_EventScript_279CC5
call LilycoveCity_ContestLobby_EventScript_21A670 call LilycoveCity_ContestLobby_EventScript_21A670
@@ -642,10 +642,10 @@ LilycoveCity_ContestLobby_EventScript_21A819:: @ 821A819
LilycoveCity_ContestLobby_EventScript_21A856:: @ 821A856 LilycoveCity_ContestLobby_EventScript_21A856:: @ 821A856
msgbox LilycoveCity_ContestLobby_Text_27BD17, 5 msgbox LilycoveCity_ContestLobby_Text_27BD17, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_21A97F goto_eq LilycoveCity_ContestLobby_EventScript_21A97F
call LilycoveCity_ContestLobby_EventScript_27134F call LilycoveCity_ContestLobby_EventScript_27134F
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_21A97F goto_eq LilycoveCity_ContestLobby_EventScript_21A97F
message LilycoveCity_ContestLobby_Text_27C8FD message LilycoveCity_ContestLobby_Text_27C8FD
waitmessage waitmessage
@@ -665,7 +665,7 @@ LilycoveCity_ContestLobby_EventScript_21A8BB:: @ 821A8BB
LilycoveCity_ContestLobby_EventScript_21A8C6:: @ 821A8C6 LilycoveCity_ContestLobby_EventScript_21A8C6:: @ 821A8C6
setvar VAR_0x400C, 1 setvar VAR_0x400C, 1
compare_var_to_value VAR_0x400D, 1 compare VAR_0x400D, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21AAFC goto_eq LilycoveCity_ContestLobby_EventScript_21AAFC
goto LilycoveCity_ContestLobby_EventScript_21A8DC goto LilycoveCity_ContestLobby_EventScript_21A8DC
end end
@@ -717,19 +717,19 @@ LilycoveCity_ContestLobby_EventScript_21A97F:: @ 821A97F
LilycoveCity_ContestLobby_EventScript_21A98C:: @ 821A98C LilycoveCity_ContestLobby_EventScript_21A98C:: @ 821A98C
msgbox LilycoveCity_ContestLobby_Text_27C1C3, 4 msgbox LilycoveCity_ContestLobby_Text_27C1C3, 4
setvar VAR_CONTEST_RANK, 0 setvar VAR_CONTEST_RANK, 0
choosecontestpkmn choosecontestmon
compare_var_to_value VAR_0x8004, 255 compare VAR_0x8004, 255
goto_eq LilycoveCity_ContestLobby_EventScript_21A97F goto_eq LilycoveCity_ContestLobby_EventScript_21A97F
special sub_80F7F30 special sub_80F7F30
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_21A9E0 goto_eq LilycoveCity_ContestLobby_EventScript_21A9E0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21AA0A goto_eq LilycoveCity_ContestLobby_EventScript_21AA0A
compare_var_to_value VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq LilycoveCity_ContestLobby_EventScript_21AA0A goto_eq LilycoveCity_ContestLobby_EventScript_21AA0A
compare_var_to_value VAR_RESULT, 3 compare VAR_RESULT, 3
goto_eq LilycoveCity_ContestLobby_EventScript_21A9EE goto_eq LilycoveCity_ContestLobby_EventScript_21A9EE
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq LilycoveCity_ContestLobby_EventScript_21A9FC goto_eq LilycoveCity_ContestLobby_EventScript_21A9FC
end end
@@ -754,28 +754,28 @@ LilycoveCity_ContestLobby_EventScript_21AA0A:: @ 821AA0A
end end
LilycoveCity_ContestLobby_EventScript_21AA15:: @ 821AA15 LilycoveCity_ContestLobby_EventScript_21AA15:: @ 821AA15
compare_var_to_value VAR_0x400D, 1 compare VAR_0x400D, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21AB4B goto_eq LilycoveCity_ContestLobby_EventScript_21AB4B
compare_var_to_value VAR_0x400D, 2 compare VAR_0x400D, 2
goto_if 4, LilycoveCity_ContestLobby_EventScript_21A97F goto_if 4, LilycoveCity_ContestLobby_EventScript_21A97F
message LilycoveCity_ContestLobby_Text_27BF85 message LilycoveCity_ContestLobby_Text_27BF85
waitmessage waitmessage
copyvar VAR_0x8004, VAR_RESULT copyvar VAR_0x8004, VAR_RESULT
compare_var_to_value VAR_0x400C, 0 compare VAR_0x400C, 0
call_if 1, LilycoveCity_ContestLobby_EventScript_21AABB call_if 1, LilycoveCity_ContestLobby_EventScript_21AABB
compare_var_to_value VAR_0x400C, 1 compare VAR_0x400C, 1
call_if 1, LilycoveCity_ContestLobby_EventScript_21AAC0 call_if 1, LilycoveCity_ContestLobby_EventScript_21AAC0
compare_var_to_value VAR_0x400C, 2 compare VAR_0x400C, 2
goto_if 4, LilycoveCity_ContestLobby_EventScript_21A97F goto_if 4, LilycoveCity_ContestLobby_EventScript_21A97F
compare_var_to_value VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq LilycoveCity_ContestLobby_EventScript_21AAD3 goto_eq LilycoveCity_ContestLobby_EventScript_21AAD3
compare_var_to_value VAR_RESULT, 3 compare VAR_RESULT, 3
goto_eq LilycoveCity_ContestLobby_EventScript_21AAD3 goto_eq LilycoveCity_ContestLobby_EventScript_21AAD3
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq LilycoveCity_ContestLobby_EventScript_21A97F goto_eq LilycoveCity_ContestLobby_EventScript_21A97F
compare_var_to_value VAR_RESULT, 6 compare VAR_RESULT, 6
goto_eq LilycoveCity_ContestLobby_EventScript_21AAEF goto_eq LilycoveCity_ContestLobby_EventScript_21AAEF
compare_var_to_value VAR_RESULT, 10 compare VAR_RESULT, 10
goto_eq LilycoveCity_ContestLobby_EventScript_21AAE1 goto_eq LilycoveCity_ContestLobby_EventScript_21AAE1
message3 LilycoveCity_ContestLobby_Text_27BEEC message3 LilycoveCity_ContestLobby_Text_27BEEC
contestlinktransfer contestlinktransfer
@@ -843,15 +843,15 @@ LilycoveCity_ContestLobby_EventScript_21AB17:: @ 821AB17
end end
LilycoveCity_ContestLobby_EventScript_21AB4B:: @ 821AB4B LilycoveCity_ContestLobby_EventScript_21AB4B:: @ 821AB4B
compare_var_to_value VAR_CONTEST_CATEGORY, 0 compare VAR_CONTEST_CATEGORY, 0
call_if 1, LilycoveCity_ContestLobby_EventScript_21AB88 call_if 1, LilycoveCity_ContestLobby_EventScript_21AB88
compare_var_to_value VAR_CONTEST_CATEGORY, 1 compare VAR_CONTEST_CATEGORY, 1
call_if 1, LilycoveCity_ContestLobby_EventScript_21AB8E call_if 1, LilycoveCity_ContestLobby_EventScript_21AB8E
compare_var_to_value VAR_CONTEST_CATEGORY, 2 compare VAR_CONTEST_CATEGORY, 2
call_if 1, LilycoveCity_ContestLobby_EventScript_21AB94 call_if 1, LilycoveCity_ContestLobby_EventScript_21AB94
compare_var_to_value VAR_CONTEST_CATEGORY, 3 compare VAR_CONTEST_CATEGORY, 3
call_if 1, LilycoveCity_ContestLobby_EventScript_21AB9A call_if 1, LilycoveCity_ContestLobby_EventScript_21AB9A
compare_var_to_value VAR_CONTEST_CATEGORY, 4 compare VAR_CONTEST_CATEGORY, 4
call_if 1, LilycoveCity_ContestLobby_EventScript_21ABA0 call_if 1, LilycoveCity_ContestLobby_EventScript_21ABA0
goto LilycoveCity_ContestLobby_EventScript_21ABA6 goto LilycoveCity_ContestLobby_EventScript_21ABA6
end end
@@ -889,22 +889,22 @@ LilycoveCity_ContestLobby_EventScript_21ABA6:: @ 821ABA6
LilycoveCity_ContestLobby_EventScript_21ABE3:: @ 821ABE3 LilycoveCity_ContestLobby_EventScript_21ABE3:: @ 821ABE3
call LilycoveCity_ContestLobby_EventScript_21AC33 call LilycoveCity_ContestLobby_EventScript_21AC33
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21AC3D goto_eq LilycoveCity_ContestLobby_EventScript_21AC3D
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq LilycoveCity_ContestLobby_EventScript_21ABA6 goto_eq LilycoveCity_ContestLobby_EventScript_21ABA6
compare_var_to_value VAR_RESULT, 8 compare VAR_RESULT, 8
goto_eq LilycoveCity_ContestLobby_EventScript_21ABE3 goto_eq LilycoveCity_ContestLobby_EventScript_21ABE3
release release
end end
LilycoveCity_ContestLobby_EventScript_21AC0B:: @ 821AC0B LilycoveCity_ContestLobby_EventScript_21AC0B:: @ 821AC0B
call LilycoveCity_ContestLobby_EventScript_21AC38 call LilycoveCity_ContestLobby_EventScript_21AC38
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21AC3D goto_eq LilycoveCity_ContestLobby_EventScript_21AC3D
compare_var_to_value VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq LilycoveCity_ContestLobby_EventScript_21ABA6 goto_eq LilycoveCity_ContestLobby_EventScript_21ABA6
compare_var_to_value VAR_RESULT, 8 compare VAR_RESULT, 8
goto_eq LilycoveCity_ContestLobby_EventScript_21AC0B goto_eq LilycoveCity_ContestLobby_EventScript_21AC0B
release release
end end
@@ -9,7 +9,7 @@ LilycoveCity_CoveLilyMotel_2F_EventScript_2186D3:: @ 82186D3
checkflag FLAG_0x002 checkflag FLAG_0x002
call_if 1, LilycoveCity_CoveLilyMotel_2F_EventScript_21870F call_if 1, LilycoveCity_CoveLilyMotel_2F_EventScript_21870F
specialvar VAR_RESULT, sub_80C08E4 specialvar VAR_RESULT, sub_80C08E4
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_CoveLilyMotel_2F_EventScript_218702 goto_eq LilycoveCity_CoveLilyMotel_2F_EventScript_218702
release release
end end
@@ -60,7 +60,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_2206C5:: @ 82206C5
LilycoveCity_DepartmentStoreElevator_EventScript_220718:: @ 8220718 LilycoveCity_DepartmentStoreElevator_EventScript_220718:: @ 8220718
setvar VAR_0x8006, 4 setvar VAR_0x8006, 4
setdynamicwarp LILYCOVE_CITY_DEPARTMENT_STORE_1F, 255, 2, 1 setdynamicwarp LILYCOVE_CITY_DEPARTMENT_STORE_1F, 255, 2, 1
compare_var_to_value VAR_DEPT_STORE_FLOOR, 4 compare VAR_DEPT_STORE_FLOOR, 4
goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0 goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5 call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
setvar VAR_DEPT_STORE_FLOOR, 4 setvar VAR_DEPT_STORE_FLOOR, 4
@@ -70,7 +70,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_220718:: @ 8220718
LilycoveCity_DepartmentStoreElevator_EventScript_220740:: @ 8220740 LilycoveCity_DepartmentStoreElevator_EventScript_220740:: @ 8220740
setvar VAR_0x8006, 5 setvar VAR_0x8006, 5
setdynamicwarp LILYCOVE_CITY_DEPARTMENT_STORE_2F, 255, 2, 1 setdynamicwarp LILYCOVE_CITY_DEPARTMENT_STORE_2F, 255, 2, 1
compare_var_to_value VAR_DEPT_STORE_FLOOR, 5 compare VAR_DEPT_STORE_FLOOR, 5
goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0 goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5 call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
setvar VAR_DEPT_STORE_FLOOR, 5 setvar VAR_DEPT_STORE_FLOOR, 5
@@ -80,7 +80,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_220740:: @ 8220740
LilycoveCity_DepartmentStoreElevator_EventScript_220768:: @ 8220768 LilycoveCity_DepartmentStoreElevator_EventScript_220768:: @ 8220768
setvar VAR_0x8006, 6 setvar VAR_0x8006, 6
setdynamicwarp LILYCOVE_CITY_DEPARTMENT_STORE_3F, 255, 2, 1 setdynamicwarp LILYCOVE_CITY_DEPARTMENT_STORE_3F, 255, 2, 1
compare_var_to_value VAR_DEPT_STORE_FLOOR, 6 compare VAR_DEPT_STORE_FLOOR, 6
goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0 goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5 call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
setvar VAR_DEPT_STORE_FLOOR, 6 setvar VAR_DEPT_STORE_FLOOR, 6
@@ -90,7 +90,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_220768:: @ 8220768
LilycoveCity_DepartmentStoreElevator_EventScript_220790:: @ 8220790 LilycoveCity_DepartmentStoreElevator_EventScript_220790:: @ 8220790
setvar VAR_0x8006, 7 setvar VAR_0x8006, 7
setdynamicwarp LILYCOVE_CITY_DEPARTMENT_STORE_4F, 255, 2, 1 setdynamicwarp LILYCOVE_CITY_DEPARTMENT_STORE_4F, 255, 2, 1
compare_var_to_value VAR_DEPT_STORE_FLOOR, 7 compare VAR_DEPT_STORE_FLOOR, 7
goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0 goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5 call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
setvar VAR_DEPT_STORE_FLOOR, 7 setvar VAR_DEPT_STORE_FLOOR, 7
@@ -100,7 +100,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_220790:: @ 8220790
LilycoveCity_DepartmentStoreElevator_EventScript_2207B8:: @ 82207B8 LilycoveCity_DepartmentStoreElevator_EventScript_2207B8:: @ 82207B8
setvar VAR_0x8006, 8 setvar VAR_0x8006, 8
setdynamicwarp LILYCOVE_CITY_DEPARTMENT_STORE_5F, 255, 2, 1 setdynamicwarp LILYCOVE_CITY_DEPARTMENT_STORE_5F, 255, 2, 1
compare_var_to_value VAR_DEPT_STORE_FLOOR, 8 compare VAR_DEPT_STORE_FLOOR, 8
goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0 goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5 call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
setvar VAR_DEPT_STORE_FLOOR, 8 setvar VAR_DEPT_STORE_FLOOR, 8
@@ -4,9 +4,9 @@ LilycoveCity_DepartmentStoreRooftop_MapScripts:: @ 8220207
LilycoveCity_DepartmentStoreRooftop_MapScript1_22020D: @ 822020D LilycoveCity_DepartmentStoreRooftop_MapScript1_22020D: @ 822020D
getpricereduction 3 getpricereduction 3
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220227 call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220227
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_22022B call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_22022B
end end
@@ -52,7 +52,7 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_220268:: @ 8220268
lock lock
faceplayer faceplayer
getpricereduction 3 getpricereduction 3
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220282 call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220282
msgbox LilycoveCity_DepartmentStoreRooftop_Text_220463, 4 msgbox LilycoveCity_DepartmentStoreRooftop_Text_220463, 4
release release
@@ -126,22 +126,22 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_220328:: @ 8220328
return return
LilycoveCity_DepartmentStoreRooftop_EventScript_22032F:: @ 822032F LilycoveCity_DepartmentStoreRooftop_EventScript_22032F:: @ 822032F
compare_var_to_value VAR_0x4001, 0 compare VAR_0x4001, 0
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220305 call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220305
compare_var_to_value VAR_0x4001, 1 compare VAR_0x4001, 1
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_22030C call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_22030C
compare_var_to_value VAR_0x4001, 2 compare VAR_0x4001, 2
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220313 call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220313
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220442 goto_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220442
checkitemspace VAR_0x4000, 1 checkitemspace VAR_0x4000, 1
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450 goto_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450
compare_var_to_value VAR_0x4001, 0 compare VAR_0x4001, 0
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_22031A call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_22031A
compare_var_to_value VAR_0x4001, 1 compare VAR_0x4001, 1
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220321 call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220321
compare_var_to_value VAR_0x4001, 2 compare VAR_0x4001, 2
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220328 call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220328
updatemoneybox 0, 0 updatemoneybox 0, 0
nop nop
@@ -153,10 +153,10 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_22032F:: @ 822032F
bufferstdstring 2, 14 bufferstdstring 2, 14
msgbox gUnknown_08272A9A, 4 msgbox gUnknown_08272A9A, 4
random 64 random 64
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, LilycoveCity_DepartmentStoreRooftop_EventScript_220436 goto_if 5, LilycoveCity_DepartmentStoreRooftop_EventScript_220436
checkitemspace VAR_0x4000, 1 checkitemspace VAR_0x4000, 1
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450 goto_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450
playse SE_JIHANKI playse SE_JIHANKI
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2205C2, 4 msgbox LilycoveCity_DepartmentStoreRooftop_Text_2205C2, 4
@@ -165,10 +165,10 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_22032F:: @ 822032F
bufferstdstring 2, 14 bufferstdstring 2, 14
msgbox gUnknown_08272A9A, 4 msgbox gUnknown_08272A9A, 4
random 64 random 64
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, LilycoveCity_DepartmentStoreRooftop_EventScript_220436 goto_if 5, LilycoveCity_DepartmentStoreRooftop_EventScript_220436
checkitemspace VAR_0x4000, 1 checkitemspace VAR_0x4000, 1
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450 goto_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450
playse SE_JIHANKI playse SE_JIHANKI
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2205C2, 4 msgbox LilycoveCity_DepartmentStoreRooftop_Text_2205C2, 4
@@ -9,12 +9,12 @@ LilycoveCity_DepartmentStore_1F_EventScript_21F69C:: @ 821F69C
lock lock
faceplayer faceplayer
dodailyevents dodailyevents
compare_var_to_value VAR_POKELOT_PRIZE, 0 compare VAR_POKELOT_PRIZE, 0
goto_if 5, LilycoveCity_DepartmentStore_1F_EventScript_21F7F7 goto_if 5, LilycoveCity_DepartmentStore_1F_EventScript_21F7F7
checkflag FLAG_0x92A checkflag FLAG_0x92A
goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F78D goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F78D
msgbox LilycoveCity_DepartmentStore_1F_Text_2A6390, 5 msgbox LilycoveCity_DepartmentStore_1F_Text_2A6390, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F797 goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F797
setflag FLAG_0x92A setflag FLAG_0x92A
message LilycoveCity_DepartmentStore_1F_Text_2A64C8 message LilycoveCity_DepartmentStore_1F_Text_2A64C8
@@ -33,24 +33,24 @@ LilycoveCity_DepartmentStore_1F_EventScript_21F69C:: @ 821F69C
delay 10 delay 10
applymovement 2, LilycoveCity_DepartmentStore_1F_Movement_27259E applymovement 2, LilycoveCity_DepartmentStore_1F_Movement_27259E
waitmovement 0 waitmovement 0
compare_var_to_value VAR_0x8004, 0 compare VAR_0x8004, 0
goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7A1 goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7A1
incrementgamestat 46 incrementgamestat 46
compare_var_to_value VAR_0x8006, 0 compare VAR_0x8006, 0
call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F77B call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F77B
compare_var_to_value VAR_0x8006, 1 compare VAR_0x8006, 1
call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F784 call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F784
bufferitemname 0, VAR_0x8005 bufferitemname 0, VAR_0x8005
compare_var_to_value VAR_0x8004, 1 compare VAR_0x8004, 1
call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F7B9 call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F7B9
compare_var_to_value VAR_0x8004, 2 compare VAR_0x8004, 2
call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F7C2 call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F7C2
compare_var_to_value VAR_0x8004, 3 compare VAR_0x8004, 3
call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F7CB call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F7CB
compare_var_to_value VAR_0x8004, 4 compare VAR_0x8004, 4
call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F7D4 call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F7D4
giveitem_std VAR_0x8005 giveitem_std VAR_0x8005
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7DD goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7DD
special sub_80EE2CC special sub_80EE2CC
goto LilycoveCity_DepartmentStore_1F_EventScript_21F7AF goto LilycoveCity_DepartmentStore_1F_EventScript_21F7AF
@@ -114,7 +114,7 @@ LilycoveCity_DepartmentStore_1F_EventScript_21F7ED:: @ 821F7ED
LilycoveCity_DepartmentStore_1F_EventScript_21F7F7:: @ 821F7F7 LilycoveCity_DepartmentStore_1F_EventScript_21F7F7:: @ 821F7F7
msgbox LilycoveCity_DepartmentStore_1F_Text_2A67E1, 4 msgbox LilycoveCity_DepartmentStore_1F_Text_2A67E1, 4
giveitem_std VAR_POKELOT_PRIZE giveitem_std VAR_POKELOT_PRIZE
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7ED goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7ED
copyvar VAR_0x8004, VAR_0x404D copyvar VAR_0x8004, VAR_0x404D
copyvar VAR_0x8005, VAR_POKELOT_PRIZE copyvar VAR_0x8005, VAR_POKELOT_PRIZE
@@ -125,9 +125,9 @@ LilycoveCity_DepartmentStore_5F_EventScript_220075:: @ 8220075
lockall lockall
applymovement 7, LilycoveCity_DepartmentStore_5F_Movement_27259E applymovement 7, LilycoveCity_DepartmentStore_5F_Movement_27259E
waitmovement 0 waitmovement 0
compare_var_to_value VAR_0x405E, 0 compare VAR_0x405E, 0
goto_eq LilycoveCity_DepartmentStore_5F_EventScript_22009C goto_eq LilycoveCity_DepartmentStore_5F_EventScript_22009C
compare_var_to_value VAR_0x405E, 4 compare VAR_0x405E, 4
goto_if 4, LilycoveCity_DepartmentStore_5F_EventScript_22009C goto_if 4, LilycoveCity_DepartmentStore_5F_EventScript_22009C
goto LilycoveCity_DepartmentStore_5F_EventScript_2200A7 goto LilycoveCity_DepartmentStore_5F_EventScript_2200A7
end end
+35 -35
View File
@@ -17,23 +17,23 @@ LilycoveCity_Harbor_EventScript_21E00F:: @ 821E00F
call LilycoveCity_Harbor_EventScript_21E22A call LilycoveCity_Harbor_EventScript_21E22A
call LilycoveCity_Harbor_EventScript_21E25C call LilycoveCity_Harbor_EventScript_21E25C
call LilycoveCity_Harbor_EventScript_21E2A6 call LilycoveCity_Harbor_EventScript_21E2A6
compare_var_to_value VAR_0x400C, 2 compare VAR_0x400C, 2
goto_eq LilycoveCity_Harbor_EventScript_21E350 goto_eq LilycoveCity_Harbor_EventScript_21E350
compare_var_to_value VAR_0x400B, 1 compare VAR_0x400B, 1
goto_eq LilycoveCity_Harbor_EventScript_21E2F0 goto_eq LilycoveCity_Harbor_EventScript_21E2F0
compare_var_to_value VAR_0x400B, 2 compare VAR_0x400B, 2
goto_eq LilycoveCity_Harbor_EventScript_21E320 goto_eq LilycoveCity_Harbor_EventScript_21E320
compare_var_to_value VAR_0x400B, 4 compare VAR_0x400B, 4
goto_eq LilycoveCity_Harbor_EventScript_21E350 goto_eq LilycoveCity_Harbor_EventScript_21E350
compare_var_to_value VAR_0x400B, 8 compare VAR_0x400B, 8
goto_eq LilycoveCity_Harbor_EventScript_21E41D goto_eq LilycoveCity_Harbor_EventScript_21E41D
compare_var_to_value VAR_0x400B, 0 compare VAR_0x400B, 0
goto_if 5, LilycoveCity_Harbor_EventScript_21E44D goto_if 5, LilycoveCity_Harbor_EventScript_21E44D
goto LilycoveCity_Harbor_EventScript_21E080 goto LilycoveCity_Harbor_EventScript_21E080
end end
LilycoveCity_Harbor_EventScript_21E080:: @ 821E080 LilycoveCity_Harbor_EventScript_21E080:: @ 821E080
compare_var_to_value VAR_0x400A, 0 compare VAR_0x400A, 0
goto_eq LilycoveCity_Harbor_EventScript_21E557 goto_eq LilycoveCity_Harbor_EventScript_21E557
msgbox LilycoveCity_Harbor_Text_21E758, 4 msgbox LilycoveCity_Harbor_Text_21E758, 4
message LilycoveCity_Harbor_Text_21E7ED message LilycoveCity_Harbor_Text_21E7ED
@@ -87,7 +87,7 @@ LilycoveCity_Harbor_EventScript_21E139:: @ 821E139
LilycoveCity_Harbor_EventScript_21E149:: @ 821E149 LilycoveCity_Harbor_EventScript_21E149:: @ 821E149
msgbox LilycoveCity_Harbor_Text_21E864, 5 msgbox LilycoveCity_Harbor_Text_21E864, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_21E5C0 goto_eq LilycoveCity_Harbor_EventScript_21E5C0
setvar VAR_PORTHOLE, 5 setvar VAR_PORTHOLE, 5
call LilycoveCity_Harbor_EventScript_21E5CC call LilycoveCity_Harbor_EventScript_21E5CC
@@ -98,7 +98,7 @@ LilycoveCity_Harbor_EventScript_21E149:: @ 821E149
LilycoveCity_Harbor_EventScript_21E171:: @ 821E171 LilycoveCity_Harbor_EventScript_21E171:: @ 821E171
msgbox LilycoveCity_Harbor_Text_21E880, 5 msgbox LilycoveCity_Harbor_Text_21E880, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_21E5C0 goto_eq LilycoveCity_Harbor_EventScript_21E5C0
call LilycoveCity_Harbor_EventScript_21E5CC call LilycoveCity_Harbor_EventScript_21E5CC
warp BATTLE_FRONTIER_OUTSIDE_WEST, 255, 19, 67 warp BATTLE_FRONTIER_OUTSIDE_WEST, 255, 19, 67
@@ -111,7 +111,7 @@ LilycoveCity_Harbor_EventScript_21E194:: @ 821E194
checkflag FLAG_SYS_HAS_EON_TICKET checkflag FLAG_SYS_HAS_EON_TICKET
goto_if 0, LilycoveCity_Harbor_EventScript_27374E goto_if 0, LilycoveCity_Harbor_EventScript_27374E
checkitem ITEM_EON_TICKET, 1 checkitem ITEM_EON_TICKET, 1
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_27374E goto_eq LilycoveCity_Harbor_EventScript_27374E
setvar VAR_0x400E, 1 setvar VAR_0x400E, 1
checkflag FLAG_0x1AE checkflag FLAG_0x1AE
@@ -124,7 +124,7 @@ LilycoveCity_Harbor_EventScript_21E1C6:: @ 821E1C6
checkflag FLAG_0x8D5 checkflag FLAG_0x8D5
goto_if 0, LilycoveCity_Harbor_EventScript_27374E goto_if 0, LilycoveCity_Harbor_EventScript_27374E
checkitem ITEM_AURORA_TICKET, 1 checkitem ITEM_AURORA_TICKET, 1
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_27374E goto_eq LilycoveCity_Harbor_EventScript_27374E
setvar VAR_0x400D, 1 setvar VAR_0x400D, 1
checkflag FLAG_0x1AF checkflag FLAG_0x1AF
@@ -137,7 +137,7 @@ LilycoveCity_Harbor_EventScript_21E1F8:: @ 821E1F8
checkflag FLAG_0x8D6 checkflag FLAG_0x8D6
goto_if 0, LilycoveCity_Harbor_EventScript_27374E goto_if 0, LilycoveCity_Harbor_EventScript_27374E
checkitem ITEM_OLD_SEA_MAP, 1 checkitem ITEM_OLD_SEA_MAP, 1
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_27374E goto_eq LilycoveCity_Harbor_EventScript_27374E
setvar VAR_0x400C, 1 setvar VAR_0x400C, 1
checkflag FLAG_0x1B0 checkflag FLAG_0x1B0
@@ -150,7 +150,7 @@ LilycoveCity_Harbor_EventScript_21E22A:: @ 821E22A
checkflag FLAG_0x8E0 checkflag FLAG_0x8E0
goto_if 0, LilycoveCity_Harbor_EventScript_27374E goto_if 0, LilycoveCity_Harbor_EventScript_27374E
checkitem ITEM_MYSTIC_TICKET, 1 checkitem ITEM_MYSTIC_TICKET, 1
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_27374E goto_eq LilycoveCity_Harbor_EventScript_27374E
setvar VAR_0x4009, 1 setvar VAR_0x4009, 1
checkflag FLAG_0x1DB checkflag FLAG_0x1DB
@@ -160,13 +160,13 @@ LilycoveCity_Harbor_EventScript_21E22A:: @ 821E22A
LilycoveCity_Harbor_EventScript_21E25C:: @ 821E25C LilycoveCity_Harbor_EventScript_21E25C:: @ 821E25C
setvar VAR_0x400B, 0 setvar VAR_0x400B, 0
compare_var_to_value VAR_0x400E, 2 compare VAR_0x400E, 2
call_if 1, LilycoveCity_Harbor_EventScript_21E28E call_if 1, LilycoveCity_Harbor_EventScript_21E28E
compare_var_to_value VAR_0x400D, 2 compare VAR_0x400D, 2
call_if 1, LilycoveCity_Harbor_EventScript_21E294 call_if 1, LilycoveCity_Harbor_EventScript_21E294
compare_var_to_value VAR_0x400C, 2 compare VAR_0x400C, 2
call_if 1, LilycoveCity_Harbor_EventScript_21E29A call_if 1, LilycoveCity_Harbor_EventScript_21E29A
compare_var_to_value VAR_0x4009, 2 compare VAR_0x4009, 2
call_if 1, LilycoveCity_Harbor_EventScript_21E2A0 call_if 1, LilycoveCity_Harbor_EventScript_21E2A0
return return
@@ -188,13 +188,13 @@ LilycoveCity_Harbor_EventScript_21E2A0:: @ 821E2A0
LilycoveCity_Harbor_EventScript_21E2A6:: @ 821E2A6 LilycoveCity_Harbor_EventScript_21E2A6:: @ 821E2A6
setvar VAR_0x400A, 0 setvar VAR_0x400A, 0
compare_var_to_value VAR_0x400E, 1 compare VAR_0x400E, 1
call_if 1, LilycoveCity_Harbor_EventScript_21E2D8 call_if 1, LilycoveCity_Harbor_EventScript_21E2D8
compare_var_to_value VAR_0x400D, 1 compare VAR_0x400D, 1
call_if 1, LilycoveCity_Harbor_EventScript_21E2DE call_if 1, LilycoveCity_Harbor_EventScript_21E2DE
compare_var_to_value VAR_0x400C, 1 compare VAR_0x400C, 1
call_if 1, LilycoveCity_Harbor_EventScript_21E2E4 call_if 1, LilycoveCity_Harbor_EventScript_21E2E4
compare_var_to_value VAR_0x4009, 1 compare VAR_0x4009, 1
call_if 1, LilycoveCity_Harbor_EventScript_21E2EA call_if 1, LilycoveCity_Harbor_EventScript_21E2EA
return return
@@ -262,25 +262,25 @@ LilycoveCity_Harbor_EventScript_21E350:: @ 821E350
waitmovement 0 waitmovement 0
applymovement 4, LilycoveCity_Harbor_Movement_27259A applymovement 4, LilycoveCity_Harbor_Movement_27259A
waitmovement 0 waitmovement 0
compare_var_to_value VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, LilycoveCity_Harbor_EventScript_21E656 call_if 1, LilycoveCity_Harbor_EventScript_21E656
compare_var_to_value VAR_FACING, 4 compare VAR_FACING, 4
call_if 1, LilycoveCity_Harbor_EventScript_21E661 call_if 1, LilycoveCity_Harbor_EventScript_21E661
addobject 5 addobject 5
compare_var_to_value VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, LilycoveCity_Harbor_EventScript_21E675 call_if 1, LilycoveCity_Harbor_EventScript_21E675
compare_var_to_value VAR_FACING, 4 compare VAR_FACING, 4
call_if 1, LilycoveCity_Harbor_EventScript_21E680 call_if 1, LilycoveCity_Harbor_EventScript_21E680
msgbox LilycoveCity_Harbor_Text_2C6951, 4 msgbox LilycoveCity_Harbor_Text_2C6951, 4
compare_var_to_value VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, LilycoveCity_Harbor_EventScript_21E68B call_if 1, LilycoveCity_Harbor_EventScript_21E68B
compare_var_to_value VAR_FACING, 4 compare VAR_FACING, 4
call_if 1, LilycoveCity_Harbor_EventScript_21E696 call_if 1, LilycoveCity_Harbor_EventScript_21E696
msgbox LilycoveCity_Harbor_Text_2C69AA, 4 msgbox LilycoveCity_Harbor_Text_2C69AA, 4
closemessage closemessage
compare_var_to_value VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, LilycoveCity_Harbor_EventScript_21E6A1 call_if 1, LilycoveCity_Harbor_EventScript_21E6A1
compare_var_to_value VAR_FACING, 4 compare VAR_FACING, 4
call_if 1, LilycoveCity_Harbor_EventScript_21E6BA call_if 1, LilycoveCity_Harbor_EventScript_21E6BA
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
call LilycoveCity_Harbor_EventScript_2721E2 call LilycoveCity_Harbor_EventScript_2721E2
@@ -367,9 +367,9 @@ LilycoveCity_Harbor_EventScript_21E514:: @ 821E514
waitmovement 0 waitmovement 0
delay 30 delay 30
removeobject 4 removeobject 4
compare_var_to_value VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, LilycoveCity_Harbor_EventScript_21E61B call_if 1, LilycoveCity_Harbor_EventScript_21E61B
compare_var_to_value VAR_FACING, 4 compare VAR_FACING, 4
call_if 1, LilycoveCity_Harbor_EventScript_21E610 call_if 1, LilycoveCity_Harbor_EventScript_21E610
delay 30 delay 30
hideobjectat 255, PETALBURG_CITY hideobjectat 255, PETALBURG_CITY
@@ -396,7 +396,7 @@ LilycoveCity_Harbor_EventScript_21E56B:: @ 821E56B
LilycoveCity_Harbor_EventScript_21E575:: @ 821E575 LilycoveCity_Harbor_EventScript_21E575:: @ 821E575
msgbox LilycoveCity_Harbor_Text_21E864, 5 msgbox LilycoveCity_Harbor_Text_21E864, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_21E5C0 goto_eq LilycoveCity_Harbor_EventScript_21E5C0
setvar VAR_PORTHOLE, 5 setvar VAR_PORTHOLE, 5
call LilycoveCity_Harbor_EventScript_21E5CC call LilycoveCity_Harbor_EventScript_21E5CC
@@ -407,7 +407,7 @@ LilycoveCity_Harbor_EventScript_21E575:: @ 821E575
LilycoveCity_Harbor_EventScript_21E59D:: @ 821E59D LilycoveCity_Harbor_EventScript_21E59D:: @ 821E59D
msgbox LilycoveCity_Harbor_Text_21E880, 5 msgbox LilycoveCity_Harbor_Text_21E880, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_21E5C0 goto_eq LilycoveCity_Harbor_EventScript_21E5C0
call LilycoveCity_Harbor_EventScript_21E5CC call LilycoveCity_Harbor_EventScript_21E5CC
warp BATTLE_FRONTIER_OUTSIDE_WEST, 255, 19, 67 warp BATTLE_FRONTIER_OUTSIDE_WEST, 255, 19, 67
@@ -428,9 +428,9 @@ LilycoveCity_Harbor_EventScript_21E5CC:: @ 821E5CC
waitmovement 0 waitmovement 0
delay 30 delay 30
hideobjectat VAR_LAST_TALKED, LILYCOVE_CITY_HARBOR hideobjectat VAR_LAST_TALKED, LILYCOVE_CITY_HARBOR
compare_var_to_value VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, LilycoveCity_Harbor_EventScript_21E61B call_if 1, LilycoveCity_Harbor_EventScript_21E61B
compare_var_to_value VAR_FACING, 4 compare VAR_FACING, 4
call_if 1, LilycoveCity_Harbor_EventScript_21E610 call_if 1, LilycoveCity_Harbor_EventScript_21E610
delay 30 delay 30
hideobjectat 255, PETALBURG_CITY hideobjectat 255, PETALBURG_CITY
+1 -1
View File
@@ -8,7 +8,7 @@ LilycoveCity_House2_EventScript_21ED75:: @ 821ED75
goto_eq LilycoveCity_House2_EventScript_21EDAC goto_eq LilycoveCity_House2_EventScript_21EDAC
msgbox LilycoveCity_House2_Text_21EDB6, 4 msgbox LilycoveCity_House2_Text_21EDB6, 4
giveitem_std ITEM_TM44 giveitem_std ITEM_TM44
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_House2_EventScript_272054 goto_eq LilycoveCity_House2_EventScript_272054
setflag FLAG_0x0EA setflag FLAG_0x0EA
msgbox LilycoveCity_House2_Text_21EDF9, 4 msgbox LilycoveCity_House2_Text_21EDF9, 4
+1 -1
View File
@@ -11,7 +11,7 @@ LilycoveCity_House3_EventScript_21EE4B:: @ 821EE4B
lock lock
faceplayer faceplayer
msgbox LilycoveCity_House3_Text_21EF99, 5 msgbox LilycoveCity_House3_Text_21EF99, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_House3_EventScript_21EE75 goto_eq LilycoveCity_House3_EventScript_21EE75
msgbox LilycoveCity_House3_Text_21F0F8, 4 msgbox LilycoveCity_House3_Text_21F0F8, 4
closemessage closemessage
@@ -11,9 +11,9 @@ LilycoveCity_LilycoveMuseum_1F_EventScript_218CC2:: @ 8218CC2
message LilycoveCity_LilycoveMuseum_1F_Text_218EBC message LilycoveCity_LilycoveMuseum_1F_Text_218EBC
waitmessage waitmessage
multichoice 20, 8, 16, 1 multichoice 20, 8, 16, 1
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218CF5 goto_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218CF5
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218CEC goto_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218CEC
end end
@@ -23,9 +23,9 @@ LilycoveCity_LilycoveMuseum_1F_EventScript_218CEC:: @ 8218CEC
LilycoveCity_LilycoveMuseum_1F_EventScript_218CF5:: @ 8218CF5 LilycoveCity_LilycoveMuseum_1F_EventScript_218CF5:: @ 8218CF5
msgbox LilycoveCity_LilycoveMuseum_1F_Text_218F98, 5 msgbox LilycoveCity_LilycoveMuseum_1F_Text_218F98, 5
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218D14 goto_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218D14
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218D1E goto_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218D1E
end end
@@ -125,7 +125,7 @@ LilycoveCity_LilycoveMuseum_2F_EventScript_2198EA:: @ 82198EA
applymovement 1, LilycoveCity_LilycoveMuseum_2F_Movement_27259E applymovement 1, LilycoveCity_LilycoveMuseum_2F_Movement_27259E
msgbox LilycoveCity_LilycoveMuseum_2F_Text_219EC5, 4 msgbox LilycoveCity_LilycoveMuseum_2F_Text_219EC5, 4
givedecoration_std 44 givedecoration_std 44
compare_var_to_value VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_LilycoveMuseum_2F_EventScript_219911 goto_eq LilycoveCity_LilycoveMuseum_2F_EventScript_219911
setflag FLAG_0x0EC setflag FLAG_0x0EC
closemessage closemessage
@@ -16,19 +16,19 @@ LilycoveCity_MoveDeletersHouse_EventScript_21EA3B:: @ 821EA3B
msgbox LilycoveCity_MoveDeletersHouse_Text_21EB65, 4 msgbox LilycoveCity_MoveDeletersHouse_Text_21EB65, 4
special sub_81B94B0 special sub_81B94B0
waitstate waitstate
compare_var_to_value VAR_0x8004, 255 compare VAR_0x8004, 255
goto_eq LilycoveCity_MoveDeletersHouse_EventScript_21EAE6 goto_eq LilycoveCity_MoveDeletersHouse_EventScript_21EAE6
special sub_81B98DC special sub_81B98DC
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_MoveDeletersHouse_EventScript_21EADC goto_eq LilycoveCity_MoveDeletersHouse_EventScript_21EADC
special sub_81B96D0 special sub_81B96D0
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_MoveDeletersHouse_EventScript_21EACF goto_eq LilycoveCity_MoveDeletersHouse_EventScript_21EACF
msgbox LilycoveCity_MoveDeletersHouse_Text_21EB89, 4 msgbox LilycoveCity_MoveDeletersHouse_Text_21EB89, 4
fadescreen 1 fadescreen 1
special sub_81B968C special sub_81B968C
fadescreen 0 fadescreen 0
compare_var_to_value VAR_0x8005, 4 compare VAR_0x8005, 4
goto_eq LilycoveCity_MoveDeletersHouse_EventScript_21EA3B goto_eq LilycoveCity_MoveDeletersHouse_EventScript_21EA3B
special sub_81B9718 special sub_81B9718
msgbox LilycoveCity_MoveDeletersHouse_Text_21EBDA, 5 msgbox LilycoveCity_MoveDeletersHouse_Text_21EBDA, 5
@@ -40,7 +40,7 @@ LilycoveCity_MoveDeletersHouse_EventScript_21EA3B:: @ 821EA3B
LilycoveCity_MoveDeletersHouse_EventScript_21EAB0:: @ 821EAB0 LilycoveCity_MoveDeletersHouse_EventScript_21EAB0:: @ 821EAB0
special sub_81B9918 special sub_81B9918
compare_var_to_value VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_MoveDeletersHouse_EventScript_21EAF0 goto_eq LilycoveCity_MoveDeletersHouse_EventScript_21EAF0
special sub_81B9770 special sub_81B9770
playfanfare BGM_ME_WASURE playfanfare BGM_ME_WASURE

Some files were not shown because too many files have changed in this diff Show More