improve goto_if macros

This commit is contained in:
Melody
2018-12-21 20:28:24 -05:00
parent 87fd6b8dc2
commit ac2e4adf2d
273 changed files with 2555 additions and 3036 deletions

View File

@@ -1557,17 +1557,47 @@
@ Supplementary
.macro goto_eq dest:req
.macro goto_if_unset flag, dest
checkflag \flag
goto_if 0, \dest
.endm
.macro goto_if_set flag, dest
checkflag \flag
goto_if 1, \dest
.endm
.macro goto_if_lt dest @ LESS THAN
goto_if 0, \dest
.endm
.macro goto_if_eq dest @ EQUAL
goto_if 1, \dest
.endm
.macro goto_if_gt dest @ GREATER THAN
goto_if 2, \dest
.endm
.macro goto_if_le dest @ LESS THAN OR EQUAL
goto_if 3, \dest
.endm
.macro goto_if_ge dest @ GREATER THAN OR EQUAL
goto_if 4, \dest
.endm
.macro goto_if_ne dest @ NOT EQUAL
goto_if 5, \dest
.endm
.macro switch var:req
copyvar 0x8000, \var
.endm
.macro case condition:req, dest:req
compare 0x8000, \condition
goto_eq \dest
goto_if_eq \dest
.endm
@ Message box types

File diff suppressed because it is too large Load Diff

View File

@@ -4,13 +4,11 @@ AbandonedShip_CaptainsOffice_MapScripts:: @ 82387E1
AbandonedShip_CaptainsOffice_EventScript_2387E2:: @ 82387E2
lock
faceplayer
checkflag FLAG_TRADED_SCANNER_TO_STERN
goto_eq AbandonedShip_CaptainsOffice_EventScript_23881A
goto_if_set FLAG_TRADED_SCANNER_TO_STERN, AbandonedShip_CaptainsOffice_EventScript_23881A
checkitem ITEM_SCANNER, 1
compare VAR_RESULT, 1
goto_eq AbandonedShip_CaptainsOffice_EventScript_238810
checkflag FLAG_ITEM_ABANDONED_SHIP_HIDDEN_FLOOR_ROOM_4_SCANNER
goto_eq AbandonedShip_CaptainsOffice_EventScript_23881A
goto_if_eq AbandonedShip_CaptainsOffice_EventScript_238810
goto_if_set FLAG_ITEM_ABANDONED_SHIP_HIDDEN_FLOOR_ROOM_4_SCANNER, AbandonedShip_CaptainsOffice_EventScript_23881A
msgbox AbandonedShip_CaptainsOffice_Text_238824, MSGBOX_DEFAULT
release
end

View File

@@ -28,11 +28,10 @@ AbandonedShip_Corridors_B1F_EventScript_237DBF:: @ 8237DBF
AbandonedShip_Corridors_B1F_EventScript_237DC8:: @ 8237DC8
lockall
checkflag FLAG_0x0EF
goto_eq AbandonedShip_Corridors_B1F_EventScript_237E09
goto_if_set FLAG_0x0EF, AbandonedShip_Corridors_B1F_EventScript_237E09
checkitem ITEM_STORAGE_KEY, 1
compare VAR_RESULT, 0
goto_eq AbandonedShip_Corridors_B1F_EventScript_237DFF
goto_if_eq AbandonedShip_Corridors_B1F_EventScript_237DFF
msgbox AbandonedShip_Corridors_B1F_Text_237F4B, MSGBOX_DEFAULT
playse SE_PIN
takeitem ITEM_STORAGE_KEY, 1

View File

@@ -60,11 +60,10 @@ AbandonedShip_HiddenFloorCorridors_EventScript_238A0F:: @ 8238A0F
AbandonedShip_HiddenFloorCorridors_EventScript_238A19:: @ 8238A19
lockall
checkflag FLAG_0x0F0
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
goto_if_set FLAG_0x0F0, AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
checkitem ITEM_ROOM_1_KEY, 1
compare VAR_RESULT, 0
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238AF5
goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_238AF5
msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, MSGBOX_DEFAULT
playse SE_PIN
takeitem ITEM_ROOM_1_KEY, 1
@@ -76,11 +75,10 @@ AbandonedShip_HiddenFloorCorridors_EventScript_238A19:: @ 8238A19
AbandonedShip_HiddenFloorCorridors_EventScript_238A50:: @ 8238A50
lockall
checkflag FLAG_0x0F1
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
goto_if_set FLAG_0x0F1, AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
checkitem ITEM_ROOM_2_KEY, 1
compare VAR_RESULT, 0
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238AFF
goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_238AFF
msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, MSGBOX_DEFAULT
playse SE_PIN
takeitem ITEM_ROOM_2_KEY, 1
@@ -92,11 +90,10 @@ AbandonedShip_HiddenFloorCorridors_EventScript_238A50:: @ 8238A50
AbandonedShip_HiddenFloorCorridors_EventScript_238A87:: @ 8238A87
lockall
checkflag FLAG_0x0F2
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
goto_if_set FLAG_0x0F2, AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
checkitem ITEM_ROOM_4_KEY, 1
compare VAR_RESULT, 0
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B09
goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B09
msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, MSGBOX_DEFAULT
playse SE_PIN
takeitem ITEM_ROOM_4_KEY, 1
@@ -108,11 +105,10 @@ AbandonedShip_HiddenFloorCorridors_EventScript_238A87:: @ 8238A87
AbandonedShip_HiddenFloorCorridors_EventScript_238ABE:: @ 8238ABE
lockall
checkflag FLAG_0x0F3
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
goto_if_set FLAG_0x0F3, AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
checkitem ITEM_ROOM_6_KEY, 1
compare VAR_RESULT, 0
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B13
goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B13
msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, MSGBOX_DEFAULT
playse SE_PIN
takeitem ITEM_ROOM_6_KEY, 1

View File

@@ -56,7 +56,7 @@ AbandonedShip_HiddenFloorRooms_EventScript_238D0C:: @ 8238D0C
AbandonedShip_HiddenFloorRooms_EventScript_238D0D:: @ 8238D0D
specialvar VAR_RESULT, FoundAbandonedShipRoom1Key
compare VAR_RESULT, 1
goto_eq AbandonedShip_HiddenFloorRooms_EventScript_238D32
goto_if_eq AbandonedShip_HiddenFloorRooms_EventScript_238D32
delay 20
compare VAR_RESULT, 0
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238DB3

View File

@@ -5,7 +5,7 @@ AbandonedShip_Rooms2_1F_EventScript_2380A7:: @ 82380A7
trainerbattle_double TRAINER_KIRA_AND_DAN_1, AbandonedShip_Rooms2_1F_Text_23819D, AbandonedShip_Rooms2_1F_Text_2381DA, AbandonedShip_Rooms2_1F_Text_238257, AbandonedShip_Rooms2_1F_EventScript_2380D7
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq AbandonedShip_Rooms2_1F_EventScript_2380F0
goto_if_eq AbandonedShip_Rooms2_1F_EventScript_2380F0
msgbox AbandonedShip_Rooms2_1F_Text_23820F, MSGBOX_DEFAULT
release
end
@@ -25,7 +25,7 @@ AbandonedShip_Rooms2_1F_EventScript_23810B:: @ 823810B
trainerbattle_double TRAINER_KIRA_AND_DAN_1, AbandonedShip_Rooms2_1F_Text_2382A4, AbandonedShip_Rooms2_1F_Text_2382F4, AbandonedShip_Rooms2_1F_Text_23836F, AbandonedShip_Rooms2_1F_EventScript_23813B
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq AbandonedShip_Rooms2_1F_EventScript_238154
goto_if_eq AbandonedShip_Rooms2_1F_EventScript_238154
msgbox AbandonedShip_Rooms2_1F_Text_23830A, MSGBOX_DEFAULT
release
end

View File

@@ -14,7 +14,7 @@ AbandonedShip_Rooms_1F_EventScript_237AB3:: @ 8237AB3
trainerbattle_single TRAINER_THALIA_1, AbandonedShip_Rooms_1F_Text_237B76, AbandonedShip_Rooms_1F_Text_237BB8, AbandonedShip_Rooms_1F_EventScript_237ADF
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq AbandonedShip_Rooms_1F_EventScript_237AFE
goto_if_eq AbandonedShip_Rooms_1F_EventScript_237AFE
msgbox AbandonedShip_Rooms_1F_Text_237BDB, MSGBOX_DEFAULT
release
end

View File

@@ -12,7 +12,7 @@ AncientTomb_MapScript1_238FC3: @ 8238FC3
AncientTomb_EventScript_238FCD:: @ 8238FCD
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 7
goto_if 5, AncientTomb_EventScript_27374E
goto_if_ne AncientTomb_EventScript_27374E
removeobject VAR_LAST_TALKED
return
@@ -42,8 +42,7 @@ AncientTomb_EventScript_238FFC:: @ 8238FFC
AncientTomb_EventScript_239033:: @ 8239033
lockall
checkflag FLAG_SYS_BRAILLE_FLY
goto_eq AncientTomb_EventScript_239046
goto_if_set FLAG_SYS_BRAILLE_FLY, AncientTomb_EventScript_239046
braillemessage AncientTomb_Braille_2A6D06
waitbuttonpress
hidebox2
@@ -77,11 +76,11 @@ AncientTomb_EventScript_23905A:: @ 823905A
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 1
goto_eq AncientTomb_EventScript_2390A1
goto_if_eq AncientTomb_EventScript_2390A1
compare VAR_RESULT, 4
goto_eq AncientTomb_EventScript_2390AA
goto_if_eq AncientTomb_EventScript_2390AA
compare VAR_RESULT, 5
goto_eq AncientTomb_EventScript_2390AA
goto_if_eq AncientTomb_EventScript_2390AA
setflag FLAG_0x1BD
release
end

View File

@@ -4,10 +4,8 @@ AquaHideout_1F_MapScripts:: @ 8233493
AquaHideout_1F_EventScript_233494:: @ 8233494
lock
faceplayer
checkflag FLAG_0x06F
goto_eq AquaHideout_1F_EventScript_2334BC
checkflag FLAG_0x0D4
goto_eq AquaHideout_1F_EventScript_2334B2
goto_if_set FLAG_0x06F, AquaHideout_1F_EventScript_2334BC
goto_if_set FLAG_0x0D4, AquaHideout_1F_EventScript_2334B2
msgbox AquaHideout_1F_Text_23351D, MSGBOX_DEFAULT
release
end
@@ -25,10 +23,8 @@ AquaHideout_1F_EventScript_2334BC:: @ 82334BC
AquaHideout_1F_EventScript_2334C6:: @ 82334C6
lock
faceplayer
checkflag FLAG_0x06F
goto_eq AquaHideout_1F_EventScript_2334EE
checkflag FLAG_0x0D4
goto_eq AquaHideout_1F_EventScript_2334E4
goto_if_set FLAG_0x06F, AquaHideout_1F_EventScript_2334EE
goto_if_set FLAG_0x0D4, AquaHideout_1F_EventScript_2334E4
msgbox AquaHideout_1F_Text_233739, MSGBOX_DEFAULT
release
end

View File

@@ -11,7 +11,7 @@ AquaHideout_B1F_MapScript1_2339B2: @ 82339B2
AquaHideout_B1F_EventScript_2339BC:: @ 82339BC
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 7
goto_if 5, AquaHideout_B1F_EventScript_27374E
goto_if_ne AquaHideout_B1F_EventScript_27374E
removeobject VAR_LAST_TALKED
return
@@ -43,11 +43,11 @@ AquaHideout_B1F_EventScript_2339EB:: @ 82339EB
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 1
goto_eq AquaHideout_B1F_EventScript_233A2F
goto_if_eq AquaHideout_B1F_EventScript_233A2F
compare VAR_RESULT, 4
goto_eq AquaHideout_B1F_EventScript_233A2F
goto_if_eq AquaHideout_B1F_EventScript_233A2F
compare VAR_RESULT, 5
goto_eq AquaHideout_B1F_EventScript_233A2F
goto_if_eq AquaHideout_B1F_EventScript_233A2F
setflag FLAG_0x1C4
release
end
@@ -70,11 +70,11 @@ AquaHideout_B1F_EventScript_233A38:: @ 8233A38
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 1
goto_eq AquaHideout_B1F_EventScript_233A7C
goto_if_eq AquaHideout_B1F_EventScript_233A7C
compare VAR_RESULT, 4
goto_eq AquaHideout_B1F_EventScript_233A7C
goto_if_eq AquaHideout_B1F_EventScript_233A7C
compare VAR_RESULT, 5
goto_eq AquaHideout_B1F_EventScript_233A7C
goto_if_eq AquaHideout_B1F_EventScript_233A7C
setflag FLAG_0x1C5
release
end

View File

@@ -18,9 +18,9 @@ BattleFrontier_BattleArenaBattleRoom_MapScript1_2574A0: @ 82574A0
BattleFrontier_BattleArenaBattleRoom_EventScript_2574AE:: @ 82574AE
checkplayergender
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_2574C6
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_2574C6
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_2574CC
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_2574CC
return
BattleFrontier_BattleArenaBattleRoom_EventScript_2574C6:: @ 82574C6
@@ -44,7 +44,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_2574DC:: @ 82574DC
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_25752E
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_25752E
applymovement 5, BattleFrontier_BattleArenaBattleRoom_Movement_257C08
applymovement 8, BattleFrontier_BattleArenaBattleRoom_Movement_257BEB
setvar VAR_TEMP_2, 1
@@ -150,7 +150,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_2576B0:: @ 82576B0
special CallFrontierUtilFunc
copyvar VAR_TEMP_F, VAR_RESULT
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleArenaBattleRoom_EventScript_2578BC
goto_if_ne BattleFrontier_BattleArenaBattleRoom_EventScript_2578BC
setvar VAR_0x8004, 1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
@@ -168,7 +168,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_2576B0:: @ 82576B0
call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_257893
call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257768
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257768
multichoice 19, 4, 103, 1
switch VAR_RESULT
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_25783A
@@ -276,7 +276,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_25789A:: @ 825789A
BattleFrontier_BattleArenaBattleRoom_EventScript_2578BC:: @ 82578BC
compare VAR_TEMP_2, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_2578D4
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_2578D4
msgbox BattleFrontier_BattleArenaBattleRoom_Text_257F45, MSGBOX_DEFAULT
setvar VAR_TEMP_2, 1
@@ -285,7 +285,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_2578D4:: @ 82578D4
waitmessage
call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_25792B
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_25792B
multichoice 19, 4, 103, 1
switch VAR_RESULT
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_257961
@@ -334,7 +334,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257961:: @ 8257961
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleArenaBattleRoom_EventScript_257A3F
goto_if_ne BattleFrontier_BattleArenaBattleRoom_EventScript_257A3F
msgbox BattleFrontier_BattleArenaBattleRoom_Text_25801C, MSGBOX_DEFAULT
closemessage
setvar VAR_0x8004, 2
@@ -352,7 +352,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257A3F:: @ 8257A3F
msgbox BattleFrontier_BattleArenaBattleRoom_Text_25810D, MSGBOX_DEFAULT
call BattleFrontier_BattleArenaBattleRoom_EventScript_257B5E
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257A5C
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257A5C
goto BattleFrontier_BattleArenaBattleRoom_EventScript_2575DB
BattleFrontier_BattleArenaBattleRoom_EventScript_257A5C:: @ 8257A5C
@@ -360,7 +360,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257A5C:: @ 8257A5C
setvar VAR_0x8004, 12
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleArenaBattleRoom_EventScript_257852
goto_if_ne BattleFrontier_BattleArenaBattleRoom_EventScript_257852
applymovement 7, BattleFrontier_BattleArenaBattleRoom_Movement_257BF1
waitmovement 0
msgbox BattleFrontier_BattleArenaBattleRoom_Text_25813F, MSGBOX_DEFAULT
@@ -378,7 +378,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257AA5:: @ 8257AA5
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleArenaBattleRoom_EventScript_257AF8
goto_if_ne BattleFrontier_BattleArenaBattleRoom_EventScript_257AF8
msgbox BattleFrontier_BattleArenaBattleRoom_Text_258213, MSGBOX_DEFAULT
closemessage
setvar VAR_0x8004, 2
@@ -396,7 +396,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257AF8:: @ 8257AF8
msgbox BattleFrontier_BattleArenaBattleRoom_Text_2582F9, MSGBOX_DEFAULT
call BattleFrontier_BattleArenaBattleRoom_EventScript_257B5E
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257B15
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257B15
goto BattleFrontier_BattleArenaBattleRoom_EventScript_2575DB
BattleFrontier_BattleArenaBattleRoom_EventScript_257B15:: @ 8257B15
@@ -404,7 +404,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257B15:: @ 8257B15
setvar VAR_0x8004, 12
special CallFrontierUtilFunc
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257852
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257852
applymovement 7, BattleFrontier_BattleArenaBattleRoom_Movement_257BF1
waitmovement 0
msgbox BattleFrontier_BattleArenaBattleRoom_Text_258323, MSGBOX_DEFAULT

View File

@@ -50,7 +50,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255CCF:: @ 8255CCF
setvar VAR_0x8004, 10
special CallFrontierUtilFunc
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaLobby_EventScript_255CF0
goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_255CF0
msgbox BattleFrontier_BattleArenaLobby_Text_2568E7, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaLobby_EventScript_255CF8
@@ -98,7 +98,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255D59:: @ 8255D59
waitse
call BattleFrontier_BattleArenaLobby_EventScript_23E8E0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaLobby_EventScript_255DBF
goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_255DBF
message BattleFrontier_BattleArenaLobby_Text_256B19
waitmessage
multichoicedefault 20, 8, 94, 1, 0
@@ -157,7 +157,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255E47:: @ 8255E47
setvar VAR_0x8004, 15
special CallFrontierUtilFunc
compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleArenaLobby_EventScript_255FAC
goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_255FAC
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT
@@ -170,7 +170,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255E47:: @ 8255E47
special sub_80F9490
waitstate
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleArenaLobby_EventScript_255FF8
goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_255FF8
msgbox BattleFrontier_BattleArenaLobby_Text_2564CE, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattleArenaLobby_EventScript_255FF8
@@ -202,7 +202,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255EE8:: @ 8255EE8
call BattleFrontier_BattleArenaLobby_EventScript_27134F
setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleArenaLobby_EventScript_255FE1
goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_255FE1
BattleFrontier_BattleArenaLobby_EventScript_255F54:: @ 8255F54
special SavePlayerParty

View File

@@ -21,9 +21,9 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_24BCDC:: @ 824BCDC
BattleFrontier_BattleDomeBattleRoom_EventScript_24BCDC:: @ 824BCDC
checkplayergender
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BCF4
goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BCF4
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BCFA
goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BCFA
return
BattleFrontier_BattleDomeBattleRoom_EventScript_24BCF4:: @ 824BCF4
@@ -50,9 +50,9 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BD0A:: @ 824BD0A
closemessage
showobjectat 13, MAP_BATTLE_FRONTIER_BATTLE_DOME_BATTLE_ROOM
compare VAR_TEMP_F, 3
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BD4E
goto_if_ne BattleFrontier_BattleDomeBattleRoom_EventScript_24BD4E
compare VAR_TEMP_E, 0
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BD5A
goto_if_ne BattleFrontier_BattleDomeBattleRoom_EventScript_24BD5A
BattleFrontier_BattleDomeBattleRoom_EventScript_24BD4E:: @ 824BD4E
applymovement 13, BattleFrontier_BattleDomeBattleRoom_Movement_24C775
@@ -66,9 +66,9 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BD61:: @ 824BD61
call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E
waitmovement 0
compare VAR_TEMP_F, 3
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BD82
goto_if_ne BattleFrontier_BattleDomeBattleRoom_EventScript_24BD82
compare VAR_TEMP_E, 0
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C1CB
goto_if_ne BattleFrontier_BattleDomeBattleRoom_EventScript_24C1CB
BattleFrontier_BattleDomeBattleRoom_EventScript_24BD82:: @ 824BD82
setvar VAR_0x8004, 4
@@ -107,7 +107,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BDF7:: @ 824BDF7
applymovement 9, BattleFrontier_BattleDomeBattleRoom_Movement_24C96B
waitmovement 0
compare VAR_TEMP_2, 2
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BE4F
goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BE4F
setvar VAR_0x8004, 19
special CallBattleDomeFunction
switch VAR_RESULT
@@ -229,17 +229,17 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BFD5:: @ 824BFD5
setvar VAR_0x8005, 6
special CallBattleDomeFunction
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C023
goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C023
setvar VAR_0x8004, 1
setvar VAR_0x8005, 7
special CallBattleDomeFunction
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C076
goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C076
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
special CallBattleDomeFunction
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C16A
goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C16A
goto BattleFrontier_BattleDomeBattleRoom_EventScript_24C0C9
return
@@ -303,7 +303,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C0C2:: @ 824C0C2
BattleFrontier_BattleDomeBattleRoom_EventScript_24C0C9:: @ 824C0C9
compare VAR_TEMP_F, 3
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C105
goto_if_ne BattleFrontier_BattleDomeBattleRoom_EventScript_24C105
switch VAR_TEMP_E
case 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C158
case 2, BattleFrontier_BattleDomeBattleRoom_EventScript_24C161
@@ -430,7 +430,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C211:: @ 824C211
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C2B9
goto_if_ne BattleFrontier_BattleDomeBattleRoom_EventScript_24C2B9
msgbox BattleFrontier_BattleDomeBattleRoom_Text_24CFAE, MSGBOX_DEFAULT
setvar VAR_0x8004, 2
setvar VAR_0x8005, 7
@@ -450,7 +450,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C2B9:: @ 824C2B9
setvar VAR_0x8004, 12
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62
goto_if_ne BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62
closemessage
applymovement 15, BattleFrontier_BattleDomeBattleRoom_Movement_24C82B
waitmovement 0
@@ -469,7 +469,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C346:: @ 824C346
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C373
goto_if_ne BattleFrontier_BattleDomeBattleRoom_EventScript_24C373
msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D319, MSGBOX_DEFAULT
setvar VAR_0x8004, 2
setvar VAR_0x8005, 7
@@ -489,7 +489,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C373:: @ 824C373
setvar VAR_0x8004, 12
special CallFrontierUtilFunc
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62
goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62
closemessage
applymovement 15, BattleFrontier_BattleDomeBattleRoom_Movement_24C82B
waitmovement 0
@@ -556,12 +556,12 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C48B:: @ 824C48B
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
compare VAR_RESULT, 3
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C4EF
goto_if_ne BattleFrontier_BattleDomeBattleRoom_EventScript_24C4EF
setvar VAR_0x8004, 9
special CallFrontierUtilFunc
copyvar VAR_TEMP_E, VAR_RESULT
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C4EF
goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C4EF
call BattleFrontier_BattleDomeBattleRoom_EventScript_242170
setobjectxyperm 15, 13, 9
removeobject 15
@@ -952,7 +952,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C8F5:: @ 824C8F5
BattleFrontier_BattleDomePreBattleRoom_EventScript_24C8F5:: @ 824C8F5
copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24C90F
goto_if_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24C90F
warp MAP_BATTLE_FRONTIER_BATTLE_DOME_LOBBY, 255, 5, 11
waitstate
end
@@ -966,14 +966,14 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C919:: @ 824C919
random 2
copyvar VAR_TEMP_D, VAR_RESULT
compare VAR_TEMP_D, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_27374E
goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_27374E
setobjectxyperm 6, 2, 0
setobjectmovementtype 6, 10
return
BattleFrontier_BattleDomeBattleRoom_EventScript_24C938:: @ 824C938
compare VAR_TEMP_D, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_27374E
goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_27374E
applymovement 6, BattleFrontier_BattleDomeBattleRoom_Movement_24C95E
return

View File

@@ -13,7 +13,7 @@ BattleFrontier_BattleDomeCorridor_EventScript_24B10E:: @ 824B10E
setvar VAR_0x8005, 1
special CallFrontierUtilFunc
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomeCorridor_EventScript_24B161
goto_if_eq BattleFrontier_BattleDomeCorridor_EventScript_24B161
applymovement 1, BattleFrontier_BattleDomeCorridor_Movement_24B1B2
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeCorridor_Movement_24B1A1
waitmovement 0

View File

@@ -62,7 +62,7 @@ BattleFrontier_BattleDomeLobby_EventScript_24989B:: @ 824989B
setvar VAR_0x8004, 10
special CallFrontierUtilFunc
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomeLobby_EventScript_2498C1
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_2498C1
msgbox BattleFrontier_BattleDomeLobby_Text_24A4E9, MSGBOX_DEFAULT
goto BattleFrontier_BattleDomeLobby_EventScript_2498C9
@@ -128,7 +128,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249991:: @ 8249991
waitse
call BattleFrontier_BattleDomeLobby_EventScript_23E8E0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomeLobby_EventScript_2499E9
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_2499E9
message BattleFrontier_BattleDomeLobby_Text_24AE17
waitmessage
multichoicedefault 20, 8, 94, 1, 0
@@ -210,7 +210,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249ABF:: @ 8249ABF
setvar VAR_0x8004, 15
special CallFrontierUtilFunc
compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleDomeLobby_EventScript_249C15
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_249C15
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT
@@ -223,7 +223,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249ABF:: @ 8249ABF
special sub_80F9490
waitstate
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeLobby_EventScript_249C61
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_249C61
msgbox BattleFrontier_BattleDomeLobby_Text_24A1C6, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattleDomeLobby_EventScript_249C61
@@ -251,7 +251,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249B60:: @ 8249B60
call BattleFrontier_BattleDomeLobby_EventScript_27134F
setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeLobby_EventScript_249C4A
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_249C4A
setvar VAR_0x8004, 22
special CallBattleDomeFunction

View File

@@ -18,7 +18,7 @@ BattleFrontier_BattleDomePreBattleRoom_MapScript2_24B218: @ 824B218
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B222:: @ 824B222
compare VAR_0x8006, 1
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5C7
goto_if_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5C7
setvar VAR_0x8004, 2
setvar VAR_0x8005, 6
setvar VAR_0x8006, 1
@@ -34,7 +34,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F:: @ 824B24F
switch VAR_RESULT
call BattleFrontier_BattleDomePreBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B2C1
goto_if_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B2C1
multichoice 16, 0, 73, 1
switch VAR_RESULT
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3DD
@@ -159,7 +159,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B46D:: @ 824B46D
setvar VAR_0x8004, 21
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
goto_if_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
setvar VAR_0x8004, 2
setvar VAR_0x8005, 8
special CallBattleDomeFunction
@@ -219,15 +219,13 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B54C:: @ 824B54C
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B58B:: @ 824B58B
checkflag FLAG_TEMP_1
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5B5
goto_if_set FLAG_TEMP_1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5B5
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24BB2E, MSGBOX_DEFAULT
setflag FLAG_TEMP_1
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5A0:: @ 824B5A0
checkflag FLAG_TEMP_1
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5BE
goto_if_set FLAG_TEMP_1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5BE
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24BBAC, MSGBOX_DEFAULT
setflag FLAG_TEMP_1
return

View File

@@ -16,7 +16,7 @@ BattleFrontier_BattleFactoryBattleRoom_MapScript1_25ADBB: @ 825ADBB
special CallFrontierUtilFunc
copyvar VAR_TEMP_F, VAR_RESULT
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25ADF3
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_25ADF3
end
BattleFrontier_BattleFactoryBattleRoom_EventScript_25ADF3:: @ 825ADF3
@@ -32,7 +32,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE0A:: @ 825AE0A
setvar VAR_TEMP_1, 1
hideobjectat 255, MAP_BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM
compare VAR_TEMP_F, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE24
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE24
hideobjectat 2, MAP_BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE24:: @ 825AE24
@@ -63,7 +63,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE3B:: @ 825AE3B
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE67:: @ 825AE67
compare VAR_TEMP_F, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE3B
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE3B
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B
waitmovement 0
@@ -78,7 +78,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE67:: @ 825AE67
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEA7:: @ 825AEA7
compare VAR_TEMP_F, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF9C
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF9C
setvar VAR_0x8004, 5
special CallBattlePalaceFunction
lockall
@@ -111,7 +111,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF0F:: @ 825AF0F
setvar VAR_0x8005, 3
special CallBattleFactoryFunction
compare VAR_RESULT, 9999
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF3E
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF3E
addvar VAR_RESULT, 1
setorcopyvar VAR_0x8006, VAR_RESULT
setvar VAR_0x8004, 2
@@ -152,7 +152,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF9C:: @ 825AF9C
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AFEF
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_25AFEF
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B1FB, MSGBOX_DEFAULT
setvar VAR_0x8004, 2
setvar VAR_0x8005, 7
@@ -162,14 +162,14 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AFEF:: @ 825AFEF
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B3F1, MSGBOX_DEFAULT
call BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B00C
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B00C
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEF8
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B00C:: @ 825B00C
setvar VAR_0x8004, 12
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B42D, MSGBOX_DEFAULT
closemessage
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B182
@@ -188,7 +188,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B051:: @ 825B051
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25B07E
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_25B07E
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B517, MSGBOX_DEFAULT
setvar VAR_0x8004, 2
setvar VAR_0x8005, 7
@@ -198,14 +198,14 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B07E:: @ 825B07E
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B5CF, MSGBOX_DEFAULT
call BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B09B
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B09B
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEF8
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B09B:: @ 825B09B
setvar VAR_0x8004, 12
special CallFrontierUtilFunc
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B5E7, MSGBOX_DEFAULT
waitmessage
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B182
@@ -237,7 +237,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105:: @ 825B105
setvar VAR_0x8005, 3
special CallBattleFactoryFunction
compare VAR_RESULT, 9999
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF3E
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF3E
addvar VAR_RESULT, 1
setorcopyvar VAR_0x8006, VAR_RESULT
setvar VAR_0x8004, 2
@@ -247,7 +247,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105:: @ 825B105
setvar VAR_0x8005, 1
special CallBattleFactoryFunction
compare VAR_RESULT, 9999
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF43
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF43
addvar VAR_RESULT, 1
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
@@ -293,7 +293,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B190:: @ 825B190
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25B190:: @ 825B190
copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25B1AA
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25B1AA
warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY, 255, 4, 8
waitstate
end

View File

@@ -56,7 +56,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_25849B:: @ 825849B
setvar VAR_0x8004, 10
special CallFrontierUtilFunc
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryLobby_EventScript_2584BD
goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2584BD
msgbox BattleFrontier_BattleFactoryLobby_Text_258D93, MSGBOX_DEFAULT
waitmessage
goto BattleFrontier_BattleFactoryLobby_EventScript_2584C6
@@ -103,7 +103,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_258506:: @ 8258506
BattleFrontier_BattleFactoryLobby_EventScript_25853B:: @ 825853B
call BattleFrontier_BattleFactoryLobby_EventScript_23E8E0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryLobby_EventScript_258582
goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_258582
message BattleFrontier_BattleFactoryLobby_Text_259388
waitmessage
multichoicedefault 20, 8, 94, 1, 0
@@ -211,7 +211,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_2586B9:: @ 82586B9
call BattleFrontier_BattleFactoryLobby_EventScript_27134F
setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleFactoryLobby_EventScript_258783
goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_258783
setvar VAR_0x8006, 0
BattleFrontier_BattleFactoryLobby_EventScript_25871A:: @ 825871A

View File

@@ -10,7 +10,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_MapScript2_259AC5: @ 8259AC5
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259ACF:: @ 8259ACF
setvar VAR_TEMP_1, 1
compare VAR_0x8006, 1
goto_if 5, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259AEA
goto_if_ne BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259AEA
setobjectxy 1, 8, 7
turnobject 1, 1
@@ -24,13 +24,13 @@ BattleFrontier_BattleFactoryPreBattleRoom_MapScript2_259AEF: @ 8259AEF
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259AF9:: @ 8259AF9
compare VAR_0x8006, 1
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259BA5
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259BA5
setvar VAR_TEMP_0, 1
applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1AC
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A19A
waitmovement 0
compare VAR_0x8006, 2
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E69
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E69
setvar VAR_0x8004, 13
special CallBattleFactoryFunction
setvar VAR_0x8004, 12
@@ -76,7 +76,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259BA5:: @ 8259BA5
setvar VAR_0x8004, 9
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C26
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C26
playse 263
waitse
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AC15, MSGBOX_DEFAULT
@@ -97,7 +97,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13:: @ 8259C13
setvar VAR_0x8004, 9
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9
goto_if_ne BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C26:: @ 8259C26
setvar VAR_0x8004, 1
@@ -117,7 +117,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C26:: @ 8259C26
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E40
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259CC6
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259CC6
multichoice 19, 4, 103, 1
switch VAR_RESULT
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D98
@@ -186,7 +186,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259DF2:: @ 8259DF2
special CallBattleFactoryFunction
waitstate
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
setvar VAR_0x8004, 8
special CallBattleFactoryFunction
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB6C, MSGBOX_DEFAULT
@@ -421,7 +421,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9:: @ 825A0B9
waitmessage
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A110
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A110
multichoice 19, 4, 103, 1
switch VAR_RESULT
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A146

View File

@@ -13,9 +13,9 @@ BattleFrontier_BattlePalaceBattleRoom_MapScript1_24F825: @ 824F825
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F833:: @ 824F833
checkplayergender
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F84B
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F84B
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F856
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F856
return
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F84B:: @ 824F84B
@@ -38,7 +38,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24F86B:: @ 824F86B
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8B5
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8B5
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE9B
waitmovement 0
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC
@@ -107,7 +107,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A:: @ 824F98A
special CallFrontierUtilFunc
copyvar VAR_TEMP_F, VAR_RESULT
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB61
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB61
setvar VAR_0x8004, 1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
@@ -125,7 +125,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A:: @ 824F98A
call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE89
call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA42
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA42
multichoice 19, 4, 103, 1
switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB14
@@ -199,7 +199,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB3F:: @ 824FB3F
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB61:: @ 824FB61
compare VAR_TEMP_2, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB79
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB79
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2500DD, MSGBOX_DEFAULT
setvar VAR_TEMP_2, 1
@@ -208,7 +208,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB79:: @ 824FB79
waitmessage
call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FBD0
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FBD0
multichoice 19, 4, 103, 1
switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FC06
@@ -248,7 +248,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FC06:: @ 824FC06
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2501C1, MSGBOX_DEFAULT
setvar VAR_0x8004, 2
setvar VAR_0x8005, 7
@@ -258,7 +258,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA:: @ 824FCAA
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2502C4, MSGBOX_DEFAULT
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7:: @ 824FCC7
@@ -267,7 +267,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7:: @ 824FCC7
setvar VAR_0x8004, 12
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2502FF, MSGBOX_DEFAULT
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC
@@ -291,7 +291,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD3A:: @ 824FD3A
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250485, MSGBOX_DEFAULT
setvar VAR_0x8004, 2
setvar VAR_0x8005, 7
@@ -301,7 +301,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67:: @ 824FD67
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250572, MSGBOX_DEFAULT
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84:: @ 824FD84
@@ -310,7 +310,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84:: @ 824FD84
setvar VAR_0x8004, 12
special CallFrontierUtilFunc
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_25057E, MSGBOX_DEFAULT
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC
@@ -461,7 +461,7 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_24FEB6: @ 824FEB6
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FEBB:: @ 824FEBB
copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FED5
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FED5
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY, 255, 5, 7
waitstate
end

View File

@@ -29,7 +29,7 @@ BattleFrontier_BattlePalaceCorridor_EventScript_24F4B3:: @ 824F4B3
setvar VAR_0x8005, 1
special CallFrontierUtilFunc
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F553
goto_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F553
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5BD
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5C4
waitmovement 0

View File

@@ -50,7 +50,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D817:: @ 824D817
setvar VAR_0x8004, 10
special CallFrontierUtilFunc
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24D838
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24D838
msgbox BattleFrontier_BattlePalaceLobby_Text_24E497, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24D840
@@ -98,7 +98,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D8A1:: @ 824D8A1
waitse
call BattleFrontier_BattlePalaceLobby_EventScript_23E8E0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24D907
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24D907
message BattleFrontier_BattlePalaceLobby_Text_24EF16
waitmessage
multichoicedefault 20, 8, 94, 1, 0
@@ -151,7 +151,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D968:: @ 824D968
setvar VAR_0x8005, 0
special CallBattlePalaceFunction
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePalaceLobby_EventScript_24D817
goto_if_ne BattleFrontier_BattlePalaceLobby_EventScript_24D817
special SavePlayerParty
compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DB9E
@@ -181,7 +181,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D9E6:: @ 824D9E6
setvar VAR_0x8004, 15
special CallFrontierUtilFunc
compare VAR_0x8004, 1
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB45
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB45
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT
@@ -194,7 +194,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D9E6:: @ 824D9E6
special sub_80F9490
waitstate
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB91
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB91
msgbox BattleFrontier_BattlePalaceLobby_Text_24E3C8, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceLobby_EventScript_24DB91
@@ -226,7 +226,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DA87:: @ 824DA87
call BattleFrontier_BattlePalaceLobby_EventScript_27134F
setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB7A
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB7A
BattleFrontier_BattlePalaceLobby_EventScript_24DAF3:: @ 824DAF3
special SavePlayerParty
@@ -243,7 +243,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DAF3:: @ 824DAF3
BattleFrontier_BattlePalaceLobby_EventScript_24DB20:: @ 824DB20
compare VAR_FRONTIER_BATTLE_MODE, 1
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB38
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB38
msgbox BattleFrontier_BattlePalaceLobby_Text_24DE17, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24D999

View File

@@ -52,7 +52,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B762:: @ 825B762
setvar VAR_0x8004, 10
special CallFrontierUtilFunc
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePikeLobby_EventScript_25B784
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_25B784
msgbox BattleFrontier_BattlePikeLobby_Text_25C18A, MSGBOX_DEFAULT
waitmessage
goto BattleFrontier_BattlePikeLobby_EventScript_25B78D
@@ -150,7 +150,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B8BB:: @ 825B8BB
setvar VAR_0x8004, 15
special CallFrontierUtilFunc
compare VAR_0x8004, 1
goto_eq BattleFrontier_BattlePikeLobby_EventScript_25BA27
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_25BA27
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT
@@ -163,7 +163,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B8BB:: @ 825B8BB
special sub_80F9490
waitstate
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePikeLobby_EventScript_25BA73
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_25BA73
msgbox BattleFrontier_BattlePikeLobby_Text_25C0D8, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattlePikeLobby_EventScript_25BA73
@@ -200,7 +200,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B95C:: @ 825B95C
setvar VAR_0x8004, 26
special CallBattlePikeFunction
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePikeLobby_EventScript_25BA5C
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_25BA5C
special SavePlayerParty
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3

View File

@@ -146,7 +146,7 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D2FB:: @ 825D2FB
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3BD
goto_if_ne BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3BD
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DED2, MSGBOX_DEFAULT
setvar VAR_0x8004, 2
setvar VAR_0x8005, 7
@@ -156,14 +156,14 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3BD:: @ 825D3BD
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DF71, MSGBOX_DEFAULT
call BattleFrontier_BattlePikeRandomRoom1_EventScript_25D77B
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3DA
goto_if_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3DA
goto BattleFrontier_BattlePikeRandomRoom1_EventScript_25D20A
BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3DA:: @ 825D3DA
setvar VAR_0x8004, 12
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D49D
goto_if_ne BattleFrontier_BattlePikeRandomRoom1_EventScript_25D49D
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DFA2, MSGBOX_DEFAULT
waitmessage
playfanfare MUS_ME_SYMBOLGET
@@ -181,7 +181,7 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D416:: @ 825D416
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D443
goto_if_ne BattleFrontier_BattlePikeRandomRoom1_EventScript_25D443
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E02C, MSGBOX_DEFAULT
setvar VAR_0x8004, 2
setvar VAR_0x8005, 7
@@ -191,14 +191,14 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D443:: @ 825D443
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E0E8, MSGBOX_DEFAULT
call BattleFrontier_BattlePikeRandomRoom1_EventScript_25D77B
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D460
goto_if_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D460
goto BattleFrontier_BattlePikeRandomRoom1_EventScript_25D20A
BattleFrontier_BattlePikeRandomRoom1_EventScript_25D460:: @ 825D460
setvar VAR_0x8004, 12
special CallFrontierUtilFunc
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D49D
goto_if_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D49D
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E0F6, MSGBOX_DEFAULT
waitmessage
playfanfare MUS_ME_SYMBOLGET

View File

@@ -39,9 +39,9 @@ BattleFrontier_BattlePikeRandomRoom3_MapScript1_25E47A: @ 825E47A
setvar VAR_0x8005, 5
special CallFrontierUtilFunc
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3
goto_if_eq BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3
compare VAR_RESULT, 3
goto_eq BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3
goto_if_eq BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3
end
BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3:: @ 825E4A3

View File

@@ -169,7 +169,7 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA78:: @ 825CA78
setvar VAR_0x8004, 17
special CallBattlePikeFunction
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA91
goto_if_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA91
setvar VAR_TEMP_5, 255
end
@@ -192,7 +192,7 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_25CABB:: @ 825CABB
setvar VAR_0x8004, 19
special CallBattlePikeFunction
compare VAR_RESULT, 4
goto_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_25CBC2
goto_if_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_25CBC2
lock
faceplayer
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CE69, MSGBOX_YESNO

View File

@@ -15,29 +15,29 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D:: @ 825F07D
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A:: @ 825F08A
specialvar VAR_TEMP_1, sub_813AA04
compare VAR_TEMP_1, VAR_0x8008
goto_if 4, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0C9
goto_if_ge BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0C9
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE86, MSGBOX_DEFAULT
compare VAR_TEMP_2, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
compare VAR_TEMP_2, 1
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
compare VAR_TEMP_2, 2
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0C9:: @ 825F0C9
compare VAR_TEMP_2, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5
compare VAR_TEMP_2, 1
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F12A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5:: @ 825F0E5
checkdecorspace VAR_0x8009
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F11D
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F11D
copyvar VAR_0x8004, VAR_0x8008
special sub_813A9A4
givedecoration VAR_0x8009
@@ -45,7 +45,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5:: @ 825F0E5
playse SE_REGI
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE45, MSGBOX_DEFAULT
compare VAR_TEMP_2, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
end
@@ -58,7 +58,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F11D:: @ 825F11D
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F12A:: @ 825F12A
checkitemspace VAR_0x8009, 1
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F166
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F166
copyvar VAR_0x8004, VAR_0x8008
special sub_813A9A4
giveitem VAR_0x8009, 1
@@ -66,7 +66,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F12A:: @ 825F12A
playse SE_REGI
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE72, MSGBOX_DEFAULT
compare VAR_TEMP_2, 2
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
end
@@ -108,7 +108,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185:: @ 825F185
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F21E:: @ 825F21E
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8B6, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 16
setvar VAR_0x8009, 75
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -117,7 +117,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F21E:: @ 825F21E
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F241:: @ 825F241
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8E6, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 32
setvar VAR_0x8009, 103
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -126,7 +126,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F241:: @ 825F241
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F264:: @ 825F264
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F917, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 32
setvar VAR_0x8009, 87
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -135,7 +135,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F264:: @ 825F264
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F287:: @ 825F287
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F949, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48
setvar VAR_0x8009, 79
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -144,7 +144,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F287:: @ 825F287
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2AA:: @ 825F2AA
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F979, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48
setvar VAR_0x8009, 84
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -153,7 +153,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2AA:: @ 825F2AA
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2CD:: @ 825F2CD
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9A9, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48
setvar VAR_0x8009, 85
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -162,7 +162,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2CD:: @ 825F2CD
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2F0:: @ 825F2F0
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9DB, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48
setvar VAR_0x8009, 86
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -171,7 +171,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2F0:: @ 825F2F0
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F313:: @ 825F313
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA0A, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 80
setvar VAR_0x8009, 80
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -180,7 +180,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F313:: @ 825F313
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F336:: @ 825F336
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA3D, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 80
setvar VAR_0x8009, 81
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -189,7 +189,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F336:: @ 825F336
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F359:: @ 825F359
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA70, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 80
setvar VAR_0x8009, 82
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -222,7 +222,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E:: @ 825F38E
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F3F0:: @ 825F3F0
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAA2, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 128
setvar VAR_0x8009, 113
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -231,7 +231,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F3F0:: @ 825F3F0
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F413:: @ 825F413
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAD2, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 128
setvar VAR_0x8009, 111
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -240,7 +240,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F413:: @ 825F413
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F436:: @ 825F436
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB03, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 256
setvar VAR_0x8009, 114
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -249,7 +249,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F436:: @ 825F436
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F459:: @ 825F459
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB35, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 256
setvar VAR_0x8009, 115
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -258,7 +258,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F459:: @ 825F459
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F47C:: @ 825F47C
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB68, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 256
setvar VAR_0x8009, 116
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -292,7 +292,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1:: @ 825F4B1
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F51E:: @ 825F51E
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB9B, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, 64
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -301,7 +301,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F51E:: @ 825F51E
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F541:: @ 825F541
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBC7, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, 67
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -310,7 +310,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F541:: @ 825F541
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F564:: @ 825F564
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBF3, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, 65
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -319,7 +319,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F564:: @ 825F564
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F587:: @ 825F587
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC1C, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, 70
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -328,7 +328,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F587:: @ 825F587
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5AA:: @ 825F5AA
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC45, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, 66
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -337,7 +337,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5AA:: @ 825F5AA
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5CD:: @ 825F5CD
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC70, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, 63
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -374,7 +374,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602:: @ 825F602
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F690:: @ 825F690
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE17, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48
setvar VAR_0x8009, 200
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -383,7 +383,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F690:: @ 825F690
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6B3:: @ 825F6B3
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCCB, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48
setvar VAR_0x8009, 180
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -392,7 +392,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6B3:: @ 825F6B3
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6D6:: @ 825F6D6
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCFA, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48
setvar VAR_0x8009, 183
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -401,7 +401,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6D6:: @ 825F6D6
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6F9:: @ 825F6F9
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD29, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48
setvar VAR_0x8009, 185
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -410,7 +410,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6F9:: @ 825F6F9
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F71C:: @ 825F71C
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC9A, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64
setvar VAR_0x8009, 179
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -419,7 +419,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F71C:: @ 825F71C
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F73F:: @ 825F73F
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD59, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64
setvar VAR_0x8009, 186
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -428,7 +428,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F73F:: @ 825F73F
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F762:: @ 825F762
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD89, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64
setvar VAR_0x8009, 187
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -437,7 +437,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F762:: @ 825F762
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F785:: @ 825F785
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDB9, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64
setvar VAR_0x8009, 196
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -446,7 +446,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F785:: @ 825F785
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7A8:: @ 825F7A8
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDE8, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64
setvar VAR_0x8009, 198
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A

View File

@@ -22,7 +22,7 @@ BattleFrontier_BattlePyramidEmptySquare_EventScript_252A77:: @ 8252A77
special CallBattlePyramidFunction
delay 2
compare VAR_RESULT, 2
goto_if 5, BattleFrontier_BattlePyramidEmptySquare_EventScript_252A77
goto_if_ne BattleFrontier_BattlePyramidEmptySquare_EventScript_252A77
setvar VAR_TEMP_D, 0
releaseall
end
@@ -50,17 +50,17 @@ BattleFrontier_BattlePyramidEmptySquare_MapScript1_252AA2: @ 8252AA2
setvar VAR_0x8005, 5
special CallFrontierUtilFunc
compare VAR_RESULT, 4
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39
goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39
compare VAR_RESULT, 5
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39
goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39
goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
compare VAR_RESULT, 3
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
compare VAR_RESULT, 9
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
setvar VAR_0x8004, 14
setvar VAR_0x8005, 8
special CallFrontierUtilFunc
@@ -135,7 +135,7 @@ BattleFrontier_BattlePyramidEmptySquare_EventScript_252BE8:: @ 8252BE8
copyvar VAR_0x8006, VAR_RESULT
special CallFrontierUtilFunc
compare VAR_RESULT, 7
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252C45
goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252C45
setvar VAR_0x8004, 6
special CallBattlePyramidFunction
setvar VAR_0x8004, 2
@@ -167,7 +167,7 @@ BattleFrontier_BattlePyramidEmptySquare_EventScript_252C6A:: @ 8252C6A
special CallBattlePyramidFunction
callstd STD_FIND_ITEM
compare VAR_0x8007, 0
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252C87
goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252C87
setvar VAR_0x8004, 8
special CallBattlePyramidFunction

View File

@@ -53,7 +53,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_2507B1:: @ 82507B1
setvar VAR_0x8004, 10
special CallFrontierUtilFunc
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_2507D2
goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_2507D2
msgbox BattleFrontier_BattlePyramidLobby_Text_2517B5, MSGBOX_DEFAULT
goto BattleFrontier_BattlePyramidLobby_EventScript_2507DA
@@ -154,7 +154,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250904:: @ 8250904
setvar VAR_0x8004, 15
special CallFrontierUtilFunc
compare VAR_0x8004, 1
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250A75
goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_250A75
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT
@@ -167,7 +167,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250904:: @ 8250904
special sub_80F9490
waitstate
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250AC1
goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_250AC1
msgbox BattleFrontier_BattlePyramidLobby_Text_2514E6, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattlePyramidLobby_EventScript_250AC1
@@ -203,7 +203,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_2509A5:: @ 82509A5
call BattleFrontier_BattlePyramidLobby_EventScript_27134F
setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250AAA
goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_250AAA
BattleFrontier_BattlePyramidLobby_EventScript_250A21:: @ 8250A21
special SavePlayerParty
@@ -286,7 +286,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250B28:: @ 8250B28
setvar VAR_0x8005, 5
special CallBattlePyramidFunction
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePyramidLobby_EventScript_250B53
goto_if_ne BattleFrontier_BattlePyramidLobby_EventScript_250B53
setvar VAR_RESULT, 0
goto BattleFrontier_BattlePyramidLobby_EventScript_250BA4
return
@@ -304,7 +304,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250B66:: @ 8250B66
setvar VAR_0x8005, 6
special CallBattlePyramidFunction
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePyramidLobby_EventScript_250B91
goto_if_ne BattleFrontier_BattlePyramidLobby_EventScript_250B91
setvar VAR_RESULT, 0
goto BattleFrontier_BattlePyramidLobby_EventScript_250BA4
return
@@ -441,7 +441,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250D56:: @ 8250D56
setvar VAR_0x8005, 1
special CallBattlePyramidFunction
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250D94
goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_250D94
msgbox BattleFrontier_BattlePyramidLobby_Text_2515AD, MSGBOX_DEFAULT
goto BattleFrontier_BattlePyramidLobby_EventScript_250D9C
@@ -497,7 +497,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250DDB:: @ 8250DDB
setflag FLAG_SPECIAL_FLAG_0x4004
special sub_81C6A94
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250E00
goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_250E00
message BattleFrontier_BattlePyramidLobby_Text_2518C6
waitmessage
goto BattleFrontier_BattlePyramidLobby_EventScript_250E09
@@ -535,7 +535,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250E50:: @ 8250E50
BattleFrontier_BattlePyramidLobby_EventScript_250E60:: @ 8250E60
special sub_81B95E0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250E6F
goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_250E6F
return
BattleFrontier_BattlePyramidLobby_EventScript_250E6F:: @ 8250E6F

View File

@@ -21,7 +21,7 @@ BattleFrontier_BattlePyramidTop_EventScript_2550D8:: @ 82550D8
setvar VAR_TEMP_1, 1
turnobject 255, 2
compare VAR_TEMP_C, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_2550F3
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_2550F3
setobjectxyperm 2, 0, 0
BattleFrontier_BattlePyramidTop_EventScript_2550F3:: @ 82550F3
@@ -31,7 +31,7 @@ BattleFrontier_BattlePyramidTop_MapScript1_2550F4: @ 82550F4
setvar VAR_0x8004, 9
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidTop_EventScript_25510C
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_25510C
call BattleFrontier_BattlePyramidTop_EventScript_242170
BattleFrontier_BattlePyramidTop_EventScript_25510C:: @ 825510C
@@ -46,11 +46,11 @@ BattleFrontier_BattlePyramidTop_EventScript_25510C:: @ 825510C
setvar VAR_0x8005, 5
special CallFrontierUtilFunc
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
compare VAR_RESULT, 3
goto_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
compare VAR_RESULT, 9
goto_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
end
BattleFrontier_BattlePyramidTop_MapScript2_25516E: @ 825516E
@@ -89,9 +89,9 @@ BattleFrontier_BattlePyramidTop_EventScript_2551D0:: @ 82551D0
lock
faceplayer
compare VAR_TEMP_D, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_255236
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_255236
compare VAR_TEMP_C, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_255240
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_255240
msgbox BattleFrontier_BattlePyramidTop_Text_255410, MSGBOX_DEFAULT
closemessage
applymovement 1, BattleFrontier_BattlePyramidTop_Movement_2553FD
@@ -137,7 +137,7 @@ BattleFrontier_BattlePyramidTop_EventScript_255256:: @ 8255256
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_2552D0
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_2552D0
special SpawnCameraObject
applymovement EVENT_OBJ_ID_CAMERA, BattleFrontier_BattlePyramidTop_Movement_25540C
waitmovement 0
@@ -161,14 +161,14 @@ BattleFrontier_BattlePyramidTop_EventScript_2552DA:: @ 82552DA
call BattleFrontier_BattlePyramidTop_EventScript_2553ED
playbgm MUS_PYRAMID_TOP, 0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePyramidTop_EventScript_2552FB
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_2552FB
goto BattleFrontier_BattlePyramidTop_EventScript_252B42
BattleFrontier_BattlePyramidTop_EventScript_2552FB:: @ 82552FB
setvar VAR_0x8004, 12
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_25521A
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_25521A
msgbox BattleFrontier_BattlePyramidTop_Text_255873, MSGBOX_DEFAULT
playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattlePyramidTop_Text_2558E9
@@ -184,7 +184,7 @@ BattleFrontier_BattlePyramidTop_EventScript_255335:: @ 8255335
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_255388
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_255388
special SpawnCameraObject
applymovement EVENT_OBJ_ID_CAMERA, BattleFrontier_BattlePyramidTop_Movement_25540C
waitmovement 0
@@ -208,14 +208,14 @@ BattleFrontier_BattlePyramidTop_EventScript_255392:: @ 8255392
call BattleFrontier_BattlePyramidTop_EventScript_2553ED
playbgm MUS_PYRAMID_TOP, 0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePyramidTop_EventScript_2553B3
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_2553B3
goto BattleFrontier_BattlePyramidTop_EventScript_252B42
BattleFrontier_BattlePyramidTop_EventScript_2553B3:: @ 82553B3
setvar VAR_0x8004, 12
special CallFrontierUtilFunc
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePyramidTop_EventScript_25521A
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_25521A
msgbox BattleFrontier_BattlePyramidTop_Text_255ACD, MSGBOX_DEFAULT
playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattlePyramidTop_Text_255B59

View File

@@ -24,7 +24,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241B6C:: @ 8241B6C
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241BC3
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241BC3
applymovement 2, BattleFrontier_BattleTowerBattleRoom_Movement_24218D
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleTowerBattleRoom_Movement_24217E
@@ -91,14 +91,14 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F:: @ 8241C8F
special CallFrontierUtilFunc
copyvar VAR_TEMP_F, VAR_RESULT
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_241F0A
goto_if_ne BattleFrontier_BattleTowerBattleRoom_EventScript_241F0A
setvar VAR_0x8004, 1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
call BattleFrontier_BattleTowerBattleRoom_EventScript_241E44
call BattleFrontier_BattleTowerBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241D0A
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241D0A
multichoice 19, 4, 103, 1
switch VAR_RESULT
case 0, BattleFrontier_BattleTowerBattleRoom_EventScript_241DDC
@@ -246,7 +246,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241EC3:: @ 8241EC3
BattleFrontier_BattleTowerBattleRoom_EventScript_241F0A:: @ 8241F0A
compare VAR_TEMP_2, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241F22
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241F22
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2424C2, MSGBOX_DEFAULT
setvar VAR_TEMP_2, 1
@@ -255,7 +255,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241F22:: @ 8241F22
waitmessage
call BattleFrontier_BattleTowerBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241F79
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241F79
multichoice 19, 4, 103, 1
switch VAR_RESULT
case 0, BattleFrontier_BattleTowerBattleRoom_EventScript_241FAF
@@ -290,7 +290,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241FAF:: @ 8241FAF
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_242029
goto_if_ne BattleFrontier_BattleTowerBattleRoom_EventScript_242029
msgbox BattleFrontier_BattleTowerBattleRoom_Text_242579, MSGBOX_DEFAULT
setvar VAR_0x8004, 2
setvar VAR_0x8005, 7
@@ -300,7 +300,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_242029:: @ 8242029
msgbox BattleFrontier_BattleTowerBattleRoom_Text_24268C, MSGBOX_DEFAULT
call BattleFrontier_BattleTowerBattleRoom_EventScript_24210E
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_242046
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_242046
goto BattleFrontier_BattleTowerBattleRoom_EventScript_241C03
BattleFrontier_BattleTowerBattleRoom_EventScript_242046:: @ 8242046
@@ -308,7 +308,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_242046:: @ 8242046
setvar VAR_0x8004, 12
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6
goto_if_ne BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2426B4, MSGBOX_DEFAULT
playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattleTowerBattleRoom_Text_24270E
@@ -324,7 +324,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_242085:: @ 8242085
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_2420B2
goto_if_ne BattleFrontier_BattleTowerBattleRoom_EventScript_2420B2
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2427F9, MSGBOX_DEFAULT
setvar VAR_0x8004, 2
setvar VAR_0x8005, 7
@@ -334,7 +334,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_2420B2:: @ 82420B2
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2428E0, MSGBOX_DEFAULT
call BattleFrontier_BattleTowerBattleRoom_EventScript_24210E
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2420CF
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2420CF
goto BattleFrontier_BattleTowerBattleRoom_EventScript_241C03
BattleFrontier_BattleTowerBattleRoom_EventScript_2420CF:: @ 82420CF
@@ -342,7 +342,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_2420CF:: @ 82420CF
setvar VAR_0x8004, 12
special CallFrontierUtilFunc
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2428F7, MSGBOX_DEFAULT
playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattleTowerBattleRoom_Text_242932
@@ -368,7 +368,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_24210E:: @ 824210E
waitstate
copyvar VAR_0x8004, VAR_FRONTIER_BATTLE_MODE
compare VAR_0x8004, 3
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_24215A
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_24215A
setvar VAR_0x8004, 18
special CallFrontierUtilFunc
special HealPlayerParty
@@ -486,11 +486,11 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_2421B8:: @ 82421B8
BattleFrontier_BattleTowerBattleRoom_EventScript_2421B8:: @ 82421B8
copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421E8
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421E8
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421F2
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421F2
compare VAR_RESULT, 3
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421FC
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421FC
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY, 255, 6, 6
waitstate
end

View File

@@ -16,7 +16,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_248F0F:: @ 8248F0F
special sub_8161F74
checkplayergender
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_248F29
goto_if_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_248F29
setvar VAR_OBJ_GFX_ID_F, 0
return
@@ -49,7 +49,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_248F4D:: @ 8248F4D
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_248FB4
goto_if_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_248FB4
applymovement 2, BattleFrontier_BattleTowerBattleRoom2_Movement_24953E
applymovement 3, BattleFrontier_BattleTowerBattleRoom2_Movement_24953E
waitmovement 0
@@ -71,7 +71,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_248FB4:: @ 8248FB4
applymovement 4, BattleFrontier_BattleTowerBattleRoom2_Movement_24952E
waitmovement 0
compare VAR_FRONTIER_BATTLE_MODE, 3
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249026
goto_if_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249026
setvar VAR_0x8004, 7
setvar VAR_0x8005, 0
special sub_8161F74
@@ -143,7 +143,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_2490AA:: @ 82490AA
applymovement 6, BattleFrontier_BattleTowerBattleRoom2_Movement_249524
waitmovement 0
compare VAR_FRONTIER_BATTLE_MODE, 3
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249118
goto_if_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249118
msgbox BattleFrontier_BattleTowerBattleRoom2_Text_242217, MSGBOX_DEFAULT
goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249121
@@ -169,10 +169,10 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_249143:: @ 8249143
special CallFrontierUtilFunc
call BattleFrontier_BattleTowerBattleRoom2_EventScript_2492FD
compare VAR_FRONTIER_BATTLE_MODE, 3
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249283
goto_if_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249283
call BattleFrontier_BattleTowerBattleRoom2_EventScript_23E8E0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_2491B1
goto_if_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_2491B1
multichoice 19, 4, 103, 1
switch VAR_RESULT
case 0, BattleFrontier_BattleTowerBattleRoom2_EventScript_249283
@@ -257,7 +257,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_2492DB:: @ 82492DB
BattleFrontier_BattleTowerBattleRoom2_EventScript_2492FD:: @ 82492FD
compare VAR_FRONTIER_BATTLE_MODE, 3
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_24937E
goto_if_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_24937E
copyvar VAR_TEMP_F, VAR_RESULT
switch VAR_TEMP_F
case 1, BattleFrontier_BattleTowerBattleRoom2_EventScript_249354
@@ -349,8 +349,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_249412:: @ 8249412
return
BattleFrontier_BattleTowerBattleRoom2_EventScript_249417:: @ 8249417
checkflag FLAG_TEMP_2
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249457
goto_if_set FLAG_TEMP_2, BattleFrontier_BattleTowerBattleRoom2_EventScript_249457
multichoice 19, 6, 105, 1
switch VAR_RESULT
case 0, BattleFrontier_BattleTowerBattleRoom2_EventScript_249483
@@ -375,7 +374,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_249483:: @ 8249483
special sub_813B568
waitstate
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleTowerBattleRoom2_EventScript_24907E
goto_if_ne BattleFrontier_BattleTowerBattleRoom2_EventScript_24907E
goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249412
end
@@ -396,7 +395,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_2494DD:: @ 82494DD
waitmessage
multichoicedefault 20, 8, 94, 1, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_2494FA
goto_if_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_2494FA
goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249143
end

View File

@@ -5,7 +5,7 @@ BattleFrontier_BattleTowerCorridor_MapScripts:: @ 8241AAA
BattleFrontier_BattleTowerCorridor_MapScript1_241AB5: @ 8241AB5
compare VAR_0x8006, 1
goto_eq BattleFrontier_BattleTowerCorridor_EventScript_241AD3
goto_if_eq BattleFrontier_BattleTowerCorridor_EventScript_241AD3
setmetatile 12, 0, 519, 0
setmetatile 12, 1, 527, 0
end
@@ -22,7 +22,7 @@ BattleFrontier_BattleTowerCorridor_MapScript2_241AE6: @ 8241AE6
BattleFrontier_BattleTowerCorridor_EventScript_241AF0:: @ 8241AF0
setvar VAR_TEMP_0, 1
compare VAR_0x8006, 1
goto_eq BattleFrontier_BattleTowerCorridor_EventScript_241B16
goto_if_eq BattleFrontier_BattleTowerCorridor_EventScript_241B16
applymovement 1, BattleFrontier_BattleTowerCorridor_Movement_241B3A
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleTowerCorridor_Movement_241B39
waitmovement 0

View File

@@ -16,7 +16,7 @@ BattleFrontier_BattleTowerCorridor2_EventScript_248D71:: @ 8248D71
special sub_8161F74
checkplayergender
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerCorridor2_EventScript_248D8B
goto_if_eq BattleFrontier_BattleTowerCorridor2_EventScript_248D8B
setvar VAR_OBJ_GFX_ID_F, 0
return

View File

@@ -40,8 +40,7 @@ BattleFrontier_BattleTowerElevator_EventScript_241A55:: @ 8241A55
return
BattleFrontier_BattleTowerElevator_EventScript_241A5F:: @ 8241A5F
checkflag FLAG_0x152
goto_if 0, BattleFrontier_BattleTowerElevator_EventScript_241A7C
goto_if_unset FLAG_0x152, BattleFrontier_BattleTowerElevator_EventScript_241A7C
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_CORRIDOR2, 255, 7, 2
waitstate
return

View File

@@ -14,9 +14,8 @@ BattleFrontier_BattleTowerLobby_MapScript1_23E694: @ 823E694
setvar VAR_0x8004, 10
special CallApprenticeFunction
compare VAR_0x8004, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E6B5
checkflag FLAG_0x934
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E6C1
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23E6B5
goto_if_set FLAG_0x934, BattleFrontier_BattleTowerLobby_EventScript_23E6C1
BattleFrontier_BattleTowerLobby_EventScript_23E6B5:: @ 823E6B5
clearflag FLAG_HIDE_APPRENTICE
@@ -79,7 +78,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E758:: @ 823E758
setvar VAR_0x8004, 10
special CallFrontierUtilFunc
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E778
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23E778
message BattleFrontier_BattleTowerLobby_Text_23F60D
waitmessage
goto BattleFrontier_BattleTowerLobby_EventScript_23E780
@@ -91,7 +90,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E780:: @ 823E780
setvar VAR_0x8004, 5
special sub_8161F74
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E7A5
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23E7A5
message BattleFrontier_BattleTowerLobby_Text_23F844
waitmessage
playfanfare MUS_FANFA4
@@ -108,7 +107,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E7A5:: @ 823E7A5
setvar VAR_0x8005, 1
special sub_8161F74
compare VAR_RESULT, 49
goto_if 5, BattleFrontier_BattleTowerLobby_EventScript_23E7E2
goto_if_ne BattleFrontier_BattleTowerLobby_EventScript_23E7E2
msgbox BattleFrontier_BattleTowerLobby_Text_23F79D, MSGBOX_DEFAULT
BattleFrontier_BattleTowerLobby_EventScript_23E7E2:: @ 823E7E2
@@ -120,14 +119,13 @@ BattleFrontier_BattleTowerLobby_EventScript_23E7E2:: @ 823E7E2
BattleFrontier_BattleTowerLobby_EventScript_23E7F2:: @ 823E7F2
compare VAR_FRONTIER_BATTLE_MODE, 2
goto_if 5, BattleFrontier_BattleTowerLobby_EventScript_23E81E
checkflag FLAG_0x152
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E81E
goto_if_ne BattleFrontier_BattleTowerLobby_EventScript_23E81E
goto_if_set FLAG_0x152, BattleFrontier_BattleTowerLobby_EventScript_23E81E
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
special sub_8161F74
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleTowerLobby_EventScript_23E830
goto_if_ne BattleFrontier_BattleTowerLobby_EventScript_23E830
BattleFrontier_BattleTowerLobby_EventScript_23E81E:: @ 823E81E
setvar VAR_0x8004, 2
@@ -161,7 +159,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E84D:: @ 823E84D
waitse
call BattleFrontier_BattleTowerLobby_EventScript_23E8E0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E8DF
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23E8DF
message BattleFrontier_BattleTowerLobby_Text_23FE3C
waitmessage
multichoicedefault 20, 8, 94, 1, 0
@@ -184,7 +182,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E8B4:: @ 823E8B4
setvar VAR_0x8004, 19
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E8D7
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23E8D7
playse SE_SAVE
msgbox BattleFrontier_BattleTowerLobby_Text_2423CD, MSGBOX_DEFAULT
goto BattleFrontier_BattleTowerLobby_EventScript_23E8DF
@@ -264,7 +262,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E984:: @ 823E984
setvar VAR_0x8004, 15
special CallFrontierUtilFunc
compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT
@@ -277,7 +275,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E984:: @ 823E984
special sub_80F9490
waitstate
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
@@ -305,7 +303,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EA2A:: @ 823EA2A
call BattleFrontier_BattleTowerLobby_EventScript_27134F
setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
incrementgamestat 30
setvar VAR_0x40BC, 1
goto BattleFrontier_BattleTowerLobby_EventScript_23F0F3
@@ -344,7 +342,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EAED:: @ 823EAED
setvar VAR_0x8004, 15
special CallFrontierUtilFunc
compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT
@@ -357,7 +355,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EAED:: @ 823EAED
special sub_80F9490
waitstate
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
@@ -385,7 +383,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EB93:: @ 823EB93
call BattleFrontier_BattleTowerLobby_EventScript_27134F
setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
incrementgamestat 30
setvar VAR_0x40BC, 0
goto BattleFrontier_BattleTowerLobby_EventScript_23F0F3
@@ -425,7 +423,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EC59:: @ 823EC59
setvar VAR_0x8004, 15
special CallFrontierUtilFunc
compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT
@@ -438,7 +436,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EC59:: @ 823EC59
special sub_80F9490
waitstate
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
@@ -466,7 +464,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23ECFF:: @ 823ECFF
call BattleFrontier_BattleTowerLobby_EventScript_27134F
setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
incrementgamestat 30
setvar VAR_0x40BC, 0
goto BattleFrontier_BattleTowerLobby_EventScript_23F0F3
@@ -505,7 +503,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EDC2:: @ 823EDC2
setvar VAR_0x8004, 15
special CallFrontierUtilFunc
compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT
@@ -518,7 +516,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EDC2:: @ 823EDC2
special sub_80F9490
waitstate
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
@@ -549,11 +547,11 @@ BattleFrontier_BattleTowerLobby_EventScript_23EE68:: @ 823EE68
call BattleFrontier_BattleTowerLobby_EventScript_27134F
setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
incrementgamestat 30
specialvar VAR_RESULT, IsWirelessAdapterConnected
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F3E8
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F3E8
goto BattleFrontier_BattleTowerLobby_EventScript_23F2C5
end
@@ -606,9 +604,9 @@ BattleFrontier_BattleTowerLobby_EventScript_23EF80:: @ 823EF80
BattleFrontier_BattleTowerLobby_EventScript_23EF8A:: @ 823EF8A
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23EFA1
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23EFA1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23EFAB
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23EFAB
end
BattleFrontier_BattleTowerLobby_EventScript_23EFA1:: @ 823EFA1
@@ -744,7 +742,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23F108:: @ 823F108
special sub_8161F74
delay 1
compare VAR_RESULT, 6
goto_if 5, BattleFrontier_BattleTowerLobby_EventScript_23F108
goto_if_ne BattleFrontier_BattleTowerLobby_EventScript_23F108
call BattleFrontier_BattleTowerLobby_EventScript_23F135
clearflag FLAG_0x077
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_ELEVATOR, 255, 1, 6
@@ -755,7 +753,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23F108:: @ 823F108
BattleFrontier_BattleTowerLobby_EventScript_23F135:: @ 823F135
call BattleFrontier_BattleTowerLobby_EventScript_23F1A7
compare VAR_FRONTIER_BATTLE_MODE, 3
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F152
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F152
msgbox BattleFrontier_BattleTowerLobby_Text_23FE11, MSGBOX_DEFAULT
goto BattleFrontier_BattleTowerLobby_EventScript_23F15B
@@ -935,25 +933,25 @@ BattleFrontier_BattleTowerLobby_EventScript_23F2C5:: @ 823F2C5
special sub_80B2DA4
waitstate
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F3AF
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F3AF
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleTowerLobby_EventScript_2772D2
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_2772D2
compare VAR_RESULT, 3
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F327
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F327
compare VAR_RESULT, 4
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F351
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F351
compare VAR_RESULT, 5
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E6
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E6
compare VAR_RESULT, 6
goto_eq BattleFrontier_BattleTowerLobby_EventScript_2772C5
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_2772C5
compare VAR_RESULT, 11
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F366
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F366
end
BattleFrontier_BattleTowerLobby_EventScript_23F327:: @ 823F327
special CloseLink
compare VAR_0x8005, 3
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F33F
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F33F
msgbox BattleFrontier_BattleTowerLobby_Text_278255, MSGBOX_DEFAULT
release
end
@@ -1035,26 +1033,26 @@ BattleFrontier_BattleTowerLobby_EventScript_23F3F3:: @ 823F3F3
BattleFrontier_BattleTowerLobby_EventScript_23F430:: @ 823F430
call BattleFrontier_BattleTowerLobby_EventScript_277B30
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F496
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F496
compare VAR_RESULT, 5
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F3F3
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F3F3
compare VAR_RESULT, 8
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F430
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F430
compare VAR_RESULT, 11
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F366
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F366
release
return
BattleFrontier_BattleTowerLobby_EventScript_23F463:: @ 823F463
call BattleFrontier_BattleTowerLobby_EventScript_277B35
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F496
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F496
compare VAR_RESULT, 5
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F3F3
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F3F3
compare VAR_RESULT, 8
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F463
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F463
compare VAR_RESULT, 11
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F366
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F366
release
return

View File

@@ -11,8 +11,7 @@ BattleFrontier_BattleTowerMultiBattleRoom_MapScript1_243DA7: @ 8243DA7
end
BattleFrontier_BattleTowerMultiBattleRoom_MapScript1_243DB0: @ 8243DB0
checkflag FLAG_0x152
goto_eq BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243DDA
goto_if_set FLAG_0x152, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243DDA
clearflag FLAG_HIDE_BATTLE_TOWER_MULTI_BATTLE_PARTNER_1
clearflag FLAG_HIDE_BATTLE_TOWER_MULTI_BATTLE_PARTNER_2
clearflag FLAG_HIDE_BATTLE_TOWER_MULTI_BATTLE_PARTNER_3
@@ -89,7 +88,7 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243E7A:: @ 8243E7A
waitmessage
multichoicedefault 20, 8, 94, 1, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243E9D
goto_if_eq BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243E9D
msgbox BattleFrontier_BattleTowerMultiBattleRoom_Text_24410C, MSGBOX_DEFAULT
release
end
@@ -166,8 +165,7 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243F29:: @ 8243F29
end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243F36:: @ 8243F36
checkflag FLAG_0x152
goto_eq BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FC3
goto_if_set FLAG_0x152, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FC3
setvar VAR_0x8004, 11
setvar VAR_0x8005, 0
special sub_8161F74

View File

@@ -16,9 +16,9 @@ BattleFrontier_Lounge1_EventScript_25E792:: @ 825E792
special sub_81B94B0
waitstate
compare VAR_0x8004, 255
goto_if 5, BattleFrontier_Lounge1_EventScript_25E7BF
goto_if_ne BattleFrontier_Lounge1_EventScript_25E7BF
compare VAR_0x8004, 255
goto_eq BattleFrontier_Lounge1_EventScript_25E943
goto_if_eq BattleFrontier_Lounge1_EventScript_25E943
end
BattleFrontier_Lounge1_EventScript_25E7AD:: @ 825E7AD
@@ -32,16 +32,16 @@ BattleFrontier_Lounge1_EventScript_25E7B6:: @ 825E7B6
BattleFrontier_Lounge1_EventScript_25E7BF:: @ 825E7BF
specialvar VAR_RESULT, ScriptGetPartyMonSpecies
compare VAR_RESULT, 412
goto_eq BattleFrontier_Lounge1_EventScript_25E7FF
goto_if_eq BattleFrontier_Lounge1_EventScript_25E7FF
special sub_8139D98
compare VAR_0x8005, 90
goto_if 3, BattleFrontier_Lounge1_EventScript_25E87F
goto_if_le BattleFrontier_Lounge1_EventScript_25E87F
compare VAR_0x8005, 120
goto_if 3, BattleFrontier_Lounge1_EventScript_25E88D
goto_if_le BattleFrontier_Lounge1_EventScript_25E88D
compare VAR_0x8005, 150
goto_if 3, BattleFrontier_Lounge1_EventScript_25E89B
goto_if_le BattleFrontier_Lounge1_EventScript_25E89B
compare VAR_0x8005, 151
goto_if 4, BattleFrontier_Lounge1_EventScript_25E8A9
goto_if_ge BattleFrontier_Lounge1_EventScript_25E8A9
end
BattleFrontier_Lounge1_EventScript_25E7FF:: @ 825E7FF
@@ -51,28 +51,28 @@ BattleFrontier_Lounge1_EventScript_25E7FF:: @ 825E7FF
BattleFrontier_Lounge1_EventScript_25E80D:: @ 825E80D
compare VAR_0x8006, 0
goto_eq BattleFrontier_Lounge1_EventScript_25E8B7
goto_if_eq BattleFrontier_Lounge1_EventScript_25E8B7
compare VAR_0x8006, 1
goto_eq BattleFrontier_Lounge1_EventScript_25E8C5
goto_if_eq BattleFrontier_Lounge1_EventScript_25E8C5
compare VAR_0x8006, 2
goto_eq BattleFrontier_Lounge1_EventScript_25E8D3
goto_if_eq BattleFrontier_Lounge1_EventScript_25E8D3
compare VAR_0x8006, 3
goto_eq BattleFrontier_Lounge1_EventScript_25E8E1
goto_if_eq BattleFrontier_Lounge1_EventScript_25E8E1
compare VAR_0x8006, 4
goto_eq BattleFrontier_Lounge1_EventScript_25E8EF
goto_if_eq BattleFrontier_Lounge1_EventScript_25E8EF
compare VAR_0x8006, 5
goto_eq BattleFrontier_Lounge1_EventScript_25E8FD
goto_if_eq BattleFrontier_Lounge1_EventScript_25E8FD
end
BattleFrontier_Lounge1_EventScript_25E850:: @ 825E850
compare VAR_0x8007, 15
goto_if 3, BattleFrontier_Lounge1_EventScript_25E90B
goto_if_le BattleFrontier_Lounge1_EventScript_25E90B
compare VAR_0x8007, 25
goto_if 3, BattleFrontier_Lounge1_EventScript_25E919
goto_if_le BattleFrontier_Lounge1_EventScript_25E919
compare VAR_0x8007, 30
goto_if 3, BattleFrontier_Lounge1_EventScript_25E927
goto_if_le BattleFrontier_Lounge1_EventScript_25E927
compare VAR_0x8007, 31
goto_if 4, BattleFrontier_Lounge1_EventScript_25E935
goto_if_ge BattleFrontier_Lounge1_EventScript_25E935
end
BattleFrontier_Lounge1_EventScript_25E87D:: @ 825E87D

View File

@@ -4,8 +4,7 @@ BattleFrontier_Lounge2_MapScripts:: @ 8260642
BattleFrontier_Lounge2_EventScript_260643:: @ 8260643
lock
faceplayer
checkflag FLAG_0x154
goto_eq BattleFrontier_Lounge2_EventScript_26065F
goto_if_set FLAG_0x154, BattleFrontier_Lounge2_EventScript_26065F
setflag FLAG_0x154
msgbox BattleFrontier_Lounge2_Text_260766, MSGBOX_DEFAULT
goto BattleFrontier_Lounge2_EventScript_26066D

View File

@@ -4,11 +4,10 @@ BattleFrontier_Lounge3_MapScripts:: @ 8261D82
BattleFrontier_Lounge3_EventScript_261D83:: @ 8261D83
lock
faceplayer
checkflag FLAG_0x157
goto_eq BattleFrontier_Lounge3_EventScript_261EF9
goto_if_set FLAG_0x157, BattleFrontier_Lounge3_EventScript_261EF9
call BattleFrontier_Lounge3_EventScript_261EA0
compare VAR_0x8004, 2
goto_if 3, BattleFrontier_Lounge3_EventScript_261EEB
goto_if_le BattleFrontier_Lounge3_EventScript_261EEB
setflag FLAG_0x157
msgbox BattleFrontier_Lounge3_Text_262061, MSGBOX_DEFAULT
goto BattleFrontier_Lounge3_EventScript_261DAF
@@ -20,10 +19,10 @@ BattleFrontier_Lounge3_EventScript_261DAF:: @ 8261DAF
waitbuttonpress
msgbox BattleFrontier_Lounge3_Text_262A60, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge3_EventScript_261FA5
goto_if_eq BattleFrontier_Lounge3_EventScript_261FA5
msgbox BattleFrontier_Lounge3_Text_262ABD, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge3_EventScript_261FA5
goto_if_eq BattleFrontier_Lounge3_EventScript_261FA5
message BattleFrontier_Lounge3_Text_262B42
waitmessage
special sub_813A958
@@ -59,7 +58,7 @@ BattleFrontier_Lounge3_EventScript_261E46:: @ 8261E46
BattleFrontier_Lounge3_EventScript_261E51:: @ 8261E51
specialvar VAR_TEMP_1, sub_813AA04
compare VAR_TEMP_1, VAR_0x8008
goto_if 4, BattleFrontier_Lounge3_EventScript_261E75
goto_if_ge BattleFrontier_Lounge3_EventScript_261E75
msgbox BattleFrontier_Lounge3_Text_262B6E, MSGBOX_DEFAULT
message BattleFrontier_Lounge3_Text_262B42
waitmessage
@@ -114,15 +113,15 @@ BattleFrontier_Lounge3_EventScript_261EEB:: @ 8261EEB
BattleFrontier_Lounge3_EventScript_261EF9:: @ 8261EF9
msgbox BattleFrontier_Lounge3_Text_26346B, MSGBOX_DEFAULT
compare VAR_FRONTIER_GAMBLER_PLACED_BET_F, 1
goto_if 4, BattleFrontier_Lounge3_EventScript_261F12
goto_if_ge BattleFrontier_Lounge3_EventScript_261F12
goto BattleFrontier_Lounge3_EventScript_261DAF
end
BattleFrontier_Lounge3_EventScript_261F12:: @ 8261F12
compare VAR_FRONTIER_GAMBLER_PLACED_BET_F, 1
goto_eq BattleFrontier_Lounge3_EventScript_261F9E
goto_if_eq BattleFrontier_Lounge3_EventScript_261F9E
compare VAR_FRONTIER_GAMBLER_PLACED_BET_F, 2
goto_eq BattleFrontier_Lounge3_EventScript_261F2E
goto_if_eq BattleFrontier_Lounge3_EventScript_261F2E
goto BattleFrontier_Lounge3_EventScript_261F71
end

View File

@@ -6,16 +6,16 @@ BattleFrontier_Lounge5_EventScript_2645C6:: @ 82645C6
faceplayer
msgbox BattleFrontier_Lounge5_Text_264632, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge5_EventScript_26460D
goto_if_eq BattleFrontier_Lounge5_EventScript_26460D
special sub_81B94B0
waitstate
lock
faceplayer
compare VAR_0x8004, 255
goto_eq BattleFrontier_Lounge5_EventScript_26460D
goto_if_eq BattleFrontier_Lounge5_EventScript_26460D
specialvar VAR_RESULT, ScriptGetPartyMonSpecies
compare VAR_RESULT, 412
goto_eq BattleFrontier_Lounge5_EventScript_264603
goto_if_eq BattleFrontier_Lounge5_EventScript_264603
special sub_813A7B8
waitmessage
waitbuttonpress

View File

@@ -4,25 +4,24 @@ BattleFrontier_Lounge6_MapScripts:: @ 8264FEC
BattleFrontier_Lounge6_EventScript_264FED:: @ 8264FED
lock
faceplayer
checkflag FLAG_0x09C
goto_eq BattleFrontier_Lounge6_EventScript_265083
goto_if_set FLAG_0x09C, BattleFrontier_Lounge6_EventScript_265083
setvar VAR_0x8008, 3
copyvar VAR_0x8004, VAR_0x8008
specialvar VAR_RESULT, sub_807E73C
copyvar VAR_0x8009, VAR_RESULT
msgbox BattleFrontier_Lounge6_Text_26508D, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge6_EventScript_26506B
goto_if_eq BattleFrontier_Lounge6_EventScript_26506B
special sub_81B94B0
waitstate
copyvar VAR_0x800A, VAR_0x8004
compare VAR_0x8004, 255
goto_eq BattleFrontier_Lounge6_EventScript_26506B
goto_if_eq BattleFrontier_Lounge6_EventScript_26506B
copyvar VAR_0x8005, VAR_0x800A
specialvar VAR_RESULT, sub_807E9D4
copyvar VAR_0x800B, VAR_RESULT
compare VAR_RESULT, VAR_0x8009
goto_if 5, BattleFrontier_Lounge6_EventScript_265075
goto_if_ne BattleFrontier_Lounge6_EventScript_265075
copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A
special sub_807EA10

View File

@@ -5,8 +5,7 @@ BattleFrontier_Lounge7_EventScript_265255:: @ 8265255
lock
faceplayer
setvar VAR_TEMP_C, 9
checkflag FLAG_0x15A
goto_eq BattleFrontier_Lounge7_EventScript_265276
goto_if_set FLAG_0x15A, BattleFrontier_Lounge7_EventScript_265276
msgbox BattleFrontier_Lounge7_Text_2656ED, MSGBOX_DEFAULT
setflag FLAG_0x15A
goto BattleFrontier_Lounge7_EventScript_265284
@@ -120,8 +119,7 @@ BattleFrontier_Lounge7_EventScript_265445:: @ 8265445
lock
faceplayer
setvar VAR_TEMP_C, 10
checkflag FLAG_0x15B
goto_eq BattleFrontier_Lounge7_EventScript_265466
goto_if_set FLAG_0x15B, BattleFrontier_Lounge7_EventScript_265466
msgbox BattleFrontier_Lounge7_Text_265A6C, MSGBOX_DEFAULT
setflag FLAG_0x15B
goto BattleFrontier_Lounge7_EventScript_265474
@@ -251,10 +249,10 @@ BattleFrontier_Lounge7_EventScript_26564F:: @ 826564F
copyvar VAR_0x8004, VAR_TEMP_C
msgbox BattleFrontier_Lounge7_Text_265921, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge7_EventScript_2656CA
goto_if_eq BattleFrontier_Lounge7_EventScript_2656CA
specialvar VAR_TEMP_1, sub_813AA04
compare VAR_TEMP_1, VAR_0x8008
goto_if 4, BattleFrontier_Lounge7_EventScript_265696
goto_if_ge BattleFrontier_Lounge7_EventScript_265696
msgbox BattleFrontier_Lounge7_Text_265997, MSGBOX_DEFAULT
goto BattleFrontier_Lounge7_EventScript_2656CA
end
@@ -268,7 +266,7 @@ BattleFrontier_Lounge7_EventScript_265696:: @ 8265696
special sub_81B892C
waitstate
compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge7_EventScript_265645
goto_if_eq BattleFrontier_Lounge7_EventScript_265645
msgbox BattleFrontier_Lounge7_Text_2659C7, MSGBOX_DEFAULT
copyvar VAR_0x8004, VAR_0x8008
special sub_813A9A4
@@ -277,7 +275,7 @@ BattleFrontier_Lounge7_EventScript_265696:: @ 8265696
BattleFrontier_Lounge7_EventScript_2656CA:: @ 82656CA
compare VAR_TEMP_E, 0
goto_eq BattleFrontier_Lounge7_EventScript_26532F
goto_if_eq BattleFrontier_Lounge7_EventScript_26532F
goto BattleFrontier_Lounge7_EventScript_26551F
end

View File

@@ -11,7 +11,7 @@ BattleFrontier_OutsideEast_MapScript1_242C0F: @ 8242C0F
BattleFrontier_OutsideEast_EventScript_242C19:: @ 8242C19
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 7
goto_if 5, BattleFrontier_OutsideEast_EventScript_27374E
goto_if_ne BattleFrontier_OutsideEast_EventScript_27374E
removeobject VAR_LAST_TALKED
return
@@ -136,11 +136,11 @@ BattleFrontier_OutsideEast_EventScript_242CFC:: @ 8242CFC
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 1
goto_eq BattleFrontier_OutsideEast_EventScript_242D60
goto_if_eq BattleFrontier_OutsideEast_EventScript_242D60
compare VAR_RESULT, 4
goto_eq BattleFrontier_OutsideEast_EventScript_242D60
goto_if_eq BattleFrontier_OutsideEast_EventScript_242D60
compare VAR_RESULT, 5
goto_eq BattleFrontier_OutsideEast_EventScript_242D60
goto_if_eq BattleFrontier_OutsideEast_EventScript_242D60
setflag FLAG_0x1C6
release
end
@@ -223,8 +223,7 @@ BattleFrontier_OutsideEast_EventScript_242DE0:: @ 8242DE0
BattleFrontier_OutsideEast_EventScript_242DE9:: @ 8242DE9
lock
faceplayer
checkflag FLAG_0x1C6
goto_eq BattleFrontier_OutsideEast_EventScript_242DFE
goto_if_set FLAG_0x1C6, BattleFrontier_OutsideEast_EventScript_242DFE
msgbox BattleFrontier_OutsideEast_Text_243C2C, MSGBOX_DEFAULT
release
end

View File

@@ -13,7 +13,7 @@ BattleFrontier_OutsideWest_EventScript_23D3F0:: @ 823D3F0
msgbox BattleFrontier_OutsideWest_Text_23D808, MSGBOX_DEFAULT
checkitem ITEM_SS_TICKET, 1
compare VAR_RESULT, 0
goto_eq BattleFrontier_OutsideWest_EventScript_23D44E
goto_if_eq BattleFrontier_OutsideWest_EventScript_23D44E
message BattleFrontier_OutsideWest_Text_23D89D
waitmessage
goto BattleFrontier_OutsideWest_EventScript_23D416
@@ -36,7 +36,7 @@ BattleFrontier_OutsideWest_EventScript_23D44E:: @ 823D44E
BattleFrontier_OutsideWest_EventScript_23D458:: @ 823D458
msgbox BattleFrontier_OutsideWest_Text_23D8F2, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_OutsideWest_EventScript_23D4AE
goto_if_eq BattleFrontier_OutsideWest_EventScript_23D4AE
msgbox BattleFrontier_OutsideWest_Text_23D94B, MSGBOX_DEFAULT
call BattleFrontier_OutsideWest_EventScript_23D4BA
warp MAP_SLATEPORT_CITY_HARBOR, 255, 8, 11
@@ -47,7 +47,7 @@ BattleFrontier_OutsideWest_EventScript_23D458:: @ 823D458
BattleFrontier_OutsideWest_EventScript_23D483:: @ 823D483
msgbox BattleFrontier_OutsideWest_Text_23D90E, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BattleFrontier_OutsideWest_EventScript_23D4AE
goto_if_eq BattleFrontier_OutsideWest_EventScript_23D4AE
msgbox BattleFrontier_OutsideWest_Text_23D94B, MSGBOX_DEFAULT
call BattleFrontier_OutsideWest_EventScript_23D4BA
warp MAP_LILYCOVE_CITY_HARBOR, 255, 8, 11
@@ -227,7 +227,7 @@ BattleFrontier_OutsideWest_EventScript_23D635:: @ 823D635
msgbox BattleFrontier_OutsideWest_Text_23DD3B, MSGBOX_DEFAULT
random 2
compare VAR_RESULT, 1
goto_eq BattleFrontier_OutsideWest_EventScript_23D653
goto_if_eq BattleFrontier_OutsideWest_EventScript_23D653
goto BattleFrontier_OutsideWest_EventScript_23D65D
end

View File

@@ -87,7 +87,7 @@ BattleFrontier_RankingHall_EventScript_25E54A:: @ 825E54A
faceplayer
msgbox BattleFrontier_RankingHall_Text_25E666, MSGBOX_YESNO
compare VAR_RESULT, 1
goto_eq BattleFrontier_RankingHall_EventScript_25E569
goto_if_eq BattleFrontier_RankingHall_EventScript_25E569
msgbox BattleFrontier_RankingHall_Text_25E6B6, MSGBOX_DEFAULT
release
end

View File

@@ -4,76 +4,54 @@ BattleFrontier_ScottsHouse_MapScripts:: @ 82636A7
BattleFrontier_ScottsHouse_EventScript_2636A8:: @ 82636A8
lock
faceplayer
checkflag FLAG_TEMP_4
goto_eq BattleFrontier_ScottsHouse_EventScript_2637DA
checkflag FLAG_TEMP_3
goto_eq BattleFrontier_ScottsHouse_EventScript_2638AA
checkflag FLAG_TEMP_2
goto_eq BattleFrontier_ScottsHouse_EventScript_263939
goto_if_set FLAG_TEMP_4, BattleFrontier_ScottsHouse_EventScript_2637DA
goto_if_set FLAG_TEMP_3, BattleFrontier_ScottsHouse_EventScript_2638AA
goto_if_set FLAG_TEMP_2, BattleFrontier_ScottsHouse_EventScript_263939
goto BattleFrontier_ScottsHouse_EventScript_2636CB
end
BattleFrontier_ScottsHouse_EventScript_2636CB:: @ 82636CB
checkflag FLAG_0x1D1
goto_if 0, BattleFrontier_ScottsHouse_EventScript_263943
checkflag FLAG_0x05C
goto_if 0, BattleFrontier_ScottsHouse_EventScript_263704
checkflag FLAG_0x1D2
goto_if 0, BattleFrontier_ScottsHouse_EventScript_26376A
goto_if_unset FLAG_0x1D1, BattleFrontier_ScottsHouse_EventScript_263943
goto_if_unset FLAG_0x05C, BattleFrontier_ScottsHouse_EventScript_263704
goto_if_unset FLAG_0x1D2, BattleFrontier_ScottsHouse_EventScript_26376A
goto BattleFrontier_ScottsHouse_EventScript_2636EC
end
BattleFrontier_ScottsHouse_EventScript_2636EC:: @ 82636EC
checkflag FLAG_0x0ED
goto_if 0, BattleFrontier_ScottsHouse_EventScript_26381B
checkflag FLAG_0x0EE
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2638B4
goto_if_unset FLAG_0x0ED, BattleFrontier_ScottsHouse_EventScript_26381B
goto_if_unset FLAG_0x0EE, BattleFrontier_ScottsHouse_EventScript_2638B4
goto BattleFrontier_ScottsHouse_EventScript_2637E4
end
BattleFrontier_ScottsHouse_EventScript_263704:: @ 8263704
checkflag FLAG_SYS_TOWER_SILVER
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC
checkflag FLAG_SYS_DOME_SILVER
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC
checkflag FLAG_SYS_PALACE_SILVER
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC
checkflag FLAG_SYS_ARENA_SILVER
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC
checkflag FLAG_SYS_FACTORY_SILVER
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC
checkflag FLAG_SYS_PIKE_SILVER
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC
checkflag FLAG_SYS_PYRAMID_SILVER
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_TOWER_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_DOME_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_PALACE_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_ARENA_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_FACTORY_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_PIKE_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_PYRAMID_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
msgbox BattleFrontier_ScottsHouse_Text_2640BC, MSGBOX_DEFAULT
giveitem_std ITEM_LANSAT_BERRY
compare VAR_RESULT, 0
goto_eq BattleFrontier_ScottsHouse_EventScript_2637D0
goto_if_eq BattleFrontier_ScottsHouse_EventScript_2637D0
setflag FLAG_0x05C
setflag FLAG_TEMP_4
release
end
BattleFrontier_ScottsHouse_EventScript_26376A:: @ 826376A
checkflag FLAG_SYS_TOWER_GOLD
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC
checkflag FLAG_SYS_DOME_GOLD
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC
checkflag FLAG_SYS_PALACE_GOLD
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC
checkflag FLAG_SYS_ARENA_GOLD
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC
checkflag FLAG_SYS_FACTORY_GOLD
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC
checkflag FLAG_SYS_PIKE_GOLD
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC
checkflag FLAG_SYS_PYRAMID_GOLD
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_TOWER_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_DOME_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_PALACE_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_ARENA_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_FACTORY_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_PIKE_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_PYRAMID_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
msgbox BattleFrontier_ScottsHouse_Text_264216, MSGBOX_DEFAULT
giveitem_std ITEM_STARF_BERRY
compare VAR_RESULT, 0
goto_eq BattleFrontier_ScottsHouse_EventScript_2637D0
goto_if_eq BattleFrontier_ScottsHouse_EventScript_2637D0
setflag FLAG_0x1D2
setflag FLAG_TEMP_4
release
@@ -92,9 +70,9 @@ BattleFrontier_ScottsHouse_EventScript_2637DA:: @ 82637DA
BattleFrontier_ScottsHouse_EventScript_2637E4:: @ 82637E4
random 3
compare VAR_RESULT, 1
goto_eq BattleFrontier_ScottsHouse_EventScript_263807
goto_if_eq BattleFrontier_ScottsHouse_EventScript_263807
compare VAR_RESULT, 2
goto_eq BattleFrontier_ScottsHouse_EventScript_263811
goto_if_eq BattleFrontier_ScottsHouse_EventScript_263811
msgbox BattleFrontier_ScottsHouse_Text_263DDD, MSGBOX_DEFAULT
release
end
@@ -119,7 +97,7 @@ BattleFrontier_ScottsHouse_EventScript_26381B:: @ 826381B
setvar VAR_0x8005, 1
special sub_8161F74
compare VAR_RESULT, 50
goto_if 4, BattleFrontier_ScottsHouse_EventScript_26387A
goto_if_ge BattleFrontier_ScottsHouse_EventScript_26387A
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
setvar VAR_0x8006, 1
@@ -128,7 +106,7 @@ BattleFrontier_ScottsHouse_EventScript_26381B:: @ 826381B
setvar VAR_0x8005, 1
special sub_8161F74
compare VAR_RESULT, 50
goto_if 4, BattleFrontier_ScottsHouse_EventScript_26387A
goto_if_ge BattleFrontier_ScottsHouse_EventScript_26387A
goto BattleFrontier_ScottsHouse_EventScript_2637E4
end
@@ -136,7 +114,7 @@ BattleFrontier_ScottsHouse_EventScript_26387A:: @ 826387A
msgbox BattleFrontier_ScottsHouse_Text_264412, MSGBOX_DEFAULT
givedecoration_std 42
compare VAR_RESULT, 0
goto_eq BattleFrontier_ScottsHouse_EventScript_2638A0
goto_if_eq BattleFrontier_ScottsHouse_EventScript_2638A0
setflag FLAG_0x0ED
setflag FLAG_TEMP_3
goto BattleFrontier_ScottsHouse_EventScript_2638AA
@@ -162,7 +140,7 @@ BattleFrontier_ScottsHouse_EventScript_2638B4:: @ 82638B4
setvar VAR_0x8005, 1
special sub_8161F74
compare VAR_RESULT, 100
goto_if 4, BattleFrontier_ScottsHouse_EventScript_263913
goto_if_ge BattleFrontier_ScottsHouse_EventScript_263913
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
setvar VAR_0x8006, 1
@@ -171,7 +149,7 @@ BattleFrontier_ScottsHouse_EventScript_2638B4:: @ 82638B4
setvar VAR_0x8005, 1
special sub_8161F74
compare VAR_RESULT, 100
goto_if 4, BattleFrontier_ScottsHouse_EventScript_263913
goto_if_ge BattleFrontier_ScottsHouse_EventScript_263913
goto BattleFrontier_ScottsHouse_EventScript_2637E4
end
@@ -179,7 +157,7 @@ BattleFrontier_ScottsHouse_EventScript_263913:: @ 8263913
msgbox BattleFrontier_ScottsHouse_Text_26449F, MSGBOX_DEFAULT
givedecoration_std 43
compare VAR_RESULT, 0
goto_eq BattleFrontier_ScottsHouse_EventScript_2638A0
goto_if_eq BattleFrontier_ScottsHouse_EventScript_2638A0
setflag FLAG_0x0EE
setflag FLAG_TEMP_3
goto BattleFrontier_ScottsHouse_EventScript_2638AA
@@ -207,11 +185,11 @@ BattleFrontier_ScottsHouse_EventScript_263943:: @ 8263943
waitmovement 0
msgbox BattleFrontier_ScottsHouse_Text_263BD4, MSGBOX_DEFAULT
compare VAR_0x40D1, 13
goto_eq BattleFrontier_ScottsHouse_EventScript_2639BC
goto_if_eq BattleFrontier_ScottsHouse_EventScript_2639BC
compare VAR_0x40D1, 9
goto_if 4, BattleFrontier_ScottsHouse_EventScript_2639CB
goto_if_ge BattleFrontier_ScottsHouse_EventScript_2639CB
compare VAR_0x40D1, 6
goto_if 4, BattleFrontier_ScottsHouse_EventScript_2639DA
goto_if_ge BattleFrontier_ScottsHouse_EventScript_2639DA
goto BattleFrontier_ScottsHouse_EventScript_2639E9
end

View File

@@ -25,8 +25,7 @@ BirthIsland_Exterior_EventScript_267F4E:: @ 8267F4E
return
BirthIsland_Exterior_EventScript_267F55:: @ 8267F55
checkflag FLAG_0x1AC
goto_eq BirthIsland_Exterior_EventScript_27374E
goto_if_set FLAG_0x1AC, BirthIsland_Exterior_EventScript_27374E
clearflag FLAG_HIDE_BIRTH_ISLAND_DEOXYS_TRIANGLE
clearflag FLAG_0x8D4
return
@@ -39,7 +38,7 @@ BirthIsland_Exterior_MapScript1_267F65: @ 8267F65
BirthIsland_Exterior_EventScript_267F6F:: @ 8267F6F
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 7
goto_if 5, BirthIsland_Exterior_EventScript_27374E
goto_if_ne BirthIsland_Exterior_EventScript_27374E
removeobject 2
return
@@ -93,11 +92,11 @@ BirthIsland_Exterior_EventScript_267FC1:: @ 8267FC1
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 1
goto_eq BirthIsland_Exterior_EventScript_26803B
goto_if_eq BirthIsland_Exterior_EventScript_26803B
compare VAR_RESULT, 4
goto_eq BirthIsland_Exterior_EventScript_268049
goto_if_eq BirthIsland_Exterior_EventScript_268049
compare VAR_RESULT, 5
goto_eq BirthIsland_Exterior_EventScript_268049
goto_if_eq BirthIsland_Exterior_EventScript_268049
setflag FLAG_0x1AD
release
end

View File

@@ -6,7 +6,7 @@ BirthIsland_Harbor_EventScript_26805D:: @ 826805D
faceplayer
msgbox BirthIsland_Harbor_Text_2C6B90, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq BirthIsland_Harbor_EventScript_2680A2
goto_if_eq BirthIsland_Harbor_EventScript_2680A2
msgbox BirthIsland_Harbor_Text_2A6A5D, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, BirthIsland_Harbor_Movement_2725AA

View File

@@ -12,7 +12,7 @@ DesertRuins_MapScript1_22D96B: @ 822D96B
DesertRuins_EventScript_22D975:: @ 822D975
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 7
goto_if 5, DesertRuins_EventScript_27374E
goto_if_ne DesertRuins_EventScript_27374E
removeobject VAR_LAST_TALKED
return
@@ -42,8 +42,7 @@ DesertRuins_EventScript_22D9D7:: @ 822D9D7
DesertRuins_EventScript_22D9DB:: @ 822D9DB
lockall
checkflag FLAG_SYS_BRAILLE_STRENGTH
goto_eq DesertRuins_EventScript_22D9EE
goto_if_set FLAG_SYS_BRAILLE_STRENGTH, DesertRuins_EventScript_22D9EE
braillemessage DesertRuins_Braille_2A6CA0
waitbuttonpress
hidebox2
@@ -77,11 +76,11 @@ DesertRuins_EventScript_22DA02:: @ 822DA02
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 1
goto_eq DesertRuins_EventScript_22DA49
goto_if_eq DesertRuins_EventScript_22DA49
compare VAR_RESULT, 4
goto_eq DesertRuins_EventScript_22DA52
goto_if_eq DesertRuins_EventScript_22DA52
compare VAR_RESULT, 5
goto_eq DesertRuins_EventScript_22DA52
goto_if_eq DesertRuins_EventScript_22DA52
setflag FLAG_0x1BB
release
end

View File

@@ -9,10 +9,8 @@ DesertUnderpass_MapScript1_23AF3D: @ 823AF3D
DesertUnderpass_EventScript_23AF41:: @ 823AF41
lock
faceplayer
checkflag FLAG_0x14F
goto_eq DesertUnderpass_EventScript_23AF57
checkflag FLAG_0x150
goto_eq DesertUnderpass_EventScript_23AF68
goto_if_set FLAG_0x14F, DesertUnderpass_EventScript_23AF57
goto_if_set FLAG_0x150, DesertUnderpass_EventScript_23AF68
release
end

View File

@@ -9,8 +9,7 @@ DewfordTown_MapScript1_1E950D: @ 81E950D
DewfordTown_EventScript_1E9511:: @ 81E9511
lock
faceplayer
checkflag FLAG_0x0BD
goto_if 0, DewfordTown_EventScript_1E9585
goto_if_unset FLAG_0x0BD, DewfordTown_EventScript_1E9585
message DewfordTown_Text_1E9C8A
waitmessage
multichoicedefault 21, 6, 0, 2, 0
@@ -44,7 +43,7 @@ DewfordTown_EventScript_1E957A:: @ 81E957A
DewfordTown_EventScript_1E9585:: @ 81E9585
msgbox DewfordTown_Text_1E9B24, MSGBOX_YESNO
compare VAR_RESULT, 1
goto_eq DewfordTown_EventScript_1E95A2
goto_if_eq DewfordTown_EventScript_1E95A2
msgbox DewfordTown_Text_1E9BD9, MSGBOX_DEFAULT
release
end
@@ -74,13 +73,12 @@ DewfordTown_EventScript_1E95CC:: @ 81E95CC
DewfordTown_EventScript_1E95D5:: @ 81E95D5
lock
faceplayer
checkflag FLAG_0x101
goto_eq DewfordTown_EventScript_1E962A
goto_if_set FLAG_0x101, DewfordTown_EventScript_1E962A
msgbox DewfordTown_Text_1E9DD1, MSGBOX_YESNO
compare VAR_RESULT, 1
goto_eq DewfordTown_EventScript_1E95FF
goto_if_eq DewfordTown_EventScript_1E95FF
compare VAR_RESULT, 0
goto_eq DewfordTown_EventScript_1E9620
goto_if_eq DewfordTown_EventScript_1E9620
end
DewfordTown_EventScript_1E95FF:: @ 81E95FF
@@ -101,9 +99,9 @@ DewfordTown_EventScript_1E962A:: @ 81E962A
waitmessage
multichoice 20, 8, 50, 1
compare VAR_RESULT, 0
goto_eq DewfordTown_EventScript_1E964C
goto_if_eq DewfordTown_EventScript_1E964C
compare VAR_RESULT, 1
goto_eq DewfordTown_EventScript_1E9656
goto_if_eq DewfordTown_EventScript_1E9656
end
DewfordTown_EventScript_1E964C:: @ 81E964C
@@ -600,9 +598,9 @@ DewfordTown_EventScript_1E9922:: @ 81E9922
call DewfordTown_EventScript_271E8B
msgbox DewfordTown_Text_1EA136, MSGBOX_YESNO
compare VAR_RESULT, 1
goto_eq DewfordTown_EventScript_1E9948
goto_if_eq DewfordTown_EventScript_1E9948
compare VAR_RESULT, 0
goto_eq DewfordTown_EventScript_1E9952
goto_if_eq DewfordTown_EventScript_1E9952
end
DewfordTown_EventScript_1E9948:: @ 81E9948
@@ -617,15 +615,15 @@ DewfordTown_EventScript_1E9952:: @ 81E9952
lock
faceplayer
compare VAR_RESULT, 1
goto_eq DewfordTown_EventScript_1E997D
goto_if_eq DewfordTown_EventScript_1E997D
compare VAR_RESULT, 0
goto_eq DewfordTown_EventScript_1E9994
goto_if_eq DewfordTown_EventScript_1E9994
end
DewfordTown_EventScript_1E997D:: @ 81E997D
incrementgamestat 2
compare VAR_0x8004, 0
goto_eq DewfordTown_EventScript_1E999E
goto_if_eq DewfordTown_EventScript_1E999E
msgbox DewfordTown_Text_1EA2AA, MSGBOX_DEFAULT
release
end

View File

@@ -8,21 +8,21 @@ DewfordTown_Gym_MapScript1_1FC642: @ 81FC642
DewfordTown_Gym_EventScript_1FC648:: @ 81FC648
checktrainerflag TRAINER_BRAWLY_1
goto_eq DewfordTown_Gym_EventScript_1FC6A2
goto_if_eq DewfordTown_Gym_EventScript_1FC6A2
call DewfordTown_Gym_EventScript_1FC768
copyvar VAR_0x8001, VAR_0x8000
compare VAR_0x8000, 0
goto_eq DewfordTown_Gym_EventScript_1FC6BE
goto_if_eq DewfordTown_Gym_EventScript_1FC6BE
compare VAR_0x8000, 1
goto_eq DewfordTown_Gym_EventScript_1FC6BA
goto_if_eq DewfordTown_Gym_EventScript_1FC6BA
compare VAR_0x8000, 2
goto_eq DewfordTown_Gym_EventScript_1FC6B6
goto_if_eq DewfordTown_Gym_EventScript_1FC6B6
compare VAR_0x8000, 3
goto_eq DewfordTown_Gym_EventScript_1FC6B2
goto_if_eq DewfordTown_Gym_EventScript_1FC6B2
compare VAR_0x8000, 4
goto_eq DewfordTown_Gym_EventScript_1FC6AE
goto_if_eq DewfordTown_Gym_EventScript_1FC6AE
compare VAR_0x8000, 5
goto_eq DewfordTown_Gym_EventScript_1FC6AA
goto_if_eq DewfordTown_Gym_EventScript_1FC6AA
goto DewfordTown_Gym_EventScript_1FC6A6
DewfordTown_Gym_EventScript_1FC6A2:: @ 81FC6A2
@@ -61,20 +61,20 @@ DewfordTown_Gym_EventScript_1FC6C2:: @ 81FC6C2
call DewfordTown_Gym_EventScript_1FC768
nop1
compare VAR_0x8000, VAR_0x8001
goto_eq DewfordTown_Gym_EventScript_1FC71A
goto_if_eq DewfordTown_Gym_EventScript_1FC71A
copyvar VAR_0x8001, VAR_0x8000
compare VAR_0x8000, 1
goto_eq DewfordTown_Gym_EventScript_1FC71B
goto_if_eq DewfordTown_Gym_EventScript_1FC71B
compare VAR_0x8000, 2
goto_eq DewfordTown_Gym_EventScript_1FC726
goto_if_eq DewfordTown_Gym_EventScript_1FC726
compare VAR_0x8000, 3
goto_eq DewfordTown_Gym_EventScript_1FC731
goto_if_eq DewfordTown_Gym_EventScript_1FC731
compare VAR_0x8000, 4
goto_eq DewfordTown_Gym_EventScript_1FC73C
goto_if_eq DewfordTown_Gym_EventScript_1FC73C
compare VAR_0x8000, 5
goto_eq DewfordTown_Gym_EventScript_1FC747
goto_if_eq DewfordTown_Gym_EventScript_1FC747
compare VAR_0x8000, 6
goto_eq DewfordTown_Gym_EventScript_1FC752
goto_if_eq DewfordTown_Gym_EventScript_1FC752
DewfordTown_Gym_EventScript_1FC71A:: @ 81FC71A
return
@@ -124,32 +124,32 @@ DewfordTown_Gym_EventScript_1FC75D:: @ 81FC75D
DewfordTown_Gym_EventScript_1FC768:: @ 81FC768
setvar VAR_0x8000, 0
checktrainerflag TRAINER_TAKAO
goto_if 0, DewfordTown_Gym_EventScript_1FC77B
goto_if_lt DewfordTown_Gym_EventScript_1FC77B
addvar VAR_0x8000, 1
DewfordTown_Gym_EventScript_1FC77B:: @ 81FC77B
checktrainerflag TRAINER_JOCELYN
goto_if 0, DewfordTown_Gym_EventScript_1FC789
goto_if_lt DewfordTown_Gym_EventScript_1FC789
addvar VAR_0x8000, 1
DewfordTown_Gym_EventScript_1FC789:: @ 81FC789
checktrainerflag TRAINER_LAURA
goto_if 0, DewfordTown_Gym_EventScript_1FC797
goto_if_lt DewfordTown_Gym_EventScript_1FC797
addvar VAR_0x8000, 1
DewfordTown_Gym_EventScript_1FC797:: @ 81FC797
checktrainerflag TRAINER_BRENDEN
goto_if 0, DewfordTown_Gym_EventScript_1FC7A5
goto_if_lt DewfordTown_Gym_EventScript_1FC7A5
addvar VAR_0x8000, 1
DewfordTown_Gym_EventScript_1FC7A5:: @ 81FC7A5
checktrainerflag TRAINER_CRISTIAN
goto_if 0, DewfordTown_Gym_EventScript_1FC7B3
goto_if_lt DewfordTown_Gym_EventScript_1FC7B3
addvar VAR_0x8000, 1
DewfordTown_Gym_EventScript_1FC7B3:: @ 81FC7B3
checktrainerflag TRAINER_LILITH
goto_if 0, DewfordTown_Gym_EventScript_1FC7C1
goto_if_lt DewfordTown_Gym_EventScript_1FC7C1
addvar VAR_0x8000, 1
DewfordTown_Gym_EventScript_1FC7C1:: @ 81FC7C1
@@ -159,9 +159,8 @@ DewfordTown_Gym_EventScript_1FC7C2:: @ 81FC7C2
trainerbattle_single TRAINER_BRAWLY_1, DewfordTown_Gym_Text_1FCF44, DewfordTown_Gym_Text_1FD008, DewfordTown_Gym_EventScript_1FC7F7, NO_MUSIC
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq DewfordTown_Gym_EventScript_1FC89C
checkflag FLAG_0x0A6
goto_if 0, DewfordTown_Gym_EventScript_1FC878
goto_if_eq DewfordTown_Gym_EventScript_1FC89C
goto_if_unset FLAG_0x0A6, DewfordTown_Gym_EventScript_1FC878
msgbox DewfordTown_Gym_Text_1FD20D, MSGBOX_DEFAULT
release
end
@@ -196,7 +195,7 @@ DewfordTown_Gym_EventScript_1FC7F7:: @ 81FC7F7
DewfordTown_Gym_EventScript_1FC855:: @ 81FC855
giveitem_std ITEM_TM08
compare VAR_RESULT, 0
goto_eq DewfordTown_Gym_EventScript_27205E
goto_if_eq DewfordTown_Gym_EventScript_27205E
msgbox DewfordTown_Gym_Text_1FD181, MSGBOX_DEFAULT
setflag FLAG_0x0A6
return
@@ -204,7 +203,7 @@ DewfordTown_Gym_EventScript_1FC855:: @ 81FC855
DewfordTown_Gym_EventScript_1FC878:: @ 81FC878
giveitem_std ITEM_TM08
compare VAR_RESULT, 0
goto_eq DewfordTown_Gym_EventScript_272054
goto_if_eq DewfordTown_Gym_EventScript_272054
msgbox DewfordTown_Gym_Text_1FD181, MSGBOX_DEFAULT
setflag FLAG_0x0A6
release
@@ -278,8 +277,7 @@ DewfordTown_Gym_EventScript_1FC97C:: @ 81FC97C
DewfordTown_Gym_EventScript_1FC983:: @ 81FC983
lock
faceplayer
checkflag FLAG_0x4F1
goto_eq DewfordTown_Gym_EventScript_1FC998
goto_if_set FLAG_0x4F1, DewfordTown_Gym_EventScript_1FC998
msgbox DewfordTown_Gym_Text_1FC9D6, MSGBOX_DEFAULT
release
end
@@ -291,15 +289,13 @@ DewfordTown_Gym_EventScript_1FC998:: @ 81FC998
DewfordTown_Gym_EventScript_1FC9A2:: @ 81FC9A2
lockall
checkflag FLAG_BADGE02_GET
goto_eq DewfordTown_Gym_EventScript_1FC9C2
goto_if_set FLAG_BADGE02_GET, DewfordTown_Gym_EventScript_1FC9C2
goto DewfordTown_Gym_EventScript_1FC9CC
end
DewfordTown_Gym_EventScript_1FC9B2:: @ 81FC9B2
lockall
checkflag FLAG_BADGE02_GET
goto_eq DewfordTown_Gym_EventScript_1FC9C2
goto_if_set FLAG_BADGE02_GET, DewfordTown_Gym_EventScript_1FC9C2
goto DewfordTown_Gym_EventScript_1FC9CC
end

View File

@@ -7,7 +7,7 @@ DewfordTown_Hall_EventScript_1FD4D0:: @ 81FD4D0
call DewfordTown_Hall_EventScript_271E8B
special TrendyPhraseIsOld
compare VAR_RESULT, 1
goto_eq DewfordTown_Hall_EventScript_1FD4EF
goto_if_eq DewfordTown_Hall_EventScript_1FD4EF
msgbox DewfordTown_Hall_Text_1FD818, MSGBOX_DEFAULT
release
end
@@ -32,9 +32,9 @@ DewfordTown_Hall_EventScript_1FD50A:: @ 81FD50A
special sub_811EF6C
msgbox DewfordTown_Hall_Text_1FD948, MSGBOX_YESNO
compare VAR_RESULT, 1
goto_eq DewfordTown_Hall_EventScript_1FD533
goto_if_eq DewfordTown_Hall_EventScript_1FD533
compare VAR_RESULT, 0
goto_eq DewfordTown_Hall_EventScript_1FD53D
goto_if_eq DewfordTown_Hall_EventScript_1FD53D
end
DewfordTown_Hall_EventScript_1FD533:: @ 81FD533
@@ -192,14 +192,14 @@ DewfordTown_Hall_EventScript_1FD73A:: @ 81FD73A
applymovement 8, DewfordTown_Hall_Movement_1FD7D6
waitmovement 0
compare VAR_0x8008, 0
goto_eq DewfordTown_Hall_EventScript_1FD75B
goto_if_eq DewfordTown_Hall_EventScript_1FD75B
compare VAR_0x8008, 1
goto_eq DewfordTown_Hall_EventScript_1FD771
goto_if_eq DewfordTown_Hall_EventScript_1FD771
end
DewfordTown_Hall_EventScript_1FD75B:: @ 81FD75B
compare VAR_FACING, 4
goto_eq DewfordTown_Hall_EventScript_1FD739
goto_if_eq DewfordTown_Hall_EventScript_1FD739
applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Hall_Movement_2725A8
waitmovement 0
return
@@ -211,9 +211,9 @@ DewfordTown_Hall_EventScript_1FD772:: @ 81FD772
applymovement 7, DewfordTown_Hall_Movement_1FD7D8
waitmovement 0
compare VAR_0x8008, 0
goto_eq DewfordTown_Hall_EventScript_1FD793
goto_if_eq DewfordTown_Hall_EventScript_1FD793
compare VAR_0x8008, 1
goto_eq DewfordTown_Hall_EventScript_1FD7C0
goto_if_eq DewfordTown_Hall_EventScript_1FD7C0
end
DewfordTown_Hall_EventScript_1FD793:: @ 81FD793
@@ -235,7 +235,7 @@ DewfordTown_Hall_EventScript_1FD7B5:: @ 81FD7B5
DewfordTown_Hall_EventScript_1FD7C0:: @ 81FD7C0
compare VAR_FACING, 3
goto_eq DewfordTown_Hall_EventScript_1FD739
goto_if_eq DewfordTown_Hall_EventScript_1FD739
applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Hall_Movement_2725A4
waitmovement 0
return
@@ -252,12 +252,11 @@ DewfordTown_Hall_EventScript_1FD7DA:: @ 81FD7DA
lock
faceplayer
call DewfordTown_Hall_EventScript_271E8B
checkflag FLAG_RECEIVED_TM_36
goto_eq DewfordTown_Hall_EventScript_1FD80E
goto_if_set FLAG_RECEIVED_TM_36, DewfordTown_Hall_EventScript_1FD80E
msgbox DewfordTown_Hall_Text_1FE142, MSGBOX_DEFAULT
giveitem_std ITEM_TM36
compare VAR_RESULT, 0
goto_eq DewfordTown_Hall_EventScript_272054
goto_if_eq DewfordTown_Hall_EventScript_272054
setflag FLAG_RECEIVED_TM_36
release
end

View File

@@ -4,12 +4,11 @@ DewfordTown_House2_MapScripts:: @ 81FE22D
DewfordTown_House2_EventScript_1FE22E:: @ 81FE22E
lock
faceplayer
checkflag FLAG_0x121
goto_eq DewfordTown_House2_EventScript_1FE267
goto_if_set FLAG_0x121, DewfordTown_House2_EventScript_1FE267
msgbox DewfordTown_House2_Text_1FE27A, MSGBOX_DEFAULT
giveitem_std ITEM_SILK_SCARF
compare VAR_RESULT, 0
goto_eq DewfordTown_House2_EventScript_1FE25D
goto_if_eq DewfordTown_House2_EventScript_1FE25D
setflag FLAG_0x121
release
end

View File

@@ -61,9 +61,9 @@ EverGrandeCity_ChampionsRoom_EventScript_228A61:: @ 8228A61
call EverGrandeCity_ChampionsRoom_EventScript_228BFD
checkplayergender
compare VAR_RESULT, 0
goto_eq EverGrandeCity_ChampionsRoom_EventScript_228AC6
goto_if_eq EverGrandeCity_ChampionsRoom_EventScript_228AC6
compare VAR_RESULT, 1
goto_eq EverGrandeCity_ChampionsRoom_EventScript_228AFB
goto_if_eq EverGrandeCity_ChampionsRoom_EventScript_228AFB
end
EverGrandeCity_ChampionsRoom_EventScript_228ABC:: @ 8228ABC

View File

@@ -41,8 +41,7 @@ EverGrandeCity_DrakesRoom_EventScript_2286ED:: @ 82286ED
EverGrandeCity_DrakesRoom_EventScript_2286F3:: @ 82286F3
lock
faceplayer
checkflag FLAG_0x4FE
goto_eq EverGrandeCity_DrakesRoom_EventScript_22871A
goto_if_set FLAG_0x4FE, EverGrandeCity_DrakesRoom_EventScript_22871A
playbgm MUS_SITENNOU, 0
msgbox EverGrandeCity_DrakesRoom_Text_22873E, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_DRAKE, EverGrandeCity_DrakesRoom_Text_228895

View File

@@ -41,8 +41,7 @@ EverGrandeCity_GlaciasRoom_EventScript_228463:: @ 8228463
EverGrandeCity_GlaciasRoom_EventScript_228469:: @ 8228469
lock
faceplayer
checkflag FLAG_0x4FD
goto_eq EverGrandeCity_GlaciasRoom_EventScript_228490
goto_if_set FLAG_0x4FD, EverGrandeCity_GlaciasRoom_EventScript_228490
playbgm MUS_SITENNOU, 0
msgbox EverGrandeCity_GlaciasRoom_Text_2284AC, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_GLACIA, EverGrandeCity_GlaciasRoom_Text_2285B4

View File

@@ -45,9 +45,9 @@ EverGrandeCity_HallOfFame_EventScript_229850:: @ 8229850
call EverGrandeCity_HallOfFame_EventScript_2717C1
checkplayergender
compare VAR_RESULT, 0
goto_eq EverGrandeCity_HallOfFame_EventScript_2298E9
goto_if_eq EverGrandeCity_HallOfFame_EventScript_2298E9
compare VAR_RESULT, 1
goto_eq EverGrandeCity_HallOfFame_EventScript_2298F5
goto_if_eq EverGrandeCity_HallOfFame_EventScript_2298F5
end
EverGrandeCity_HallOfFame_EventScript_2298E9:: @ 82298E9

View File

@@ -41,8 +41,7 @@ EverGrandeCity_PhoebesRoom_EventScript_2281C5:: @ 82281C5
EverGrandeCity_PhoebesRoom_EventScript_2281CB:: @ 82281CB
lock
faceplayer
checkflag FLAG_0x4FC
goto_eq EverGrandeCity_PhoebesRoom_EventScript_2281F2
goto_if_set FLAG_0x4FC, EverGrandeCity_PhoebesRoom_EventScript_2281F2
playbgm MUS_SITENNOU, 0
msgbox EverGrandeCity_PhoebesRoom_Text_22820E, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_PHOEBE, EverGrandeCity_PhoebesRoom_Text_228325

View File

@@ -10,8 +10,7 @@ EverGrandeCity_PokemonCenter_1F_MapScript1_229A3F: @ 8229A3F
end
EverGrandeCity_PokemonCenter_1F_EventScript_229A4C:: @ 8229A4C
checkflag FLAG_BADGE06_GET
goto_if 0, EverGrandeCity_PokemonCenter_1F_EventScript_27374E
goto_if_unset FLAG_BADGE06_GET, EverGrandeCity_PokemonCenter_1F_EventScript_27374E
clearflag FLAG_HIDE_EVER_GRANDE_POKEMON_CENTER_1F_SCOTT
return

View File

@@ -48,8 +48,7 @@ EverGrandeCity_PokemonLeague_1F_Pokemart_229624: @ 8229624
EverGrandeCity_PokemonLeague_1F_EventScript_229636:: @ 8229636
lockall
checkflag FLAG_0x107
goto_eq EverGrandeCity_PokemonLeague_1F_EventScript_2296BB
goto_if_set FLAG_0x107, EverGrandeCity_PokemonLeague_1F_EventScript_2296BB
getplayerxy VAR_TEMP_0, VAR_TEMP_1
compare VAR_TEMP_0, 11
call_if 4, EverGrandeCity_PokemonLeague_1F_EventScript_229698
@@ -58,8 +57,7 @@ EverGrandeCity_PokemonLeague_1F_EventScript_229636:: @ 8229636
message EverGrandeCity_PokemonLeague_1F_Text_2296E8
waitmessage
delay 120
checkflag FLAG_BADGE06_GET
goto_if 0, EverGrandeCity_PokemonLeague_1F_EventScript_2296AE
goto_if_unset FLAG_BADGE06_GET, EverGrandeCity_PokemonLeague_1F_EventScript_2296AE
closemessage
applymovement 3, EverGrandeCity_PokemonLeague_1F_Movement_2296E2
applymovement 4, EverGrandeCity_PokemonLeague_1F_Movement_2296E5

View File

@@ -48,8 +48,7 @@ EverGrandeCity_SidneysRoom_EventScript_227F57:: @ 8227F57
EverGrandeCity_SidneysRoom_EventScript_227F64:: @ 8227F64
lock
faceplayer
checkflag FLAG_0x4FB
goto_eq EverGrandeCity_SidneysRoom_EventScript_227F8B
goto_if_set FLAG_0x4FB, EverGrandeCity_SidneysRoom_EventScript_227F8B
playbgm MUS_SITENNOU, 0
msgbox EverGrandeCity_SidneysRoom_Text_227FA7, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_SIDNEY, EverGrandeCity_SidneysRoom_Text_2280A2

View File

@@ -11,8 +11,7 @@ FallarborTown_MapScript1_1EB200: @ 81EB200
FallarborTown_EventScript_1EB20C:: @ 81EB20C
lock
faceplayer
checkflag FLAG_0x08B
goto_eq FallarborTown_EventScript_1EB221
goto_if_set FLAG_0x08B, FallarborTown_EventScript_1EB221
msgbox FallarborTown_Text_1EB26B, MSGBOX_DEFAULT
release
end

View File

@@ -11,9 +11,9 @@ FallarborTown_BattleTentBattleRoom_MapScript1_2008A9: @ 82008A9
FallarborTown_BattleTentBattleRoom_EventScript_2008AF:: @ 82008AF
checkplayergender
compare VAR_RESULT, 0
goto_eq FallarborTown_BattleTentBattleRoom_EventScript_2008C7
goto_if_eq FallarborTown_BattleTentBattleRoom_EventScript_2008C7
compare VAR_RESULT, 1
goto_eq FallarborTown_BattleTentBattleRoom_EventScript_2008D2
goto_if_eq FallarborTown_BattleTentBattleRoom_EventScript_2008D2
return
FallarborTown_BattleTentBattleRoom_EventScript_2008C7:: @ 82008C7
@@ -39,7 +39,7 @@ FallarborTown_BattleTentBattleRoom_EventScript_2008E7:: @ 82008E7
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if 5, FallarborTown_BattleTentBattleRoom_EventScript_200B73
goto_if_ne FallarborTown_BattleTentBattleRoom_EventScript_200B73
FallarborTown_BattleTentBattleRoom_EventScript_20090F:: @ 820090F
setvar VAR_0x8004, 3
@@ -164,7 +164,7 @@ FallarborTown_BattleTentBattleRoom_EventScript_200AF3:: @ 8200AF3
setvar VAR_0x8005, 1
special CallBattleArenaFunction
compare VAR_RESULT, 9999
goto_eq FallarborTown_BattleTentBattleRoom_EventScript_2009B3
goto_if_eq FallarborTown_BattleTentBattleRoom_EventScript_2009B3
addvar VAR_RESULT, 1
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1

View File

@@ -133,7 +133,7 @@ FallarborTown_BattleTentLobby_EventScript_200001:: @ 8200001
setvar VAR_0x8004, 1
special sub_81B9B80
compare VAR_RESULT, 0
goto_if 5, FallarborTown_BattleTentLobby_EventScript_1FFF84
goto_if_ne FallarborTown_BattleTentLobby_EventScript_1FFF84
special SavePlayerParty
msgbox FallarborTown_BattleTentLobby_Text_2C47EB, MSGBOX_DEFAULT
@@ -154,7 +154,7 @@ FallarborTown_BattleTentLobby_EventScript_20005D:: @ 820005D
setvar VAR_0x8004, 15
special CallFrontierUtilFunc
compare VAR_0x8004, 1
goto_eq FallarborTown_BattleTentLobby_EventScript_200176
goto_if_eq FallarborTown_BattleTentLobby_EventScript_200176
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
setvar VAR_0x8006, 2
@@ -166,7 +166,7 @@ FallarborTown_BattleTentLobby_EventScript_20005D:: @ 820005D
special sub_80F9490
waitstate
compare VAR_RESULT, 0
goto_eq FallarborTown_BattleTentLobby_EventScript_2001C2
goto_if_eq FallarborTown_BattleTentLobby_EventScript_2001C2
msgbox FallarborTown_BattleTentLobby_Text_2C4B35, MSGBOX_YESNO
switch VAR_RESULT
case 0, FallarborTown_BattleTentLobby_EventScript_2001C2
@@ -194,7 +194,7 @@ FallarborTown_BattleTentLobby_EventScript_2000E2:: @ 82000E2
call FallarborTown_BattleTentLobby_EventScript_27134F
setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0
goto_eq FallarborTown_BattleTentLobby_EventScript_2001AB
goto_if_eq FallarborTown_BattleTentLobby_EventScript_2001AB
FallarborTown_BattleTentLobby_EventScript_20013C:: @ 820013C
special SavePlayerParty
@@ -294,8 +294,7 @@ FallarborTown_BattleTentLobby_EventScript_20021F:: @ 820021F
FallarborTown_BattleTentLobby_EventScript_200228:: @ 8200228
lock
faceplayer
checkflag FLAG_0x1CD
goto_eq FallarborTown_BattleTentLobby_EventScript_200245
goto_if_set FLAG_0x1CD, FallarborTown_BattleTentLobby_EventScript_200245
msgbox FallarborTown_BattleTentLobby_Text_200501, MSGBOX_DEFAULT
addvar VAR_0x40D1, 1
setflag FLAG_0x1CD

View File

@@ -4,11 +4,10 @@ FallarborTown_House1_MapScripts:: @ 8200F12
FallarborTown_House1_EventScript_200F13:: @ 8200F13
lock
faceplayer
checkflag FLAG_0x0E5
goto_eq FallarborTown_House1_EventScript_200FB2
goto_if_set FLAG_0x0E5, FallarborTown_House1_EventScript_200FB2
checkitem ITEM_METEORITE, 1
compare VAR_RESULT, 1
goto_eq FallarborTown_House1_EventScript_200F38
goto_if_eq FallarborTown_House1_EventScript_200F38
msgbox FallarborTown_House1_Text_200FEE, MSGBOX_DEFAULT
release
end
@@ -19,11 +18,11 @@ FallarborTown_House1_EventScript_200F38:: @ 8200F38
checkflag FLAG_TEMP_2
call_if 1, FallarborTown_House1_EventScript_200F9C
compare VAR_RESULT, 0
goto_eq FallarborTown_House1_EventScript_200FA5
goto_if_eq FallarborTown_House1_EventScript_200FA5
msgbox FallarborTown_House1_Text_201159, MSGBOX_DEFAULT
giveitem_std ITEM_TM27
compare VAR_RESULT, 0
goto_eq FallarborTown_House1_EventScript_272054
goto_if_eq FallarborTown_House1_EventScript_272054
setvar VAR_0x8004, 280
call FallarborTown_House1_EventScript_2723E4
setflag FLAG_0x0E5
@@ -54,10 +53,8 @@ FallarborTown_House1_EventScript_200FB2:: @ 8200FB2
FallarborTown_House1_EventScript_200FBC:: @ 8200FBC
lock
faceplayer
checkflag FLAG_0x0E5
goto_eq FallarborTown_House1_EventScript_200FE4
checkflag FLAG_0x08B
goto_eq FallarborTown_House1_EventScript_200FDA
goto_if_set FLAG_0x0E5, FallarborTown_House1_EventScript_200FE4
goto_if_set FLAG_0x08B, FallarborTown_House1_EventScript_200FDA
msgbox FallarborTown_House1_Text_2012BC, MSGBOX_DEFAULT
release
end

View File

@@ -5,8 +5,7 @@ FallarborTown_House2_EventScript_201383:: @ 8201383
lockall
applymovement 1, FallarborTown_House2_Movement_27259E
waitmovement 0
checkflag FLAG_TEMP_1
goto_eq FallarborTown_House2_EventScript_2013A8
goto_if_set FLAG_TEMP_1, FallarborTown_House2_EventScript_2013A8
msgbox FallarborTown_House2_Text_20145C, MSGBOX_DEFAULT
setflag FLAG_TEMP_1
goto FallarborTown_House2_EventScript_2013A8
@@ -15,7 +14,7 @@ FallarborTown_House2_EventScript_201383:: @ 8201383
FallarborTown_House2_EventScript_2013A8:: @ 82013A8
checkitem ITEM_HEART_SCALE, 1
compare VAR_RESULT, 0
goto_eq FallarborTown_House2_EventScript_201452
goto_if_eq FallarborTown_House2_EventScript_201452
msgbox FallarborTown_House2_Text_201541, MSGBOX_YESNO
switch VAR_RESULT
case 0, FallarborTown_House2_EventScript_201452
@@ -27,12 +26,12 @@ FallarborTown_House2_EventScript_2013D6:: @ 82013D6
special sub_81B951C
waitstate
compare VAR_0x8004, 255
goto_eq FallarborTown_House2_EventScript_201452
goto_if_eq FallarborTown_House2_EventScript_201452
special sub_81B98DC
compare VAR_RESULT, 1
goto_eq FallarborTown_House2_EventScript_201444
goto_if_eq FallarborTown_House2_EventScript_201444
compare VAR_0x8005, 0
goto_eq FallarborTown_House2_EventScript_201436
goto_if_eq FallarborTown_House2_EventScript_201436
goto FallarborTown_House2_EventScript_20140C
end
@@ -41,7 +40,7 @@ FallarborTown_House2_EventScript_20140C:: @ 820140C
special TeachMoveTutorMove
waitstate
compare VAR_0x8004, 0
goto_eq FallarborTown_House2_EventScript_2013D6
goto_if_eq FallarborTown_House2_EventScript_2013D6
msgbox FallarborTown_House2_Text_201627, MSGBOX_DEFAULT
takeitem ITEM_HEART_SCALE, 1
goto FallarborTown_House2_EventScript_201452

View File

@@ -21,7 +21,7 @@ FarawayIsland_Entrance_EventScript_267CA2:: @ 8267CA2
faceplayer
msgbox FarawayIsland_Entrance_Text_2C6B42, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq FarawayIsland_Entrance_EventScript_267CE7
goto_if_eq FarawayIsland_Entrance_EventScript_267CE7
msgbox FarawayIsland_Entrance_Text_2A6A5D, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, FarawayIsland_Entrance_Movement_2725AA

View File

@@ -13,13 +13,13 @@ FarawayIsland_Interior_MapScript1_267D0F: @ 8267D0F
FarawayIsland_Interior_EventScript_267D19:: @ 8267D19
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 1
goto_eq FarawayIsland_Interior_EventScript_267D4B
goto_if_eq FarawayIsland_Interior_EventScript_267D4B
compare VAR_RESULT, 4
goto_eq FarawayIsland_Interior_EventScript_267D4B
goto_if_eq FarawayIsland_Interior_EventScript_267D4B
compare VAR_RESULT, 5
goto_eq FarawayIsland_Interior_EventScript_267D4B
goto_if_eq FarawayIsland_Interior_EventScript_267D4B
compare VAR_RESULT, 10
goto_eq FarawayIsland_Interior_EventScript_267D4B
goto_if_eq FarawayIsland_Interior_EventScript_267D4B
return
FarawayIsland_Interior_EventScript_267D4B:: @ 8267D4B
@@ -35,7 +35,7 @@ FarawayIsland_Interior_MapScript1_267D54: @ 8267D54
FarawayIsland_Interior_EventScript_267D5E:: @ 8267D5E
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 7
goto_if 5, FarawayIsland_Interior_EventScript_27374E
goto_if_ne FarawayIsland_Interior_EventScript_27374E
removeobject VAR_LAST_TALKED
return
@@ -47,8 +47,7 @@ FarawayIsland_Interior_MapScript1_267D72: @ 8267D72
end
FarawayIsland_Interior_EventScript_267D86:: @ 8267D86
checkflag FLAG_0x1C7
goto_eq FarawayIsland_Interior_EventScript_27374E
goto_if_set FLAG_0x1C7, FarawayIsland_Interior_EventScript_27374E
clearflag FLAG_HIDE_MEW
setvar VAR_TEMP_1, 0
return
@@ -150,13 +149,13 @@ FarawayIsland_Interior_EventScript_267DF2:: @ 8267DF2
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 1
goto_eq FarawayIsland_Interior_EventScript_267E96
goto_if_eq FarawayIsland_Interior_EventScript_267E96
compare VAR_RESULT, 4
goto_eq FarawayIsland_Interior_EventScript_267EA4
goto_if_eq FarawayIsland_Interior_EventScript_267EA4
compare VAR_RESULT, 5
goto_eq FarawayIsland_Interior_EventScript_267EA4
goto_if_eq FarawayIsland_Interior_EventScript_267EA4
compare VAR_RESULT, 10
goto_eq FarawayIsland_Interior_EventScript_267EA4
goto_if_eq FarawayIsland_Interior_EventScript_267EA4
setflag FLAG_0x1CA
release
end

View File

@@ -18,8 +18,7 @@ FortreeCity_EventScript_1E25B6:: @ 81E25B6
FortreeCity_EventScript_1E25BF:: @ 81E25BF
lock
faceplayer
checkflag FLAG_0x127
goto_eq FortreeCity_EventScript_1E25D4
goto_if_set FLAG_0x127, FortreeCity_EventScript_1E25D4
msgbox FortreeCity_Text_1E2738, MSGBOX_DEFAULT
release
end
@@ -58,7 +57,7 @@ FortreeCity_EventScript_1E2614:: @ 81E2614
faceplayer
checkitem ITEM_DEVON_SCOPE, 1
compare VAR_RESULT, 1
goto_eq FortreeCity_EventScript_1E2630
goto_if_eq FortreeCity_EventScript_1E2630
msgbox FortreeCity_Text_1E29E5, MSGBOX_DEFAULT
release
end
@@ -66,7 +65,7 @@ FortreeCity_EventScript_1E2614:: @ 81E2614
FortreeCity_EventScript_1E2630:: @ 81E2630
msgbox FortreeCity_Text_1E2A08, MSGBOX_YESNO
compare VAR_RESULT, 1
goto_eq FortreeCity_EventScript_1E2645
goto_if_eq FortreeCity_EventScript_1E2645
release
end

View File

@@ -19,9 +19,8 @@ FortreeCity_Gym_EventScript_2165C8:: @ 82165C8
trainerbattle_single TRAINER_WINONA_1, FortreeCity_Gym_Text_216D75, FortreeCity_Gym_Text_216E60, FortreeCity_Gym_EventScript_2165FD, NO_MUSIC
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq FortreeCity_Gym_EventScript_21668D
checkflag FLAG_0x0AA
goto_if 0, FortreeCity_Gym_EventScript_216646
goto_if_eq FortreeCity_Gym_EventScript_21668D
goto_if_unset FLAG_0x0AA, FortreeCity_Gym_EventScript_216646
msgbox FortreeCity_Gym_Text_217071, MSGBOX_DEFAULT
release
end
@@ -52,7 +51,7 @@ FortreeCity_Gym_EventScript_2165FD:: @ 82165FD
FortreeCity_Gym_EventScript_216646:: @ 8216646
giveitem_std ITEM_TM40
compare VAR_RESULT, 0
goto_eq FortreeCity_Gym_EventScript_272054
goto_if_eq FortreeCity_Gym_EventScript_272054
msgbox FortreeCity_Gym_Text_216FEC, MSGBOX_DEFAULT
setflag FLAG_0x0AA
release
@@ -61,7 +60,7 @@ FortreeCity_Gym_EventScript_216646:: @ 8216646
FortreeCity_Gym_EventScript_21666A:: @ 821666A
giveitem_std ITEM_TM40
compare VAR_RESULT, 0
goto_eq FortreeCity_Gym_EventScript_27205E
goto_if_eq FortreeCity_Gym_EventScript_27205E
msgbox FortreeCity_Gym_Text_216FEC, MSGBOX_DEFAULT
setflag FLAG_0x0AA
return
@@ -104,8 +103,7 @@ FortreeCity_Gym_EventScript_21671B:: @ 821671B
FortreeCity_Gym_EventScript_216732:: @ 8216732
lock
faceplayer
checkflag FLAG_0x4F5
goto_eq FortreeCity_Gym_EventScript_216747
goto_if_set FLAG_0x4F5, FortreeCity_Gym_EventScript_216747
msgbox FortreeCity_Gym_Text_216785, MSGBOX_DEFAULT
release
end
@@ -117,15 +115,13 @@ FortreeCity_Gym_EventScript_216747:: @ 8216747
FortreeCity_Gym_EventScript_216751:: @ 8216751
lockall
checkflag FLAG_BADGE06_GET
goto_eq FortreeCity_Gym_EventScript_216771
goto_if_set FLAG_BADGE06_GET, FortreeCity_Gym_EventScript_216771
goto FortreeCity_Gym_EventScript_21677B
end
FortreeCity_Gym_EventScript_216761:: @ 8216761
lockall
checkflag FLAG_BADGE06_GET
goto_eq FortreeCity_Gym_EventScript_216771
goto_if_set FLAG_BADGE06_GET, FortreeCity_Gym_EventScript_216771
goto FortreeCity_Gym_EventScript_21677B
end

View File

@@ -4,25 +4,24 @@ FortreeCity_House1_MapScripts:: @ 82162BA
FortreeCity_House1_EventScript_2162BB:: @ 82162BB
lock
faceplayer
checkflag FLAG_0x09B
goto_eq FortreeCity_House1_EventScript_216355
goto_if_set FLAG_0x09B, FortreeCity_House1_EventScript_216355
setvar VAR_0x8008, 1
copyvar VAR_0x8004, VAR_0x8008
specialvar VAR_RESULT, sub_807E73C
copyvar VAR_0x8009, VAR_RESULT
msgbox FortreeCity_House1_Text_21637B, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq FortreeCity_House1_EventScript_21633D
goto_if_eq FortreeCity_House1_EventScript_21633D
special sub_81B94B0
waitstate
copyvar VAR_0x800A, VAR_0x8004
compare VAR_0x8004, 255
goto_eq FortreeCity_House1_EventScript_21633D
goto_if_eq FortreeCity_House1_EventScript_21633D
copyvar VAR_0x8005, VAR_0x800A
specialvar VAR_RESULT, sub_807E9D4
copyvar VAR_0x800B, VAR_RESULT
compare VAR_RESULT, VAR_0x8009
goto_if 5, FortreeCity_House1_EventScript_216347
goto_if_ne FortreeCity_House1_EventScript_216347
copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A
special sub_807EA10

View File

@@ -4,8 +4,7 @@ FortreeCity_House2_MapScripts:: @ 82177CA
FortreeCity_House2_EventScript_2177CB:: @ 82177CB
lock
faceplayer
checkflag FLAG_0x108
goto_eq FortreeCity_House2_EventScript_21786E
goto_if_set FLAG_0x108, FortreeCity_House2_EventScript_21786E
checkflag FLAG_0x076
call_if 0, FortreeCity_House2_EventScript_217862
msgbox FortreeCity_House2_Text_2178D6, MSGBOX_DEFAULT
@@ -23,7 +22,7 @@ FortreeCity_House2_EventScript_2177CB:: @ 82177CB
msgbox FortreeCity_House2_Text_217A28, MSGBOX_DEFAULT
giveitem_std ITEM_TM10
compare VAR_RESULT, 0
goto_eq FortreeCity_House2_EventScript_272054
goto_if_eq FortreeCity_House2_EventScript_272054
setflag FLAG_0x108
msgbox FortreeCity_House2_Text_217A91, MSGBOX_DEFAULT
release

View File

@@ -7,12 +7,9 @@ FortreeCity_House4_EventScript_217C81:: @ 8217C81
FortreeCity_House4_EventScript_217C8A:: @ 8217C8A
lockall
checkflag FLAG_0x0DF
goto_eq FortreeCity_House4_EventScript_217D06
checkflag FLAG_0x0E0
goto_eq FortreeCity_House4_EventScript_217CD8
checkflag FLAG_0x0DE
goto_eq FortreeCity_House4_EventScript_217CC4
goto_if_set FLAG_0x0DF, FortreeCity_House4_EventScript_217D06
goto_if_set FLAG_0x0E0, FortreeCity_House4_EventScript_217CD8
goto_if_set FLAG_0x0DE, FortreeCity_House4_EventScript_217CC4
msgbox FortreeCity_House4_Text_217DB9, MSGBOX_DEFAULT
closemessage
setflag FLAG_0x0DE
@@ -36,7 +33,7 @@ FortreeCity_House4_EventScript_217CD8:: @ 8217CD8
msgbox FortreeCity_House4_Text_217E05, MSGBOX_DEFAULT
giveitem_std ITEM_MENTAL_HERB
compare VAR_RESULT, 0
goto_eq FortreeCity_House4_EventScript_272054
goto_if_eq FortreeCity_House4_EventScript_272054
setflag FLAG_0x0DF
releaseall
end

View File

@@ -4,8 +4,7 @@ GraniteCave_1F_MapScripts:: @ 822DA5D
GraniteCave_1F_EventScript_22DA5E:: @ 822DA5E
lock
faceplayer
checkflag FLAG_0x06D
goto_eq GraniteCave_1F_EventScript_22DA8A
goto_if_set FLAG_0x06D, GraniteCave_1F_EventScript_22DA8A
msgbox GraniteCave_1F_Text_22DA94, MSGBOX_DEFAULT
giveitem_std ITEM_HM05
setflag FLAG_0x06D

View File

@@ -18,9 +18,9 @@ InsideOfTruck_EventScript_23BF04:: @ 823BF04
setflag FLAG_SPECIAL_FLAG_0x4000
checkplayergender
compare VAR_RESULT, 0
goto_eq InsideOfTruck_EventScript_23BF20
goto_if_eq InsideOfTruck_EventScript_23BF20
compare VAR_RESULT, 1
goto_eq InsideOfTruck_EventScript_23BF46
goto_if_eq InsideOfTruck_EventScript_23BF46
end
InsideOfTruck_EventScript_23BF20:: @ 823BF20

View File

@@ -12,7 +12,7 @@ IslandCave_MapScript1_238E3A: @ 8238E3A
IslandCave_EventScript_238E44:: @ 8238E44
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 7
goto_if 5, IslandCave_EventScript_27374E
goto_if_ne IslandCave_EventScript_27374E
removeobject VAR_LAST_TALKED
return
@@ -57,8 +57,7 @@ IslandCave_EventScript_238EEF:: @ 8238EEF
lockall
checkflag FLAG_TEMP_3
call_if 1, IslandCave_EventScript_238F45
checkflag FLAG_SYS_BRAILLE_WAIT
goto_eq IslandCave_EventScript_238F13
goto_if_set FLAG_SYS_BRAILLE_WAIT, IslandCave_EventScript_238F13
braillemessage IslandCave_Braille_2A6CD4
setflag FLAG_TEMP_2
special ShouldDoBrailleRegicePuzzle
@@ -75,8 +74,7 @@ IslandCave_EventScript_238F1D:: @ 8238F1D
checkflag FLAG_TEMP_3
call_if 1, IslandCave_EventScript_238F45
braillemessage IslandCave_Braille_2A6CD4
checkflag FLAG_SYS_BRAILLE_WAIT
goto_eq IslandCave_EventScript_238F41
goto_if_set FLAG_SYS_BRAILLE_WAIT, IslandCave_EventScript_238F41
setflag FLAG_TEMP_2
special ShouldDoBrailleRegicePuzzle
goto IslandCave_EventScript_238F41
@@ -109,11 +107,11 @@ IslandCave_EventScript_238F58:: @ 8238F58
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 1
goto_eq IslandCave_EventScript_238F9F
goto_if_eq IslandCave_EventScript_238F9F
compare VAR_RESULT, 4
goto_eq IslandCave_EventScript_238FA8
goto_if_eq IslandCave_EventScript_238FA8
compare VAR_RESULT, 5
goto_eq IslandCave_EventScript_238FA8
goto_if_eq IslandCave_EventScript_238FA8
setflag FLAG_0x1BC
release
end

View File

@@ -13,7 +13,7 @@ JaggedPass_MapScript1_230666: @ 8230666
JaggedPass_EventScript_230674:: @ 8230674
checkitem ITEM_MAGMA_EMBLEM, 1
compare VAR_RESULT, 1
goto_eq JaggedPass_EventScript_230685
goto_if_eq JaggedPass_EventScript_230685
return
JaggedPass_EventScript_230685:: @ 8230685
@@ -32,7 +32,7 @@ JaggedPass_EventScript_230697:: @ 8230697
JaggedPass_MapScript1_23069C: @ 823069C
compare VAR_0x40C8, 1
goto_if 3, JaggedPass_EventScript_2306A8
goto_if_le JaggedPass_EventScript_2306A8
end
JaggedPass_EventScript_2306A8:: @ 82306A8
@@ -68,8 +68,7 @@ JaggedPass_EventScript_2306BB:: @ 82306BB
JaggedPass_EventScript_230718:: @ 8230718
lockall
checkflag FLAG_0x139
goto_eq JaggedPass_EventScript_230766
goto_if_set FLAG_0x139, JaggedPass_EventScript_230766
waitse
playse SE_PIN
applymovement 5, JaggedPass_Movement_272598
@@ -106,7 +105,7 @@ JaggedPass_EventScript_23079C:: @ 823079C
trainerbattle_single TRAINER_DIANA_1, JaggedPass_Text_230974, JaggedPass_Text_2309B5, JaggedPass_EventScript_2307C8
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq JaggedPass_EventScript_2307E4
goto_if_eq JaggedPass_EventScript_2307E4
msgbox JaggedPass_Text_2309D8, MSGBOX_DEFAULT
release
end
@@ -127,7 +126,7 @@ JaggedPass_EventScript_2307FB:: @ 82307FB
trainerbattle_single TRAINER_ETHAN_1, JaggedPass_Text_230B10, JaggedPass_Text_230B50, JaggedPass_EventScript_230827
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq JaggedPass_EventScript_230843
goto_if_eq JaggedPass_EventScript_230843
msgbox JaggedPass_Text_230B93, MSGBOX_DEFAULT
release
end

View File

@@ -24,7 +24,7 @@ LavaridgeTown_EventScript_1EA514:: @ 81EA514
LavaridgeTown_EventScript_1EA518:: @ 81EA518
getplayerxy VAR_0x8004, VAR_0x8005
compare VAR_0x8004, 9
goto_eq LavaridgeTown_EventScript_1EA529
goto_if_eq LavaridgeTown_EventScript_1EA529
return
LavaridgeTown_EventScript_1EA529:: @ 81EA529
@@ -65,9 +65,9 @@ LavaridgeTown_EventScript_1EA551:: @ 81EA551
call_if 5, LavaridgeTown_EventScript_1EA6AC
checkplayergender
compare VAR_RESULT, 0
goto_eq LavaridgeTown_EventScript_1EA5B5
goto_if_eq LavaridgeTown_EventScript_1EA5B5
compare VAR_RESULT, 1
goto_eq LavaridgeTown_EventScript_1EA5DA
goto_if_eq LavaridgeTown_EventScript_1EA5DA
end
LavaridgeTown_EventScript_1EA5B5:: @ 81EA5B5
@@ -214,7 +214,7 @@ LavaridgeTown_Movement_1EA6F8: @ 81EA6F8
LavaridgeTown_EventScript_1EA6FA:: @ 81EA6FA
specialvar VAR_RESULT, GetPlayerFacingDirection
compare VAR_RESULT, 1
goto_eq LavaridgeTown_EventScript_1EA70B
goto_if_eq LavaridgeTown_EventScript_1EA70B
end
LavaridgeTown_EventScript_1EA70B:: @ 81EA70B
@@ -248,14 +248,13 @@ LavaridgeTown_EventScript_1EA73B:: @ 81EA73B
LavaridgeTown_EventScript_1EA744:: @ 81EA744
lock
faceplayer
checkflag FLAG_0x10A
goto_eq LavaridgeTown_EventScript_1EA787
goto_if_set FLAG_0x10A, LavaridgeTown_EventScript_1EA787
msgbox LavaridgeTown_Text_1EAB80, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq LavaridgeTown_EventScript_1EA79B
goto_if_eq LavaridgeTown_EventScript_1EA79B
getpartysize
compare VAR_RESULT, 6
goto_eq LavaridgeTown_EventScript_1EA791
goto_if_eq LavaridgeTown_EventScript_1EA791
msgbox LavaridgeTown_Text_1EACC0, MSGBOX_DEFAULT
setflag FLAG_0x10A
playfanfare MUS_FANFA4

View File

@@ -14,22 +14,22 @@ LavaridgeTown_Gym_1F_EventScript_1FE705:: @ 81FE705
setvar VAR_TEMP_E, 0
setvar VAR_TEMP_F, 0
checktrainerflag TRAINER_COLE
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE72C
goto_if_eq LavaridgeTown_Gym_1F_EventScript_1FE72C
setvar VAR_TEMP_B, 1
LavaridgeTown_Gym_1F_EventScript_1FE72C:: @ 81FE72C
checktrainerflag TRAINER_GERALD
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE73A
goto_if_eq LavaridgeTown_Gym_1F_EventScript_1FE73A
setvar VAR_TEMP_C, 1
LavaridgeTown_Gym_1F_EventScript_1FE73A:: @ 81FE73A
checktrainerflag TRAINER_AXLE
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE748
goto_if_eq LavaridgeTown_Gym_1F_EventScript_1FE748
setvar VAR_TEMP_D, 1
LavaridgeTown_Gym_1F_EventScript_1FE748:: @ 81FE748
checktrainerflag TRAINER_DANIELLE
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE756
goto_if_eq LavaridgeTown_Gym_1F_EventScript_1FE756
setvar VAR_TEMP_E, 1
LavaridgeTown_Gym_1F_EventScript_1FE756:: @ 81FE756
@@ -37,22 +37,22 @@ LavaridgeTown_Gym_1F_EventScript_1FE756:: @ 81FE756
LavaridgeTown_Gym_1F_EventScript_1FE757:: @ 81FE757
checktrainerflag TRAINER_COLE
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE764
goto_if_eq LavaridgeTown_Gym_1F_EventScript_1FE764
setobjectmovementtype 2, 63
LavaridgeTown_Gym_1F_EventScript_1FE764:: @ 81FE764
checktrainerflag TRAINER_GERALD
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE771
goto_if_eq LavaridgeTown_Gym_1F_EventScript_1FE771
setobjectmovementtype 3, 63
LavaridgeTown_Gym_1F_EventScript_1FE771:: @ 81FE771
checktrainerflag TRAINER_AXLE
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE77E
goto_if_eq LavaridgeTown_Gym_1F_EventScript_1FE77E
setobjectmovementtype 4, 63
LavaridgeTown_Gym_1F_EventScript_1FE77E:: @ 81FE77E
checktrainerflag TRAINER_DANIELLE
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE78B
goto_if_eq LavaridgeTown_Gym_1F_EventScript_1FE78B
setobjectmovementtype 5, 63
LavaridgeTown_Gym_1F_EventScript_1FE78B:: @ 81FE78B
@@ -62,9 +62,8 @@ LavaridgeTown_Gym_1F_EventScript_1FE78C:: @ 81FE78C
trainerbattle_single TRAINER_FLANNERY_1, LavaridgeTown_Gym_1F_Text_1FF0DC, LavaridgeTown_Gym_1F_Text_1FF233, LavaridgeTown_Gym_1F_EventScript_1FE7C1, NO_MUSIC
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE864
checkflag FLAG_0x0A8
goto_if 0, LavaridgeTown_Gym_1F_EventScript_1FE81D
goto_if_eq LavaridgeTown_Gym_1F_EventScript_1FE864
goto_if_unset FLAG_0x0A8, LavaridgeTown_Gym_1F_EventScript_1FE81D
msgbox LavaridgeTown_Gym_1F_Text_1FF546, MSGBOX_DEFAULT
release
end
@@ -99,7 +98,7 @@ LavaridgeTown_Gym_1F_EventScript_1FE7C1:: @ 81FE7C1
LavaridgeTown_Gym_1F_EventScript_1FE81D:: @ 81FE81D
giveitem_std ITEM_TM50
compare VAR_RESULT, 0
goto_eq LavaridgeTown_Gym_1F_EventScript_272054
goto_if_eq LavaridgeTown_Gym_1F_EventScript_272054
msgbox LavaridgeTown_Gym_1F_Text_1FF45C, MSGBOX_DEFAULT
setflag FLAG_0x0A8
release
@@ -108,7 +107,7 @@ LavaridgeTown_Gym_1F_EventScript_1FE81D:: @ 81FE81D
LavaridgeTown_Gym_1F_EventScript_1FE841:: @ 81FE841
giveitem_std ITEM_TM50
compare VAR_RESULT, 0
goto_eq LavaridgeTown_Gym_1F_EventScript_27205E
goto_if_eq LavaridgeTown_Gym_1F_EventScript_27205E
msgbox LavaridgeTown_Gym_1F_Text_1FF45C, MSGBOX_DEFAULT
setflag FLAG_0x0A8
return
@@ -129,7 +128,7 @@ LavaridgeTown_Gym_B1F_EventScript_1FE89A:: @ 81FE89A
release
special ShouldTryGetTrainerScript
compare VAR_RESULT, 1
goto_eq EventScript_GotoTrainerScript
goto_if_eq EventScript_GotoTrainerScript
end
LavaridgeTown_Gym_1F_EventScript_1FE8AF:: @ 81FE8AF
@@ -170,8 +169,7 @@ LavaridgeTown_Gym_B1F_EventScript_1FE951:: @ 81FE951
LavaridgeTown_Gym_1F_EventScript_1FE96C:: @ 81FE96C
lock
faceplayer
checkflag FLAG_0x4F3
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE981
goto_if_set FLAG_0x4F3, LavaridgeTown_Gym_1F_EventScript_1FE981
msgbox LavaridgeTown_Gym_1F_Text_1FE9BF, MSGBOX_DEFAULT
release
end
@@ -183,15 +181,13 @@ LavaridgeTown_Gym_1F_EventScript_1FE981:: @ 81FE981
LavaridgeTown_Gym_1F_EventScript_1FE98B:: @ 81FE98B
lockall
checkflag FLAG_BADGE04_GET
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE9AB
goto_if_set FLAG_BADGE04_GET, LavaridgeTown_Gym_1F_EventScript_1FE9AB
goto LavaridgeTown_Gym_1F_EventScript_1FE9B5
end
LavaridgeTown_Gym_1F_EventScript_1FE99B:: @ 81FE99B
lockall
checkflag FLAG_BADGE04_GET
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE9AB
goto_if_set FLAG_BADGE04_GET, LavaridgeTown_Gym_1F_EventScript_1FE9AB
goto LavaridgeTown_Gym_1F_EventScript_1FE9B5
end

View File

@@ -13,22 +13,22 @@ LavaridgeTown_Gym_B1F_EventScript_1FF88F:: @ 81FF88F
setvar VAR_TEMP_9, 0
setvar VAR_TEMP_A, 0
checktrainerflag TRAINER_KEEGAN
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8B1
goto_if_eq LavaridgeTown_Gym_B1F_EventScript_1FF8B1
setvar VAR_TEMP_7, 1
LavaridgeTown_Gym_B1F_EventScript_1FF8B1:: @ 81FF8B1
checktrainerflag TRAINER_JACE
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8BF
goto_if_eq LavaridgeTown_Gym_B1F_EventScript_1FF8BF
setvar VAR_TEMP_8, 1
LavaridgeTown_Gym_B1F_EventScript_1FF8BF:: @ 81FF8BF
checktrainerflag TRAINER_JEFF
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8CD
goto_if_eq LavaridgeTown_Gym_B1F_EventScript_1FF8CD
setvar VAR_TEMP_9, 1
LavaridgeTown_Gym_B1F_EventScript_1FF8CD:: @ 81FF8CD
checktrainerflag TRAINER_ELI
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8DB
goto_if_eq LavaridgeTown_Gym_B1F_EventScript_1FF8DB
setvar VAR_TEMP_A, 1
LavaridgeTown_Gym_B1F_EventScript_1FF8DB:: @ 81FF8DB
@@ -36,22 +36,22 @@ LavaridgeTown_Gym_B1F_EventScript_1FF8DB:: @ 81FF8DB
LavaridgeTown_Gym_B1F_EventScript_1FF8DC:: @ 81FF8DC
checktrainerflag TRAINER_KEEGAN
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8E9
goto_if_eq LavaridgeTown_Gym_B1F_EventScript_1FF8E9
setobjectmovementtype 2, 63
LavaridgeTown_Gym_B1F_EventScript_1FF8E9:: @ 81FF8E9
checktrainerflag TRAINER_JACE
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8F6
goto_if_eq LavaridgeTown_Gym_B1F_EventScript_1FF8F6
setobjectmovementtype 1, 63
LavaridgeTown_Gym_B1F_EventScript_1FF8F6:: @ 81FF8F6
checktrainerflag TRAINER_JEFF
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF903
goto_if_eq LavaridgeTown_Gym_B1F_EventScript_1FF903
setobjectmovementtype 3, 63
LavaridgeTown_Gym_B1F_EventScript_1FF903:: @ 81FF903
checktrainerflag TRAINER_ELI
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF910
goto_if_eq LavaridgeTown_Gym_B1F_EventScript_1FF910
setobjectmovementtype 4, 63
LavaridgeTown_Gym_B1F_EventScript_1FF910:: @ 81FF910

View File

@@ -28,12 +28,11 @@ LavaridgeTown_HerbShop_EventScript_1FE4FC:: @ 81FE4FC
LavaridgeTown_HerbShop_EventScript_1FE505:: @ 81FE505
lock
faceplayer
checkflag FLAG_0x0FE
goto_eq LavaridgeTown_HerbShop_EventScript_1FE534
goto_if_set FLAG_0x0FE, LavaridgeTown_HerbShop_EventScript_1FE534
msgbox LavaridgeTown_HerbShop_Text_1FE584, MSGBOX_DEFAULT
giveitem_std ITEM_CHARCOAL
compare VAR_RESULT, 0
goto_eq LavaridgeTown_HerbShop_EventScript_272054
goto_if_eq LavaridgeTown_HerbShop_EventScript_272054
setflag FLAG_0x0FE
release
end

View File

@@ -36,14 +36,13 @@ LilycoveCity_EventScript_1E2BD8:: @ 81E2BD8
lock
faceplayer
dodailyevents
checkflag FLAG_0x92F
goto_eq LilycoveCity_EventScript_1E2C18
goto_if_set FLAG_0x92F, LilycoveCity_EventScript_1E2C18
msgbox LilycoveCity_Text_2A7244, MSGBOX_DEFAULT
random 10
addvar VAR_RESULT, 133
giveitem_std VAR_RESULT
compare VAR_RESULT, 0
goto_eq LilycoveCity_EventScript_272054
goto_if_eq LilycoveCity_EventScript_272054
setflag FLAG_0x92F
msgbox LilycoveCity_Text_2A72E3, MSGBOX_DEFAULT
release
@@ -61,8 +60,7 @@ LilycoveCity_EventScript_1E2C22:: @ 81E2C22
LilycoveCity_EventScript_1E2C2B:: @ 81E2C2B
lock
faceplayer
checkflag FLAG_BADGE07_GET
goto_eq LilycoveCity_EventScript_1E2C40
goto_if_set FLAG_BADGE07_GET, LilycoveCity_EventScript_1E2C40
msgbox LilycoveCity_Text_1E3E3C, MSGBOX_DEFAULT
release
end
@@ -79,8 +77,7 @@ LilycoveCity_EventScript_1E2C4A:: @ 81E2C4A
LilycoveCity_EventScript_1E2C53:: @ 81E2C53
lock
faceplayer
checkflag FLAG_0x070
goto_eq LilycoveCity_EventScript_1E2C68
goto_if_set FLAG_0x070, LilycoveCity_EventScript_1E2C68
msgbox LilycoveCity_Text_1E3FAB, MSGBOX_DEFAULT
release
end
@@ -93,8 +90,7 @@ LilycoveCity_EventScript_1E2C68:: @ 81E2C68
LilycoveCity_EventScript_1E2C72:: @ 81E2C72
lock
faceplayer
checkflag FLAG_0x070
goto_eq LilycoveCity_EventScript_1E2C87
goto_if_set FLAG_0x070, LilycoveCity_EventScript_1E2C87
msgbox LilycoveCity_Text_1E40AD, MSGBOX_DEFAULT
release
end
@@ -119,8 +115,7 @@ LilycoveCity_EventScript_1E2CA3:: @ 81E2CA3
LilycoveCity_EventScript_1E2CAC:: @ 81E2CAC
lock
faceplayer
checkflag FLAG_BADGE07_GET
goto_eq LilycoveCity_EventScript_1E2CC1
goto_if_set FLAG_BADGE07_GET, LilycoveCity_EventScript_1E2CC1
msgbox LilycoveCity_Text_1E42FC, MSGBOX_DEFAULT
release
end
@@ -178,8 +173,7 @@ LilycoveCity_EventScript_1E2D3A:: @ 81E2D3A
LilycoveCity_EventScript_1E2D44:: @ 81E2D44
lockall
checkflag FLAG_SYS_GAME_CLEAR
goto_eq LilycoveCity_EventScript_1E2D58
goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_EventScript_1E2D58
msgbox LilycoveCity_Text_1E45A7, MSGBOX_DEFAULT
releaseall
end
@@ -203,8 +197,7 @@ LilycoveCity_EventScript_1E2D74:: @ 81E2D74
LilycoveCity_EventScript_1E2D7D:: @ 81E2D7D
lockall
checkflag FLAG_0x0DA
goto_eq LilycoveCity_EventScript_1E2DB0
goto_if_set FLAG_0x0DA, LilycoveCity_EventScript_1E2DB0
msgbox LilycoveCity_Text_1E3D1F, MSGBOX_DEFAULT
applymovement VAR_LAST_TALKED, LilycoveCity_Movement_27259E
waitmovement 0
@@ -241,9 +234,9 @@ LilycoveCity_EventScript_1E2DDE:: @ 81E2DDE
faceplayer
checkplayergender
compare VAR_RESULT, 0
goto_eq LilycoveCity_EventScript_1E2DF8
goto_if_eq LilycoveCity_EventScript_1E2DF8
compare VAR_RESULT, 1
goto_eq LilycoveCity_EventScript_1E2E6B
goto_if_eq LilycoveCity_EventScript_1E2E6B
end
LilycoveCity_EventScript_1E2DF8:: @ 81E2DF8
@@ -253,7 +246,7 @@ LilycoveCity_EventScript_1E2DF8:: @ 81E2DF8
checkflag FLAG_0x11E
call_if 0, LilycoveCity_EventScript_1E2E51
compare VAR_RESULT, 0
goto_eq LilycoveCity_EventScript_1E2E5A
goto_if_eq LilycoveCity_EventScript_1E2E5A
msgbox LilycoveCity_Text_1E3234, MSGBOX_DEFAULT
switch VAR_STARTER_MON
case 0, LilycoveCity_EventScript_1E2EDE
@@ -284,7 +277,7 @@ LilycoveCity_EventScript_1E2E6B:: @ 81E2E6B
checkflag FLAG_0x11E
call_if 0, LilycoveCity_EventScript_1E2EC4
compare VAR_RESULT, 0
goto_eq LilycoveCity_EventScript_1E2ECD
goto_if_eq LilycoveCity_EventScript_1E2ECD
msgbox LilycoveCity_Text_1E373C, MSGBOX_DEFAULT
switch VAR_STARTER_MON
case 0, LilycoveCity_EventScript_1E2F0E
@@ -353,8 +346,7 @@ LilycoveCity_EventScript_1E2F3E:: @ 81E2F3E
end
LilycoveCity_EventScript_1E2F76:: @ 81E2F76
checkflag FLAG_BADGE08_GET
goto_eq LilycoveCity_EventScript_1E2F80
goto_if_set FLAG_BADGE08_GET, LilycoveCity_EventScript_1E2F80
return
LilycoveCity_EventScript_1E2F80:: @ 81E2F80
@@ -366,8 +358,7 @@ LilycoveCity_EventScript_1E2F86:: @ 81E2F86
return
LilycoveCity_EventScript_1E2F8F:: @ 81E2F8F
checkflag FLAG_SYS_GAME_CLEAR
goto_eq LilycoveCity_EventScript_1E2FA1
goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_EventScript_1E2FA1
msgbox LilycoveCity_Text_1E346D, MSGBOX_DEFAULT
return
@@ -394,8 +385,7 @@ LilycoveCity_EventScript_1E2FE2:: @ 81E2FE2
return
LilycoveCity_EventScript_1E2FEB:: @ 81E2FEB
checkflag FLAG_SYS_GAME_CLEAR
goto_eq LilycoveCity_EventScript_1E2FFD
goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_EventScript_1E2FFD
msgbox LilycoveCity_Text_1E390C, MSGBOX_DEFAULT
return

View File

@@ -11,7 +11,7 @@ LilycoveCity_ContestLobby_MapScript1_21A21C: @ 821A21C
LilycoveCity_ContestLobby_EventScript_21A227:: @ 821A227
getpricereduction 4
compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A23C
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A23C
clearflag FLAG_HIDE_LILYCOVE_CONTEST_HALL_POKEBLOCK_EXPERT
setflag FLAG_HIDE_LILYCOVE_CONTEST_HALL_BLEND_MASTER_ONLOOKERS
return
@@ -27,8 +27,7 @@ LilycoveCity_ContestLobby_MapScript2_21A243: @ 821A243
.2byte 0
LilycoveCity_ContestLobby_EventScript_21A255:: @ 821A255
checkflag FLAG_HIDE_LILYCOVE_MUSEUM_CURATOR
goto_eq LilycoveCity_ContestLobby_EventScript_21A264
goto_if_set FLAG_HIDE_LILYCOVE_MUSEUM_CURATOR, LilycoveCity_ContestLobby_EventScript_21A264
setvar VAR_0x4099, 0
end
@@ -46,9 +45,9 @@ LilycoveCity_ContestLobby_EventScript_21A264:: @ 821A264
lockall
msgbox LilycoveCity_ContestLobby_Text_21AE78, MSGBOX_YESNO
compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A2AA
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A2AA
compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_21A2E4
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A2E4
releaseall
end
@@ -71,7 +70,7 @@ LilycoveCity_ContestLobby_EventScript_21A2AA:: @ 821A2AA
LilycoveCity_ContestLobby_EventScript_21A2E4:: @ 821A2E4
msgbox LilycoveCity_ContestLobby_Text_21B0BC, MSGBOX_YESNO
compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A2AA
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A2AA
msgbox LilycoveCity_ContestLobby_Text_21B132, MSGBOX_DEFAULT
closemessage
applymovement 4, LilycoveCity_ContestLobby_Movement_21A40F
@@ -202,8 +201,7 @@ LilycoveCity_ContestLobby_Movement_21A41E: @ 821A41E
step_end
LilycoveCity_ContestLobby_EventScript_21A427:: @ 821A427
checkflag FLAG_HIDE_LILYCOVE_MUSEUM_CURATOR
goto_eq LilycoveCity_ContestLobby_EventScript_21A436
goto_if_set FLAG_HIDE_LILYCOVE_MUSEUM_CURATOR, LilycoveCity_ContestLobby_EventScript_21A436
setvar VAR_0x4099, 0
end
@@ -220,9 +218,9 @@ LilycoveCity_ContestLobby_EventScript_21A436:: @ 821A436
drawcontestwinner 0
msgbox LilycoveCity_ContestLobby_Text_21AE78, MSGBOX_YESNO
compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A47A
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A47A
compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_21A4B4
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A4B4
end
LilycoveCity_ContestLobby_EventScript_21A47A:: @ 821A47A
@@ -244,7 +242,7 @@ LilycoveCity_ContestLobby_EventScript_21A47A:: @ 821A47A
LilycoveCity_ContestLobby_EventScript_21A4B4:: @ 821A4B4
msgbox LilycoveCity_ContestLobby_Text_21B0BC, MSGBOX_YESNO
compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A47A
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A47A
msgbox LilycoveCity_ContestLobby_Text_21B132, MSGBOX_DEFAULT
closemessage
applymovement 11, LilycoveCity_ContestLobby_Movement_21A53C
@@ -321,7 +319,7 @@ LilycoveCity_ContestLobby_EventScript_21A554:: @ 821A554
special sub_80F9154
specialvar VAR_RESULT, sub_80F8D24
compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A5CF
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A5CF
call LilycoveCity_ContestLobby_EventScript_279CC5
call LilycoveCity_ContestLobby_EventScript_21A670
special SetContestTrainerGfxIds
@@ -643,10 +641,10 @@ LilycoveCity_ContestLobby_EventScript_21A819:: @ 821A819
LilycoveCity_ContestLobby_EventScript_21A856:: @ 821A856
msgbox LilycoveCity_ContestLobby_Text_27BD17, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_21A97F
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A97F
call LilycoveCity_ContestLobby_EventScript_27134F
compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_21A97F
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A97F
message LilycoveCity_ContestLobby_Text_27C8FD
waitmessage
specialvar VAR_TEMP_D, IsWirelessAdapterConnected
@@ -666,7 +664,7 @@ LilycoveCity_ContestLobby_EventScript_21A8BB:: @ 821A8BB
LilycoveCity_ContestLobby_EventScript_21A8C6:: @ 821A8C6
setvar VAR_TEMP_C, 1
compare VAR_TEMP_D, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21AAFC
goto_if_eq LilycoveCity_ContestLobby_EventScript_21AAFC
goto LilycoveCity_ContestLobby_EventScript_21A8DC
end
@@ -719,18 +717,18 @@ LilycoveCity_ContestLobby_EventScript_21A98C:: @ 821A98C
setvar VAR_CONTEST_RANK, 0
choosecontestmon
compare VAR_0x8004, 255
goto_eq LilycoveCity_ContestLobby_EventScript_21A97F
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A97F
special sub_80F7F30
compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_21A9E0
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A9E0
compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21AA0A
goto_if_eq LilycoveCity_ContestLobby_EventScript_21AA0A
compare VAR_RESULT, 2
goto_eq LilycoveCity_ContestLobby_EventScript_21AA0A
goto_if_eq LilycoveCity_ContestLobby_EventScript_21AA0A
compare VAR_RESULT, 3
goto_eq LilycoveCity_ContestLobby_EventScript_21A9EE
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A9EE
compare VAR_RESULT, 4
goto_eq LilycoveCity_ContestLobby_EventScript_21A9FC
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A9FC
end
LilycoveCity_ContestLobby_EventScript_21A9E0:: @ 821A9E0
@@ -755,9 +753,9 @@ LilycoveCity_ContestLobby_EventScript_21AA0A:: @ 821AA0A
LilycoveCity_ContestLobby_EventScript_21AA15:: @ 821AA15
compare VAR_TEMP_D, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21AB4B
goto_if_eq LilycoveCity_ContestLobby_EventScript_21AB4B
compare VAR_TEMP_D, 2
goto_if 4, LilycoveCity_ContestLobby_EventScript_21A97F
goto_if_ge LilycoveCity_ContestLobby_EventScript_21A97F
message LilycoveCity_ContestLobby_Text_27BF85
waitmessage
copyvar VAR_0x8004, VAR_RESULT
@@ -766,17 +764,17 @@ LilycoveCity_ContestLobby_EventScript_21AA15:: @ 821AA15
compare VAR_TEMP_C, 1
call_if 1, LilycoveCity_ContestLobby_EventScript_21AAC0
compare VAR_TEMP_C, 2
goto_if 4, LilycoveCity_ContestLobby_EventScript_21A97F
goto_if_ge LilycoveCity_ContestLobby_EventScript_21A97F
compare VAR_RESULT, 4
goto_eq LilycoveCity_ContestLobby_EventScript_21AAD3
goto_if_eq LilycoveCity_ContestLobby_EventScript_21AAD3
compare VAR_RESULT, 3
goto_eq LilycoveCity_ContestLobby_EventScript_21AAD3
goto_if_eq LilycoveCity_ContestLobby_EventScript_21AAD3
compare VAR_RESULT, 5
goto_eq LilycoveCity_ContestLobby_EventScript_21A97F
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A97F
compare VAR_RESULT, 6
goto_eq LilycoveCity_ContestLobby_EventScript_21AAEF
goto_if_eq LilycoveCity_ContestLobby_EventScript_21AAEF
compare VAR_RESULT, 10
goto_eq LilycoveCity_ContestLobby_EventScript_21AAE1
goto_if_eq LilycoveCity_ContestLobby_EventScript_21AAE1
message3 LilycoveCity_ContestLobby_Text_27BEEC
contestlinktransfer
switch VAR_0x8004
@@ -890,22 +888,22 @@ LilycoveCity_ContestLobby_EventScript_21ABA6:: @ 821ABA6
LilycoveCity_ContestLobby_EventScript_21ABE3:: @ 821ABE3
call LilycoveCity_ContestLobby_EventScript_21AC33
compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21AC3D
goto_if_eq LilycoveCity_ContestLobby_EventScript_21AC3D
compare VAR_RESULT, 5
goto_eq LilycoveCity_ContestLobby_EventScript_21ABA6
goto_if_eq LilycoveCity_ContestLobby_EventScript_21ABA6
compare VAR_RESULT, 8
goto_eq LilycoveCity_ContestLobby_EventScript_21ABE3
goto_if_eq LilycoveCity_ContestLobby_EventScript_21ABE3
release
end
LilycoveCity_ContestLobby_EventScript_21AC0B:: @ 821AC0B
call LilycoveCity_ContestLobby_EventScript_21AC38
compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21AC3D
goto_if_eq LilycoveCity_ContestLobby_EventScript_21AC3D
compare VAR_RESULT, 5
goto_eq LilycoveCity_ContestLobby_EventScript_21ABA6
goto_if_eq LilycoveCity_ContestLobby_EventScript_21ABA6
compare VAR_RESULT, 8
goto_eq LilycoveCity_ContestLobby_EventScript_21AC0B
goto_if_eq LilycoveCity_ContestLobby_EventScript_21AC0B
release
end
@@ -1006,8 +1004,7 @@ LilycoveCity_ContestLobby_Movement_21ACEF: @ 821ACEF
LilycoveCity_ContestLobby_EventScript_21ACF1:: @ 821ACF1
lock
faceplayer
checkflag FLAG_0x05F
goto_eq LilycoveCity_ContestLobby_EventScript_21AD06
goto_if_set FLAG_0x05F, LilycoveCity_ContestLobby_EventScript_21AD06
msgbox LilycoveCity_ContestLobby_Text_21AD10, MSGBOX_DEFAULT
release
end

View File

@@ -3,10 +3,8 @@ LilycoveCity_CoveLilyMotel_1F_MapScripts:: @ 8218188
LilycoveCity_CoveLilyMotel_1F_EventScript_218189:: @ 8218189
lockall
checkflag FLAG_SYS_GAME_CLEAR
goto_eq LilycoveCity_CoveLilyMotel_1F_EventScript_2181EA
checkflag FLAG_BADGE07_GET
goto_eq LilycoveCity_CoveLilyMotel_1F_EventScript_2181C3
goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_CoveLilyMotel_1F_EventScript_2181EA
goto_if_set FLAG_BADGE07_GET, LilycoveCity_CoveLilyMotel_1F_EventScript_2181C3
msgbox LilycoveCity_CoveLilyMotel_1F_Text_218264, MSGBOX_DEFAULT
applymovement 1, LilycoveCity_CoveLilyMotel_1F_Movement_27259E
waitmovement 0

View File

@@ -10,7 +10,7 @@ LilycoveCity_CoveLilyMotel_2F_EventScript_2186D3:: @ 82186D3
call_if 1, LilycoveCity_CoveLilyMotel_2F_EventScript_21870F
specialvar VAR_RESULT, sub_80C08E4
compare VAR_RESULT, 1
goto_eq LilycoveCity_CoveLilyMotel_2F_EventScript_218702
goto_if_eq LilycoveCity_CoveLilyMotel_2F_EventScript_218702
release
end
@@ -57,8 +57,7 @@ LilycoveCity_CoveLilyMotel_2F_EventScript_218744:: @ 8218744
LilycoveCity_CoveLilyMotel_2F_EventScript_21874D:: @ 821874D
lock
faceplayer
checkflag FLAG_0x1CE
goto_eq LilycoveCity_CoveLilyMotel_2F_EventScript_21876A
goto_if_set FLAG_0x1CE, LilycoveCity_CoveLilyMotel_2F_EventScript_21876A
msgbox LilycoveCity_CoveLilyMotel_2F_Text_218ACF, MSGBOX_DEFAULT
addvar VAR_0x40D1, 1
setflag FLAG_0x1CE

View File

@@ -61,7 +61,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_220718:: @ 8220718
setvar VAR_0x8006, 4
setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_1F, 255, 2, 1
compare VAR_DEPT_STORE_FLOOR, 4
goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
setvar VAR_DEPT_STORE_FLOOR, 4
goto LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
@@ -71,7 +71,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_220740:: @ 8220740
setvar VAR_0x8006, 5
setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_2F, 255, 2, 1
compare VAR_DEPT_STORE_FLOOR, 5
goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
setvar VAR_DEPT_STORE_FLOOR, 5
goto LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
@@ -81,7 +81,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_220768:: @ 8220768
setvar VAR_0x8006, 6
setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_3F, 255, 2, 1
compare VAR_DEPT_STORE_FLOOR, 6
goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
setvar VAR_DEPT_STORE_FLOOR, 6
goto LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
@@ -91,7 +91,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_220790:: @ 8220790
setvar VAR_0x8006, 7
setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_4F, 255, 2, 1
compare VAR_DEPT_STORE_FLOOR, 7
goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
setvar VAR_DEPT_STORE_FLOOR, 7
goto LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
@@ -101,7 +101,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_2207B8:: @ 82207B8
setvar VAR_0x8006, 8
setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_5F, 255, 2, 1
compare VAR_DEPT_STORE_FLOOR, 8
goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
setvar VAR_DEPT_STORE_FLOOR, 8
goto LilycoveCity_DepartmentStoreElevator_EventScript_2207E0

View File

@@ -133,10 +133,10 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_22032F:: @ 822032F
compare VAR_TEMP_1, 2
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220313
compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220442
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220442
checkitemspace VAR_TEMP_0, 1
compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450
compare VAR_TEMP_1, 0
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_22031A
compare VAR_TEMP_1, 1
@@ -154,10 +154,10 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_22032F:: @ 822032F
msgbox gUnknown_08272A9A, MSGBOX_DEFAULT
random 64
compare VAR_RESULT, 0
goto_if 5, LilycoveCity_DepartmentStoreRooftop_EventScript_220436
goto_if_ne LilycoveCity_DepartmentStoreRooftop_EventScript_220436
checkitemspace VAR_TEMP_0, 1
compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450
playse SE_JIHANKI
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2205C2, MSGBOX_DEFAULT
giveitem VAR_TEMP_0, 1
@@ -166,10 +166,10 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_22032F:: @ 822032F
msgbox gUnknown_08272A9A, MSGBOX_DEFAULT
random 64
compare VAR_RESULT, 0
goto_if 5, LilycoveCity_DepartmentStoreRooftop_EventScript_220436
goto_if_ne LilycoveCity_DepartmentStoreRooftop_EventScript_220436
checkitemspace VAR_TEMP_0, 1
compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450
playse SE_JIHANKI
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2205C2, MSGBOX_DEFAULT
giveitem VAR_TEMP_0, 1

View File

@@ -10,12 +10,11 @@ LilycoveCity_DepartmentStore_1F_EventScript_21F69C:: @ 821F69C
faceplayer
dodailyevents
compare VAR_POKELOT_PRIZE, 0
goto_if 5, LilycoveCity_DepartmentStore_1F_EventScript_21F7F7
checkflag FLAG_0x92A
goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F78D
goto_if_ne LilycoveCity_DepartmentStore_1F_EventScript_21F7F7
goto_if_set FLAG_0x92A, LilycoveCity_DepartmentStore_1F_EventScript_21F78D
msgbox LilycoveCity_DepartmentStore_1F_Text_2A6390, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F797
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F797
setflag FLAG_0x92A
message LilycoveCity_DepartmentStore_1F_Text_2A64C8
waitmessage
@@ -34,7 +33,7 @@ LilycoveCity_DepartmentStore_1F_EventScript_21F69C:: @ 821F69C
applymovement 2, LilycoveCity_DepartmentStore_1F_Movement_27259E
waitmovement 0
compare VAR_0x8004, 0
goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7A1
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7A1
incrementgamestat 46
compare VAR_0x8006, 0
call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F77B
@@ -51,7 +50,7 @@ LilycoveCity_DepartmentStore_1F_EventScript_21F69C:: @ 821F69C
call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F7D4
giveitem_std VAR_0x8005
compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7DD
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7DD
special sub_80EE2CC
goto LilycoveCity_DepartmentStore_1F_EventScript_21F7AF
end
@@ -115,7 +114,7 @@ LilycoveCity_DepartmentStore_1F_EventScript_21F7F7:: @ 821F7F7
msgbox LilycoveCity_DepartmentStore_1F_Text_2A67E1, MSGBOX_DEFAULT
giveitem_std VAR_POKELOT_PRIZE
compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7ED
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7ED
copyvar VAR_0x8004, VAR_0x404D
copyvar VAR_0x8005, VAR_POKELOT_PRIZE
special sub_80EE2CC

View File

@@ -126,9 +126,9 @@ LilycoveCity_DepartmentStore_5F_EventScript_220075:: @ 8220075
applymovement 7, LilycoveCity_DepartmentStore_5F_Movement_27259E
waitmovement 0
compare VAR_0x405E, 0
goto_eq LilycoveCity_DepartmentStore_5F_EventScript_22009C
goto_if_eq LilycoveCity_DepartmentStore_5F_EventScript_22009C
compare VAR_0x405E, 4
goto_if 4, LilycoveCity_DepartmentStore_5F_EventScript_22009C
goto_if_ge LilycoveCity_DepartmentStore_5F_EventScript_22009C
goto LilycoveCity_DepartmentStore_5F_EventScript_2200A7
end

View File

@@ -9,8 +9,7 @@ LilycoveCity_Harbor_MapScript1_21E006: @ 821E006
LilycoveCity_Harbor_EventScript_21E00F:: @ 821E00F
lock
faceplayer
checkflag FLAG_SYS_GAME_CLEAR
goto_if 0, LilycoveCity_Harbor_EventScript_21E54D
goto_if_unset FLAG_SYS_GAME_CLEAR, LilycoveCity_Harbor_EventScript_21E54D
call LilycoveCity_Harbor_EventScript_21E194
call LilycoveCity_Harbor_EventScript_21E1C6
call LilycoveCity_Harbor_EventScript_21E1F8
@@ -18,23 +17,23 @@ LilycoveCity_Harbor_EventScript_21E00F:: @ 821E00F
call LilycoveCity_Harbor_EventScript_21E25C
call LilycoveCity_Harbor_EventScript_21E2A6
compare VAR_TEMP_C, 2
goto_eq LilycoveCity_Harbor_EventScript_21E350
goto_if_eq LilycoveCity_Harbor_EventScript_21E350
compare VAR_TEMP_B, 1
goto_eq LilycoveCity_Harbor_EventScript_21E2F0
goto_if_eq LilycoveCity_Harbor_EventScript_21E2F0
compare VAR_TEMP_B, 2
goto_eq LilycoveCity_Harbor_EventScript_21E320
goto_if_eq LilycoveCity_Harbor_EventScript_21E320
compare VAR_TEMP_B, 4
goto_eq LilycoveCity_Harbor_EventScript_21E350
goto_if_eq LilycoveCity_Harbor_EventScript_21E350
compare VAR_TEMP_B, 8
goto_eq LilycoveCity_Harbor_EventScript_21E41D
goto_if_eq LilycoveCity_Harbor_EventScript_21E41D
compare VAR_TEMP_B, 0
goto_if 5, LilycoveCity_Harbor_EventScript_21E44D
goto_if_ne LilycoveCity_Harbor_EventScript_21E44D
goto LilycoveCity_Harbor_EventScript_21E080
end
LilycoveCity_Harbor_EventScript_21E080:: @ 821E080
compare VAR_TEMP_A, 0
goto_eq LilycoveCity_Harbor_EventScript_21E557
goto_if_eq LilycoveCity_Harbor_EventScript_21E557
msgbox LilycoveCity_Harbor_Text_21E758, MSGBOX_DEFAULT
message LilycoveCity_Harbor_Text_21E7ED
waitmessage
@@ -88,7 +87,7 @@ LilycoveCity_Harbor_EventScript_21E139:: @ 821E139
LilycoveCity_Harbor_EventScript_21E149:: @ 821E149
msgbox LilycoveCity_Harbor_Text_21E864, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_21E5C0
goto_if_eq LilycoveCity_Harbor_EventScript_21E5C0
setvar VAR_PORTHOLE_STATE, 5
call LilycoveCity_Harbor_EventScript_21E5CC
warp MAP_SS_TIDAL_CORRIDOR, 255, 1, 10
@@ -99,7 +98,7 @@ LilycoveCity_Harbor_EventScript_21E149:: @ 821E149
LilycoveCity_Harbor_EventScript_21E171:: @ 821E171
msgbox LilycoveCity_Harbor_Text_21E880, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_21E5C0
goto_if_eq LilycoveCity_Harbor_EventScript_21E5C0
call LilycoveCity_Harbor_EventScript_21E5CC
warp MAP_BATTLE_FRONTIER_OUTSIDE_WEST, 255, 19, 67
waitstate
@@ -108,53 +107,45 @@ LilycoveCity_Harbor_EventScript_21E171:: @ 821E171
LilycoveCity_Harbor_EventScript_21E194:: @ 821E194
setvar VAR_TEMP_E, 0
checkflag FLAG_SYS_HAS_EON_TICKET
goto_if 0, LilycoveCity_Harbor_EventScript_27374E
goto_if_unset FLAG_SYS_HAS_EON_TICKET, LilycoveCity_Harbor_EventScript_27374E
checkitem ITEM_EON_TICKET, 1
compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_27374E
goto_if_eq LilycoveCity_Harbor_EventScript_27374E
setvar VAR_TEMP_E, 1
checkflag FLAG_0x1AE
goto_eq LilycoveCity_Harbor_EventScript_27374E
goto_if_set FLAG_0x1AE, LilycoveCity_Harbor_EventScript_27374E
setvar VAR_TEMP_E, 2
return
LilycoveCity_Harbor_EventScript_21E1C6:: @ 821E1C6
setvar VAR_TEMP_D, 0
checkflag FLAG_0x8D5
goto_if 0, LilycoveCity_Harbor_EventScript_27374E
goto_if_unset FLAG_0x8D5, LilycoveCity_Harbor_EventScript_27374E
checkitem ITEM_AURORA_TICKET, 1
compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_27374E
goto_if_eq LilycoveCity_Harbor_EventScript_27374E
setvar VAR_TEMP_D, 1
checkflag FLAG_0x1AF
goto_eq LilycoveCity_Harbor_EventScript_27374E
goto_if_set FLAG_0x1AF, LilycoveCity_Harbor_EventScript_27374E
setvar VAR_TEMP_D, 2
return
LilycoveCity_Harbor_EventScript_21E1F8:: @ 821E1F8
setvar VAR_TEMP_C, 0
checkflag FLAG_0x8D6
goto_if 0, LilycoveCity_Harbor_EventScript_27374E
goto_if_unset FLAG_0x8D6, LilycoveCity_Harbor_EventScript_27374E
checkitem ITEM_OLD_SEA_MAP, 1
compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_27374E
goto_if_eq LilycoveCity_Harbor_EventScript_27374E
setvar VAR_TEMP_C, 1
checkflag FLAG_0x1B0
goto_eq LilycoveCity_Harbor_EventScript_27374E
goto_if_set FLAG_0x1B0, LilycoveCity_Harbor_EventScript_27374E
setvar VAR_TEMP_C, 2
return
LilycoveCity_Harbor_EventScript_21E22A:: @ 821E22A
setvar VAR_TEMP_9, 0
checkflag FLAG_0x8E0
goto_if 0, LilycoveCity_Harbor_EventScript_27374E
goto_if_unset FLAG_0x8E0, LilycoveCity_Harbor_EventScript_27374E
checkitem ITEM_MYSTIC_TICKET, 1
compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_27374E
goto_if_eq LilycoveCity_Harbor_EventScript_27374E
setvar VAR_TEMP_9, 1
checkflag FLAG_0x1DB
goto_eq LilycoveCity_Harbor_EventScript_27374E
goto_if_set FLAG_0x1DB, LilycoveCity_Harbor_EventScript_27374E
setvar VAR_TEMP_9, 2
return
@@ -397,7 +388,7 @@ LilycoveCity_Harbor_EventScript_21E56B:: @ 821E56B
LilycoveCity_Harbor_EventScript_21E575:: @ 821E575
msgbox LilycoveCity_Harbor_Text_21E864, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_21E5C0
goto_if_eq LilycoveCity_Harbor_EventScript_21E5C0
setvar VAR_PORTHOLE_STATE, 5
call LilycoveCity_Harbor_EventScript_21E5CC
warp MAP_SS_TIDAL_CORRIDOR, 255, 1, 10
@@ -408,7 +399,7 @@ LilycoveCity_Harbor_EventScript_21E575:: @ 821E575
LilycoveCity_Harbor_EventScript_21E59D:: @ 821E59D
msgbox LilycoveCity_Harbor_Text_21E880, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_21E5C0
goto_if_eq LilycoveCity_Harbor_EventScript_21E5C0
call LilycoveCity_Harbor_EventScript_21E5CC
warp MAP_BATTLE_FRONTIER_OUTSIDE_WEST, 255, 19, 67
waitstate
@@ -469,8 +460,7 @@ LilycoveCity_Harbor_Movement_21E635: @ 821E635
LilycoveCity_Harbor_EventScript_21E637:: @ 821E637
lock
faceplayer
checkflag FLAG_SYS_GAME_CLEAR
goto_eq LilycoveCity_Harbor_EventScript_21E64C
goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_Harbor_EventScript_21E64C
msgbox LilycoveCity_Harbor_Text_21E8EE, MSGBOX_DEFAULT
release
end

View File

@@ -4,12 +4,11 @@ LilycoveCity_House2_MapScripts:: @ 821ED74
LilycoveCity_House2_EventScript_21ED75:: @ 821ED75
lock
faceplayer
checkflag FLAG_0x0EA
goto_eq LilycoveCity_House2_EventScript_21EDAC
goto_if_set FLAG_0x0EA, LilycoveCity_House2_EventScript_21EDAC
msgbox LilycoveCity_House2_Text_21EDB6, MSGBOX_DEFAULT
giveitem_std ITEM_TM44
compare VAR_RESULT, 0
goto_eq LilycoveCity_House2_EventScript_272054
goto_if_eq LilycoveCity_House2_EventScript_272054
setflag FLAG_0x0EA
msgbox LilycoveCity_House2_Text_21EDF9, MSGBOX_DEFAULT
release

View File

@@ -12,7 +12,7 @@ LilycoveCity_House3_EventScript_21EE4B:: @ 821EE4B
faceplayer
msgbox LilycoveCity_House3_Text_21EF99, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq LilycoveCity_House3_EventScript_21EE75
goto_if_eq LilycoveCity_House3_EventScript_21EE75
msgbox LilycoveCity_House3_Text_21F0F8, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, LilycoveCity_House3_Movement_2725A2

View File

@@ -12,9 +12,9 @@ LilycoveCity_LilycoveMuseum_1F_EventScript_218CC2:: @ 8218CC2
waitmessage
multichoice 20, 8, 16, 1
compare VAR_RESULT, 0
goto_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218CF5
goto_if_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218CF5
compare VAR_RESULT, 1
goto_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218CEC
goto_if_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218CEC
end
LilycoveCity_LilycoveMuseum_1F_EventScript_218CEC:: @ 8218CEC
@@ -24,9 +24,9 @@ LilycoveCity_LilycoveMuseum_1F_EventScript_218CEC:: @ 8218CEC
LilycoveCity_LilycoveMuseum_1F_EventScript_218CF5:: @ 8218CF5
msgbox LilycoveCity_LilycoveMuseum_1F_Text_218F98, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218D14
goto_if_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218D14
compare VAR_RESULT, 1
goto_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218D1E
goto_if_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218D1E
end
LilycoveCity_LilycoveMuseum_1F_EventScript_218D14:: @ 8218D14

View File

@@ -4,32 +4,27 @@ LilycoveCity_LilycoveMuseum_2F_MapScripts:: @ 821973A
.byte 0
LilycoveCity_LilycoveMuseum_2F_MapScript1_219745: @ 8219745
checkflag FLAG_0x0A0
goto_eq LilycoveCity_LilycoveMuseum_2F_EventScript_21978B
goto_if_set FLAG_0x0A0, LilycoveCity_LilycoveMuseum_2F_EventScript_21978B
goto LilycoveCity_LilycoveMuseum_2F_EventScript_219754
end
LilycoveCity_LilycoveMuseum_2F_EventScript_219754:: @ 8219754
checkflag FLAG_0x0A1
goto_eq LilycoveCity_LilycoveMuseum_2F_EventScript_2197A3
goto_if_set FLAG_0x0A1, LilycoveCity_LilycoveMuseum_2F_EventScript_2197A3
goto LilycoveCity_LilycoveMuseum_2F_EventScript_219763
end
LilycoveCity_LilycoveMuseum_2F_EventScript_219763:: @ 8219763
checkflag FLAG_0x0A2
goto_eq LilycoveCity_LilycoveMuseum_2F_EventScript_2197BB
goto_if_set FLAG_0x0A2, LilycoveCity_LilycoveMuseum_2F_EventScript_2197BB
goto LilycoveCity_LilycoveMuseum_2F_EventScript_219772
end
LilycoveCity_LilycoveMuseum_2F_EventScript_219772:: @ 8219772
checkflag FLAG_0x0A3
goto_eq LilycoveCity_LilycoveMuseum_2F_EventScript_2197D3
goto_if_set FLAG_0x0A3, LilycoveCity_LilycoveMuseum_2F_EventScript_2197D3
goto LilycoveCity_LilycoveMuseum_2F_EventScript_219781
end
LilycoveCity_LilycoveMuseum_2F_EventScript_219781:: @ 8219781
checkflag FLAG_0x0A4
goto_eq LilycoveCity_LilycoveMuseum_2F_EventScript_2197EB
goto_if_set FLAG_0x0A4, LilycoveCity_LilycoveMuseum_2F_EventScript_2197EB
end
LilycoveCity_LilycoveMuseum_2F_EventScript_21978B:: @ 821978B
@@ -96,8 +91,7 @@ LilycoveCity_LilycoveMuseum_2F_Movement_219863: @ 8219863
LilycoveCity_LilycoveMuseum_2F_EventScript_219866:: @ 8219866
lockall
checkflag FLAG_0x0EC
goto_eq LilycoveCity_LilycoveMuseum_2F_EventScript_219921
goto_if_set FLAG_0x0EC, LilycoveCity_LilycoveMuseum_2F_EventScript_219921
specialvar VAR_0x8004, sub_80F8940
switch VAR_0x8004
case 1, LilycoveCity_LilycoveMuseum_2F_EventScript_2198BA
@@ -126,7 +120,7 @@ LilycoveCity_LilycoveMuseum_2F_EventScript_2198EA:: @ 82198EA
msgbox LilycoveCity_LilycoveMuseum_2F_Text_219EC5, MSGBOX_DEFAULT
givedecoration_std 44
compare VAR_RESULT, 0
goto_eq LilycoveCity_LilycoveMuseum_2F_EventScript_219911
goto_if_eq LilycoveCity_LilycoveMuseum_2F_EventScript_219911
setflag FLAG_0x0EC
closemessage
releaseall
@@ -146,36 +140,31 @@ LilycoveCity_LilycoveMuseum_2F_EventScript_219921:: @ 8219921
LilycoveCity_LilycoveMuseum_2F_EventScript_21992B:: @ 821992B
lockall
checkflag FLAG_0x0A2
goto_eq LilycoveCity_LilycoveMuseum_2F_EventScript_2199C1
goto_if_set FLAG_0x0A2, LilycoveCity_LilycoveMuseum_2F_EventScript_2199C1
msgbox LilycoveCity_LilycoveMuseum_2F_Text_219FA0, MSGBOX_SIGN
end
LilycoveCity_LilycoveMuseum_2F_EventScript_21993E:: @ 821993E
lockall
checkflag FLAG_0x0A4
goto_eq LilycoveCity_LilycoveMuseum_2F_EventScript_2199DD
goto_if_set FLAG_0x0A4, LilycoveCity_LilycoveMuseum_2F_EventScript_2199DD
msgbox LilycoveCity_LilycoveMuseum_2F_Text_219FD3, MSGBOX_SIGN
end
LilycoveCity_LilycoveMuseum_2F_EventScript_219951:: @ 8219951
lockall
checkflag FLAG_0x0A0
goto_eq LilycoveCity_LilycoveMuseum_2F_EventScript_2199A5
goto_if_set FLAG_0x0A0, LilycoveCity_LilycoveMuseum_2F_EventScript_2199A5
msgbox LilycoveCity_LilycoveMuseum_2F_Text_21A03B, MSGBOX_SIGN
end
LilycoveCity_LilycoveMuseum_2F_EventScript_219964:: @ 8219964
lockall
checkflag FLAG_0x0A1
goto_eq LilycoveCity_LilycoveMuseum_2F_EventScript_2199B3
goto_if_set FLAG_0x0A1, LilycoveCity_LilycoveMuseum_2F_EventScript_2199B3
msgbox LilycoveCity_LilycoveMuseum_2F_Text_21A008, MSGBOX_SIGN
end
LilycoveCity_LilycoveMuseum_2F_EventScript_219977:: @ 8219977
lockall
checkflag FLAG_0x0A3
goto_eq LilycoveCity_LilycoveMuseum_2F_EventScript_2199CF
goto_if_set FLAG_0x0A3, LilycoveCity_LilycoveMuseum_2F_EventScript_2199CF
msgbox LilycoveCity_LilycoveMuseum_2F_Text_21A06D, MSGBOX_SIGN
end

View File

@@ -17,19 +17,19 @@ LilycoveCity_MoveDeletersHouse_EventScript_21EA3B:: @ 821EA3B
special sub_81B94B0
waitstate
compare VAR_0x8004, 255
goto_eq LilycoveCity_MoveDeletersHouse_EventScript_21EAE6
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_21EAE6
special sub_81B98DC
compare VAR_RESULT, 1
goto_eq LilycoveCity_MoveDeletersHouse_EventScript_21EADC
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_21EADC
special sub_81B96D0
compare VAR_RESULT, 1
goto_eq LilycoveCity_MoveDeletersHouse_EventScript_21EACF
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_21EACF
msgbox LilycoveCity_MoveDeletersHouse_Text_21EB89, MSGBOX_DEFAULT
fadescreen 1
special sub_81B968C
fadescreen 0
compare VAR_0x8005, 4
goto_eq LilycoveCity_MoveDeletersHouse_EventScript_21EA3B
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_21EA3B
special sub_81B9718
msgbox LilycoveCity_MoveDeletersHouse_Text_21EBDA, MSGBOX_YESNO
switch VAR_RESULT
@@ -41,7 +41,7 @@ LilycoveCity_MoveDeletersHouse_EventScript_21EA3B:: @ 821EA3B
LilycoveCity_MoveDeletersHouse_EventScript_21EAB0:: @ 821EAB0
special sub_81B9918
compare VAR_RESULT, 1
goto_eq LilycoveCity_MoveDeletersHouse_EventScript_21EAF0
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_21EAF0
special sub_81B9770
playfanfare MUS_ME_WASURE
waitfanfare

View File

@@ -11,9 +11,9 @@ LilycoveCity_PokemonCenter_1F_MapScript1_21C5BD: @ 821C5BD
LilycoveCity_PokemonCenter_1F_EventScript_21C5C6:: @ 821C5C6
special sub_818D9C0
compare VAR_RESULT, 0
goto_eq LilycoveCity_PokemonCenter_1F_EventScript_21C5E0
goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_21C5E0
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonCenter_1F_EventScript_21C5E4
goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_21C5E4
end
LilycoveCity_PokemonCenter_1F_EventScript_21C5E0:: @ 821C5E0
@@ -39,8 +39,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_21C5F6:: @ 821C5F6
LilycoveCity_PokemonCenter_1F_EventScript_21C5FF:: @ 821C5FF
lock
faceplayer
checkflag FLAG_BADGE07_GET
goto_eq LilycoveCity_PokemonCenter_1F_EventScript_21C614
goto_if_set FLAG_BADGE07_GET, LilycoveCity_PokemonCenter_1F_EventScript_21C614
msgbox LilycoveCity_PokemonCenter_1F_Text_21C69D, MSGBOX_DEFAULT
release
end

View File

@@ -63,9 +63,9 @@ LilycoveCity_PokemonTrainerFanClub_Movement_21C807: @ 821C807
LilycoveCity_PokemonTrainerFanClub_MapScript1_21C80D: @ 821C80D
call LilycoveCity_PokemonTrainerFanClub_EventScript_21C8DA
compare VAR_LILYCOVE_FAN_CLUB_STATE, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21C9F8
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21C9F8
compare VAR_LILYCOVE_FAN_CLUB_STATE, 2
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21C829
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21C829
end
LilycoveCity_PokemonTrainerFanClub_EventScript_21C829:: @ 821C829
@@ -108,7 +108,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21C829:: @ 821C829
LilycoveCity_PokemonTrainerFanClub_EventScript_21C8DA:: @ 821C8DA
specialvar VAR_RESULT, sub_80EE7C0
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21C8F1
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21C8F1
clearflag FLAG_HIDE_LILYCOVE_FAN_CLUB_INTERVIEWER
clearflag FLAG_0x0D2
return
@@ -152,7 +152,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21C8F5:: @ 821C8F5
compare VAR_RESULT, 0
call_if 1, LilycoveCity_PokemonTrainerFanClub_EventScript_21C9AE
compare VAR_0x8005, 5
goto_if 4, LilycoveCity_PokemonTrainerFanClub_EventScript_21C9B4
goto_if_ge LilycoveCity_PokemonTrainerFanClub_EventScript_21C9B4
return
LilycoveCity_PokemonTrainerFanClub_EventScript_21C9AE:: @ 821C9AE
@@ -210,13 +210,13 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CA17:: @ 821CA17
setvar VAR_0x8004, 13
special BufferStreakTrainerText
compare VAR_LILYCOVE_FAN_CLUB_STATE, 0
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CA84
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CA84
specialvar VAR_RESULT, ShouldMoveLilycoveFanClubMember
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CA56
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CA56
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 7
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CA7A
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CA7A
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21D12A, MSGBOX_DEFAULT
release
end
@@ -224,7 +224,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CA17:: @ 821CA17
LilycoveCity_PokemonTrainerFanClub_EventScript_21CA56:: @ 821CA56
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CA70
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CA70
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21D094, MSGBOX_DEFAULT
release
end
@@ -250,13 +250,13 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CA8E:: @ 821CA8E
setvar VAR_0x8004, 8
special BufferStreakTrainerText
compare VAR_LILYCOVE_FAN_CLUB_STATE, 0
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CAFB
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CAFB
specialvar VAR_RESULT, ShouldMoveLilycoveFanClubMember
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CACD
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CACD
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 7
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CAF1
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CAF1
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21D347, MSGBOX_DEFAULT
release
end
@@ -264,7 +264,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CA8E:: @ 821CA8E
LilycoveCity_PokemonTrainerFanClub_EventScript_21CACD:: @ 821CACD
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CAE7
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CAE7
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21D2A6, MSGBOX_DEFAULT
release
end
@@ -290,13 +290,13 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CB05:: @ 821CB05
setvar VAR_0x8004, 9
special BufferStreakTrainerText
compare VAR_LILYCOVE_FAN_CLUB_STATE, 0
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CB72
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CB72
specialvar VAR_RESULT, ShouldMoveLilycoveFanClubMember
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CB44
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CB44
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 7
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CB68
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CB68
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21D52E, MSGBOX_DEFAULT
release
end
@@ -304,7 +304,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CB05:: @ 821CB05
LilycoveCity_PokemonTrainerFanClub_EventScript_21CB44:: @ 821CB44
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CB5E
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CB5E
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21D438, MSGBOX_DEFAULT
release
end
@@ -330,13 +330,13 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CB7C:: @ 821CB7C
setvar VAR_0x8004, 10
special BufferStreakTrainerText
compare VAR_LILYCOVE_FAN_CLUB_STATE, 0
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CBE9
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CBE9
specialvar VAR_RESULT, ShouldMoveLilycoveFanClubMember
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CBBB
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CBBB
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 7
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CBDF
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CBDF
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21D822, MSGBOX_DEFAULT
release
end
@@ -344,7 +344,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CB7C:: @ 821CB7C
LilycoveCity_PokemonTrainerFanClub_EventScript_21CBBB:: @ 821CBBB
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CBD5
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CBD5
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21D751, MSGBOX_DEFAULT
release
end
@@ -371,10 +371,10 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CBF3:: @ 821CBF3
special BufferStreakTrainerText
specialvar VAR_RESULT, ShouldMoveLilycoveFanClubMember
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CC27
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CC27
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 7
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CC4B
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CC4B
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21D9D1, MSGBOX_DEFAULT
release
end
@@ -382,7 +382,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CBF3:: @ 821CBF3
LilycoveCity_PokemonTrainerFanClub_EventScript_21CC27:: @ 821CC27
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CC41
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CC41
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21D921, MSGBOX_DEFAULT
release
end
@@ -404,10 +404,10 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CC55:: @ 821CC55
special BufferStreakTrainerText
specialvar VAR_RESULT, ShouldMoveLilycoveFanClubMember
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CC89
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CC89
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 7
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CCAD
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CCAD
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21DB69, MSGBOX_DEFAULT
release
end
@@ -415,7 +415,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CC55:: @ 821CC55
LilycoveCity_PokemonTrainerFanClub_EventScript_21CC89:: @ 821CC89
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CCA3
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CCA3
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21DA73, MSGBOX_DEFAULT
release
end
@@ -437,10 +437,10 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CCB7:: @ 821CCB7
special BufferStreakTrainerText
specialvar VAR_RESULT, ShouldMoveLilycoveFanClubMember
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CCEB
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CCEB
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 7
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CD0F
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CD0F
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21DD36, MSGBOX_DEFAULT
release
end
@@ -448,7 +448,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CCB7:: @ 821CCB7
LilycoveCity_PokemonTrainerFanClub_EventScript_21CCEB:: @ 821CCEB
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CD05
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CD05
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21DC68, MSGBOX_DEFAULT
release
end
@@ -470,10 +470,10 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CD19:: @ 821CD19
special BufferStreakTrainerText
specialvar VAR_RESULT, ShouldMoveLilycoveFanClubMember
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CD4D
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CD4D
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 7
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CD71
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CD71
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21DEFF, MSGBOX_DEFAULT
release
end
@@ -481,7 +481,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CD19:: @ 821CD19
LilycoveCity_PokemonTrainerFanClub_EventScript_21CD4D:: @ 821CD4D
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CD67
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CD67
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21DE72, MSGBOX_DEFAULT
release
end
@@ -499,17 +499,15 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CD71:: @ 821CD71
LilycoveCity_PokemonTrainerFanClub_EventScript_21CD7B:: @ 821CD7B
lock
faceplayer
checkflag FLAG_0x0D2
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CEED
checkflag FLAG_0x0D2
goto_if 0, LilycoveCity_PokemonTrainerFanClub_EventScript_21CD90
goto_if_set FLAG_0x0D2, LilycoveCity_PokemonTrainerFanClub_EventScript_21CEED
goto_if_unset FLAG_0x0D2, LilycoveCity_PokemonTrainerFanClub_EventScript_21CD90
end
LilycoveCity_PokemonTrainerFanClub_EventScript_21CD90:: @ 821CD90
setvar VAR_0x8005, 11
special InterviewBefore
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CEFF
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CEFF
copyvar VAR_0x800A, VAR_0x8006
setvar VAR_0x8004, 8
special BufferStreakTrainerText
@@ -520,9 +518,9 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CD90:: @ 821CD90
lock
faceplayer
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CDE0
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CDE0
compare VAR_RESULT, 0
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CDEE
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CDEE
end
LilycoveCity_PokemonTrainerFanClub_EventScript_21CDE0:: @ 821CDE0
@@ -535,9 +533,9 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CDEE:: @ 821CDEE
special BufferStreakTrainerText
msgbox LilycoveCity_PokemonTrainerFanClub_Text_281C3D, MSGBOX_YESNO
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CEC6
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CEC6
compare VAR_RESULT, 0
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CE15
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CE15
end
LilycoveCity_PokemonTrainerFanClub_EventScript_21CE15:: @ 821CE15
@@ -550,9 +548,9 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CE15:: @ 821CE15
lock
faceplayer
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CDE0
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CDE0
compare VAR_RESULT, 0
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CDEE
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CDEE
end
LilycoveCity_PokemonTrainerFanClub_EventScript_21CE4D:: @ 821CE4D
@@ -580,9 +578,9 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CE9F:: @ 821CE9F
special BufferStreakTrainerText
msgbox LilycoveCity_PokemonTrainerFanClub_Text_281CCD, MSGBOX_YESNO
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CEC6
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CEC6
compare VAR_RESULT, 0
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CE4D
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CE4D
end
LilycoveCity_PokemonTrainerFanClub_EventScript_21CEC6:: @ 821CEC6

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