Merge pull request #466 from melthelesbian/compare_macros

improve compare macros
This commit is contained in:
Diegoisawesome
2018-12-23 11:17:30 -06:00
committed by GitHub
296 changed files with 3792 additions and 4428 deletions
+66 -2
View File
@@ -1557,17 +1557,81 @@
@ Supplementary @ Supplementary
.macro goto_eq dest:req .macro goto_if_unset flag:req, dest:req
checkflag \flag
goto_if 0, \dest
.endm
.macro goto_if_set flag:req, dest:req
checkflag \flag
goto_if 1, \dest goto_if 1, \dest
.endm .endm
.macro goto_if_lt dest:req @ LESS THAN
goto_if 0, \dest
.endm
.macro goto_if_eq dest:req @ EQUAL
goto_if 1, \dest
.endm
.macro goto_if_gt dest:req @ GREATER THAN
goto_if 2, \dest
.endm
.macro goto_if_le dest:req @ LESS THAN OR EQUAL
goto_if 3, \dest
.endm
.macro goto_if_ge dest:req @ GREATER THAN OR EQUAL
goto_if 4, \dest
.endm
.macro goto_if_ne dest:req @ NOT EQUAL
goto_if 5, \dest
.endm
.macro call_if_unset flag:req, dest:req
checkflag \flag
call_if 0, \dest
.endm
.macro call_if_set flag:req, dest:req
checkflag \flag
call_if 1, \dest
.endm
.macro call_if_lt dest:req @ LESS THAN
call_if 0, \dest
.endm
.macro call_if_eq dest:req @ EQUAL
call_if 1, \dest
.endm
.macro call_if_gt dest:req @ GREATER THAN
call_if 2, \dest
.endm
.macro call_if_le dest:req @ LESS THAN OR EQUAL
call_if 3, \dest
.endm
.macro call_if_ge dest:req @ GREATER THAN OR EQUAL
call_if 4, \dest
.endm
.macro call_if_ne dest:req @ NOT EQUAL
call_if 5, \dest
.endm
.macro switch var:req .macro switch var:req
copyvar 0x8000, \var copyvar 0x8000, \var
.endm .endm
.macro case condition:req, dest:req .macro case condition:req, dest:req
compare 0x8000, \condition compare 0x8000, \condition
goto_eq \dest goto_if_eq \dest
.endm .endm
@ Message box types @ Message box types
+282 -319
View File
File diff suppressed because it is too large Load Diff
@@ -4,13 +4,11 @@ AbandonedShip_CaptainsOffice_MapScripts:: @ 82387E1
AbandonedShip_CaptainsOffice_EventScript_2387E2:: @ 82387E2 AbandonedShip_CaptainsOffice_EventScript_2387E2:: @ 82387E2
lock lock
faceplayer faceplayer
checkflag FLAG_TRADED_SCANNER_TO_STERN goto_if_set FLAG_TRADED_SCANNER_TO_STERN, AbandonedShip_CaptainsOffice_EventScript_23881A
goto_eq AbandonedShip_CaptainsOffice_EventScript_23881A
checkitem ITEM_SCANNER, 1 checkitem ITEM_SCANNER, 1
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq AbandonedShip_CaptainsOffice_EventScript_238810 goto_if_eq AbandonedShip_CaptainsOffice_EventScript_238810
checkflag FLAG_ITEM_ABANDONED_SHIP_HIDDEN_FLOOR_ROOM_4_SCANNER goto_if_set FLAG_ITEM_ABANDONED_SHIP_HIDDEN_FLOOR_ROOM_4_SCANNER, AbandonedShip_CaptainsOffice_EventScript_23881A
goto_eq AbandonedShip_CaptainsOffice_EventScript_23881A
msgbox AbandonedShip_CaptainsOffice_Text_238824, MSGBOX_DEFAULT msgbox AbandonedShip_CaptainsOffice_Text_238824, MSGBOX_DEFAULT
release release
end end
@@ -8,10 +8,8 @@ AbandonedShip_Corridors_B1F_MapScript1_237D8F: @ 8237D8F
end end
AbandonedShip_Corridors_B1F_MapScript1_237D98: @ 8237D98 AbandonedShip_Corridors_B1F_MapScript1_237D98: @ 8237D98
checkflag FLAG_0x0EF call_if_unset FLAG_0x0EF, AbandonedShip_Corridors_B1F_EventScript_237DAB
call_if 0, AbandonedShip_Corridors_B1F_EventScript_237DAB call_if_set FLAG_0x0EF, AbandonedShip_Corridors_B1F_EventScript_237DB5
checkflag FLAG_0x0EF
call_if 1, AbandonedShip_Corridors_B1F_EventScript_237DB5
end end
AbandonedShip_Corridors_B1F_EventScript_237DAB:: @ 8237DAB AbandonedShip_Corridors_B1F_EventScript_237DAB:: @ 8237DAB
@@ -28,11 +26,10 @@ AbandonedShip_Corridors_B1F_EventScript_237DBF:: @ 8237DBF
AbandonedShip_Corridors_B1F_EventScript_237DC8:: @ 8237DC8 AbandonedShip_Corridors_B1F_EventScript_237DC8:: @ 8237DC8
lockall lockall
checkflag FLAG_0x0EF goto_if_set FLAG_0x0EF, AbandonedShip_Corridors_B1F_EventScript_237E09
goto_eq AbandonedShip_Corridors_B1F_EventScript_237E09
checkitem ITEM_STORAGE_KEY, 1 checkitem ITEM_STORAGE_KEY, 1
compare VAR_RESULT, 0 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 msgbox AbandonedShip_Corridors_B1F_Text_237F4B, MSGBOX_DEFAULT
playse SE_PIN playse SE_PIN
takeitem ITEM_STORAGE_KEY, 1 takeitem ITEM_STORAGE_KEY, 1
@@ -8,22 +8,14 @@ AbandonedShip_HiddenFloorCorridors_MapScript1_238977: @ 8238977
end end
AbandonedShip_HiddenFloorCorridors_MapScript1_238980: @ 8238980 AbandonedShip_HiddenFloorCorridors_MapScript1_238980: @ 8238980
checkflag FLAG_0x0F0 call_if_unset FLAG_0x0F0, AbandonedShip_HiddenFloorCorridors_EventScript_2389F1
call_if 0, AbandonedShip_HiddenFloorCorridors_EventScript_2389F1 call_if_unset FLAG_0x0F1, AbandonedShip_HiddenFloorCorridors_EventScript_2389FB
checkflag FLAG_0x0F1 call_if_unset FLAG_0x0F2, AbandonedShip_HiddenFloorCorridors_EventScript_238A05
call_if 0, AbandonedShip_HiddenFloorCorridors_EventScript_2389FB call_if_unset FLAG_0x0F3, AbandonedShip_HiddenFloorCorridors_EventScript_238A0F
checkflag FLAG_0x0F2 call_if_set FLAG_0x0F0, AbandonedShip_HiddenFloorCorridors_EventScript_2389C9
call_if 0, AbandonedShip_HiddenFloorCorridors_EventScript_238A05 call_if_set FLAG_0x0F1, AbandonedShip_HiddenFloorCorridors_EventScript_2389D3
checkflag FLAG_0x0F3 call_if_set FLAG_0x0F2, AbandonedShip_HiddenFloorCorridors_EventScript_2389DD
call_if 0, AbandonedShip_HiddenFloorCorridors_EventScript_238A0F call_if_set FLAG_0x0F3, AbandonedShip_HiddenFloorCorridors_EventScript_2389E7
checkflag FLAG_0x0F0
call_if 1, AbandonedShip_HiddenFloorCorridors_EventScript_2389C9
checkflag FLAG_0x0F1
call_if 1, AbandonedShip_HiddenFloorCorridors_EventScript_2389D3
checkflag FLAG_0x0F2
call_if 1, AbandonedShip_HiddenFloorCorridors_EventScript_2389DD
checkflag FLAG_0x0F3
call_if 1, AbandonedShip_HiddenFloorCorridors_EventScript_2389E7
end end
AbandonedShip_HiddenFloorCorridors_EventScript_2389C9:: @ 82389C9 AbandonedShip_HiddenFloorCorridors_EventScript_2389C9:: @ 82389C9
@@ -60,11 +52,10 @@ AbandonedShip_HiddenFloorCorridors_EventScript_238A0F:: @ 8238A0F
AbandonedShip_HiddenFloorCorridors_EventScript_238A19:: @ 8238A19 AbandonedShip_HiddenFloorCorridors_EventScript_238A19:: @ 8238A19
lockall lockall
checkflag FLAG_0x0F0 goto_if_set FLAG_0x0F0, AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
checkitem ITEM_ROOM_1_KEY, 1 checkitem ITEM_ROOM_1_KEY, 1
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238AF5 goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_238AF5
msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, MSGBOX_DEFAULT msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, MSGBOX_DEFAULT
playse SE_PIN playse SE_PIN
takeitem ITEM_ROOM_1_KEY, 1 takeitem ITEM_ROOM_1_KEY, 1
@@ -76,11 +67,10 @@ AbandonedShip_HiddenFloorCorridors_EventScript_238A19:: @ 8238A19
AbandonedShip_HiddenFloorCorridors_EventScript_238A50:: @ 8238A50 AbandonedShip_HiddenFloorCorridors_EventScript_238A50:: @ 8238A50
lockall lockall
checkflag FLAG_0x0F1 goto_if_set FLAG_0x0F1, AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
checkitem ITEM_ROOM_2_KEY, 1 checkitem ITEM_ROOM_2_KEY, 1
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238AFF goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_238AFF
msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, MSGBOX_DEFAULT msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, MSGBOX_DEFAULT
playse SE_PIN playse SE_PIN
takeitem ITEM_ROOM_2_KEY, 1 takeitem ITEM_ROOM_2_KEY, 1
@@ -92,11 +82,10 @@ AbandonedShip_HiddenFloorCorridors_EventScript_238A50:: @ 8238A50
AbandonedShip_HiddenFloorCorridors_EventScript_238A87:: @ 8238A87 AbandonedShip_HiddenFloorCorridors_EventScript_238A87:: @ 8238A87
lockall lockall
checkflag FLAG_0x0F2 goto_if_set FLAG_0x0F2, AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
checkitem ITEM_ROOM_4_KEY, 1 checkitem ITEM_ROOM_4_KEY, 1
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B09 goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B09
msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, MSGBOX_DEFAULT msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, MSGBOX_DEFAULT
playse SE_PIN playse SE_PIN
takeitem ITEM_ROOM_4_KEY, 1 takeitem ITEM_ROOM_4_KEY, 1
@@ -108,11 +97,10 @@ AbandonedShip_HiddenFloorCorridors_EventScript_238A87:: @ 8238A87
AbandonedShip_HiddenFloorCorridors_EventScript_238ABE:: @ 8238ABE AbandonedShip_HiddenFloorCorridors_EventScript_238ABE:: @ 8238ABE
lockall lockall
checkflag FLAG_0x0F3 goto_if_set FLAG_0x0F3, AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
checkitem ITEM_ROOM_6_KEY, 1 checkitem ITEM_ROOM_6_KEY, 1
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B13 goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B13
msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, MSGBOX_DEFAULT msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, MSGBOX_DEFAULT
playse SE_PIN playse SE_PIN
takeitem ITEM_ROOM_6_KEY, 1 takeitem ITEM_ROOM_6_KEY, 1
@@ -11,11 +11,11 @@ AbandonedShip_HiddenFloorRooms_EventScript_238C59:: @ 8238C59
getplayerxy VAR_TEMP_2, VAR_TEMP_3 getplayerxy VAR_TEMP_2, VAR_TEMP_3
setvar VAR_TEMP_4, 1 setvar VAR_TEMP_4, 1
compare VAR_TEMP_2, 21 compare VAR_TEMP_2, 21
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238CD1 call_if_eq AbandonedShip_HiddenFloorRooms_EventScript_238CD1
compare VAR_TEMP_2, 36 compare VAR_TEMP_2, 36
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238CD7 call_if_eq AbandonedShip_HiddenFloorRooms_EventScript_238CD7
compare VAR_TEMP_3, 2 compare VAR_TEMP_3, 2
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238CDD call_if_eq AbandonedShip_HiddenFloorRooms_EventScript_238CDD
switch VAR_TEMP_4 switch VAR_TEMP_4
case 1, AbandonedShip_HiddenFloorRooms_EventScript_238CE3 case 1, AbandonedShip_HiddenFloorRooms_EventScript_238CE3
case 2, AbandonedShip_HiddenFloorRooms_EventScript_238D0C case 2, AbandonedShip_HiddenFloorRooms_EventScript_238D0C
@@ -45,7 +45,7 @@ AbandonedShip_HiddenFloorRooms_EventScript_238CE3:: @ 8238CE3
dofieldeffect 54 dofieldeffect 54
specialvar VAR_RESULT, FoundAbandonedShipRoom4Key specialvar VAR_RESULT, FoundAbandonedShipRoom4Key
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238DD3 call_if_eq AbandonedShip_HiddenFloorRooms_EventScript_238DD3
waitfieldeffect 54 waitfieldeffect 54
delay 10 delay 10
end end
@@ -56,10 +56,10 @@ AbandonedShip_HiddenFloorRooms_EventScript_238D0C:: @ 8238D0C
AbandonedShip_HiddenFloorRooms_EventScript_238D0D:: @ 8238D0D AbandonedShip_HiddenFloorRooms_EventScript_238D0D:: @ 8238D0D
specialvar VAR_RESULT, FoundAbandonedShipRoom1Key specialvar VAR_RESULT, FoundAbandonedShipRoom1Key
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq AbandonedShip_HiddenFloorRooms_EventScript_238D32 goto_if_eq AbandonedShip_HiddenFloorRooms_EventScript_238D32
delay 20 delay 20
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238DB3 call_if_eq AbandonedShip_HiddenFloorRooms_EventScript_238DB3
waitfieldeffect 54 waitfieldeffect 54
delay 10 delay 10
end end
@@ -79,7 +79,7 @@ AbandonedShip_HiddenFloorRooms_EventScript_238D33:: @ 8238D33
dofieldeffect 54 dofieldeffect 54
specialvar VAR_RESULT, FoundAbandonedShipRoom6Key specialvar VAR_RESULT, FoundAbandonedShipRoom6Key
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238DE3 call_if_eq AbandonedShip_HiddenFloorRooms_EventScript_238DE3
waitfieldeffect 54 waitfieldeffect 54
delay 10 delay 10
end end
@@ -100,7 +100,7 @@ AbandonedShip_HiddenFloorRooms_EventScript_238D6B:: @ 8238D6B
dofieldeffect 54 dofieldeffect 54
specialvar VAR_RESULT, FoundAbandonedShipRoom2Key specialvar VAR_RESULT, FoundAbandonedShipRoom2Key
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238DC3 call_if_eq AbandonedShip_HiddenFloorRooms_EventScript_238DC3
waitfieldeffect 54 waitfieldeffect 54
delay 10 delay 10
end end
@@ -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 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 specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1 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 msgbox AbandonedShip_Rooms2_1F_Text_23820F, MSGBOX_DEFAULT
release release
end 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 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 specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1 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 msgbox AbandonedShip_Rooms2_1F_Text_23830A, MSGBOX_DEFAULT
release release
end end
+1 -1
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 trainerbattle_single TRAINER_THALIA_1, AbandonedShip_Rooms_1F_Text_237B76, AbandonedShip_Rooms_1F_Text_237BB8, AbandonedShip_Rooms_1F_EventScript_237ADF
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1 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 msgbox AbandonedShip_Rooms_1F_Text_237BDB, MSGBOX_DEFAULT
release release
end end
+8 -12
View File
@@ -5,21 +5,19 @@ AncientTomb_MapScripts:: @ 8238FB3
.byte 0 .byte 0
AncientTomb_MapScript1_238FC3: @ 8238FC3 AncientTomb_MapScript1_238FC3: @ 8238FC3
checkflag FLAG_SYS_CTRL_OBJ_DELETE call_if_set FLAG_SYS_CTRL_OBJ_DELETE, AncientTomb_EventScript_238FCD
call_if 1, AncientTomb_EventScript_238FCD
end end
AncientTomb_EventScript_238FCD:: @ 8238FCD AncientTomb_EventScript_238FCD:: @ 8238FCD
specialvar VAR_RESULT, GetBattleOutcome specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 7 compare VAR_RESULT, 7
goto_if 5, AncientTomb_EventScript_27374E goto_if_ne AncientTomb_EventScript_27374E
removeobject VAR_LAST_TALKED removeobject VAR_LAST_TALKED
return return
AncientTomb_MapScript1_238FE1: @ 8238FE1 AncientTomb_MapScript1_238FE1: @ 8238FE1
setflag FLAG_LANDMARK_ANCIENT_TOMB setflag FLAG_LANDMARK_ANCIENT_TOMB
checkflag FLAG_0x1BD call_if_unset FLAG_0x1BD, AncientTomb_EventScript_238FEE
call_if 0, AncientTomb_EventScript_238FEE
end end
AncientTomb_EventScript_238FEE:: @ 8238FEE AncientTomb_EventScript_238FEE:: @ 8238FEE
@@ -27,8 +25,7 @@ AncientTomb_EventScript_238FEE:: @ 8238FEE
return return
AncientTomb_MapScript1_238FF2: @ 8238FF2 AncientTomb_MapScript1_238FF2: @ 8238FF2
checkflag FLAG_SYS_BRAILLE_FLY call_if_unset FLAG_SYS_BRAILLE_FLY, AncientTomb_EventScript_238FFC
call_if 0, AncientTomb_EventScript_238FFC
end end
AncientTomb_EventScript_238FFC:: @ 8238FFC AncientTomb_EventScript_238FFC:: @ 8238FFC
@@ -42,8 +39,7 @@ AncientTomb_EventScript_238FFC:: @ 8238FFC
AncientTomb_EventScript_239033:: @ 8239033 AncientTomb_EventScript_239033:: @ 8239033
lockall lockall
checkflag FLAG_SYS_BRAILLE_FLY goto_if_set FLAG_SYS_BRAILLE_FLY, AncientTomb_EventScript_239046
goto_eq AncientTomb_EventScript_239046
braillemessage AncientTomb_Braille_2A6D06 braillemessage AncientTomb_Braille_2A6D06
waitbuttonpress waitbuttonpress
hidebox2 hidebox2
@@ -77,11 +73,11 @@ AncientTomb_EventScript_23905A:: @ 823905A
clearflag FLAG_SYS_CTRL_OBJ_DELETE clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq AncientTomb_EventScript_2390A1 goto_if_eq AncientTomb_EventScript_2390A1
compare VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq AncientTomb_EventScript_2390AA goto_if_eq AncientTomb_EventScript_2390AA
compare VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq AncientTomb_EventScript_2390AA goto_if_eq AncientTomb_EventScript_2390AA
setflag FLAG_0x1BD setflag FLAG_0x1BD
release release
end end
+4 -8
View File
@@ -4,10 +4,8 @@ AquaHideout_1F_MapScripts:: @ 8233493
AquaHideout_1F_EventScript_233494:: @ 8233494 AquaHideout_1F_EventScript_233494:: @ 8233494
lock lock
faceplayer faceplayer
checkflag FLAG_0x06F goto_if_set FLAG_0x06F, AquaHideout_1F_EventScript_2334BC
goto_eq AquaHideout_1F_EventScript_2334BC goto_if_set FLAG_0x0D4, AquaHideout_1F_EventScript_2334B2
checkflag FLAG_0x0D4
goto_eq AquaHideout_1F_EventScript_2334B2
msgbox AquaHideout_1F_Text_23351D, MSGBOX_DEFAULT msgbox AquaHideout_1F_Text_23351D, MSGBOX_DEFAULT
release release
end end
@@ -25,10 +23,8 @@ AquaHideout_1F_EventScript_2334BC:: @ 82334BC
AquaHideout_1F_EventScript_2334C6:: @ 82334C6 AquaHideout_1F_EventScript_2334C6:: @ 82334C6
lock lock
faceplayer faceplayer
checkflag FLAG_0x06F goto_if_set FLAG_0x06F, AquaHideout_1F_EventScript_2334EE
goto_eq AquaHideout_1F_EventScript_2334EE goto_if_set FLAG_0x0D4, AquaHideout_1F_EventScript_2334E4
checkflag FLAG_0x0D4
goto_eq AquaHideout_1F_EventScript_2334E4
msgbox AquaHideout_1F_Text_233739, MSGBOX_DEFAULT msgbox AquaHideout_1F_Text_233739, MSGBOX_DEFAULT
release release
end end
+10 -13
View File
@@ -4,22 +4,19 @@ AquaHideout_B1F_MapScripts:: @ 82339A7
.byte 0 .byte 0
AquaHideout_B1F_MapScript1_2339B2: @ 82339B2 AquaHideout_B1F_MapScript1_2339B2: @ 82339B2
checkflag FLAG_SYS_CTRL_OBJ_DELETE call_if_set FLAG_SYS_CTRL_OBJ_DELETE, AquaHideout_B1F_EventScript_2339BC
call_if 1, AquaHideout_B1F_EventScript_2339BC
end end
AquaHideout_B1F_EventScript_2339BC:: @ 82339BC AquaHideout_B1F_EventScript_2339BC:: @ 82339BC
specialvar VAR_RESULT, GetBattleOutcome specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 7 compare VAR_RESULT, 7
goto_if 5, AquaHideout_B1F_EventScript_27374E goto_if_ne AquaHideout_B1F_EventScript_27374E
removeobject VAR_LAST_TALKED removeobject VAR_LAST_TALKED
return return
AquaHideout_B1F_MapScript1_2339D0: @ 82339D0 AquaHideout_B1F_MapScript1_2339D0: @ 82339D0
checkflag FLAG_0x1C4 call_if_unset FLAG_0x1C4, AquaHideout_B1F_EventScript_2339E3
call_if 0, AquaHideout_B1F_EventScript_2339E3 call_if_unset FLAG_0x1C5, AquaHideout_B1F_EventScript_2339E7
checkflag FLAG_0x1C5
call_if 0, AquaHideout_B1F_EventScript_2339E7
end end
AquaHideout_B1F_EventScript_2339E3:: @ 82339E3 AquaHideout_B1F_EventScript_2339E3:: @ 82339E3
@@ -43,11 +40,11 @@ AquaHideout_B1F_EventScript_2339EB:: @ 82339EB
clearflag FLAG_SYS_CTRL_OBJ_DELETE clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq AquaHideout_B1F_EventScript_233A2F goto_if_eq AquaHideout_B1F_EventScript_233A2F
compare VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq AquaHideout_B1F_EventScript_233A2F goto_if_eq AquaHideout_B1F_EventScript_233A2F
compare VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq AquaHideout_B1F_EventScript_233A2F goto_if_eq AquaHideout_B1F_EventScript_233A2F
setflag FLAG_0x1C4 setflag FLAG_0x1C4
release release
end end
@@ -70,11 +67,11 @@ AquaHideout_B1F_EventScript_233A38:: @ 8233A38
clearflag FLAG_SYS_CTRL_OBJ_DELETE clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq AquaHideout_B1F_EventScript_233A7C goto_if_eq AquaHideout_B1F_EventScript_233A7C
compare VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq AquaHideout_B1F_EventScript_233A7C goto_if_eq AquaHideout_B1F_EventScript_233A7C
compare VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq AquaHideout_B1F_EventScript_233A7C goto_if_eq AquaHideout_B1F_EventScript_233A7C
setflag FLAG_0x1C5 setflag FLAG_0x1C5
release release
end end
+1 -2
View File
@@ -3,8 +3,7 @@ AquaHideout_B2F_MapScripts:: @ 8233DCF
.byte 0 .byte 0
AquaHideout_B2F_MapScript1_233DD5: @ 8233DD5 AquaHideout_B2F_MapScript1_233DD5: @ 8233DD5
checkflag FLAG_0x070 call_if_set FLAG_0x070, AquaHideout_B2F_EventScript_233DDF
call_if 1, AquaHideout_B2F_EventScript_233DDF
end end
AquaHideout_B2F_EventScript_233DDF:: @ 8233DDF AquaHideout_B2F_EventScript_233DDF:: @ 8233DDF
@@ -18,9 +18,9 @@ BattleFrontier_BattleArenaBattleRoom_MapScript1_2574A0: @ 82574A0
BattleFrontier_BattleArenaBattleRoom_EventScript_2574AE:: @ 82574AE BattleFrontier_BattleArenaBattleRoom_EventScript_2574AE:: @ 82574AE
checkplayergender checkplayergender
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_2574C6 goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_2574C6
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_2574CC goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_2574CC
return return
BattleFrontier_BattleArenaBattleRoom_EventScript_2574C6:: @ 82574C6 BattleFrontier_BattleArenaBattleRoom_EventScript_2574C6:: @ 82574C6
@@ -44,7 +44,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_2574DC:: @ 82574DC
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_25752E goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_25752E
applymovement 5, BattleFrontier_BattleArenaBattleRoom_Movement_257C08 applymovement 5, BattleFrontier_BattleArenaBattleRoom_Movement_257C08
applymovement 8, BattleFrontier_BattleArenaBattleRoom_Movement_257BEB applymovement 8, BattleFrontier_BattleArenaBattleRoom_Movement_257BEB
setvar VAR_TEMP_2, 1 setvar VAR_TEMP_2, 1
@@ -150,25 +150,25 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_2576B0:: @ 82576B0
special CallFrontierUtilFunc special CallFrontierUtilFunc
copyvar VAR_TEMP_F, VAR_RESULT copyvar VAR_TEMP_F, VAR_RESULT
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleArenaBattleRoom_EventScript_2578BC goto_if_ne BattleFrontier_BattleArenaBattleRoom_EventScript_2578BC
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_257870 call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257870
compare VAR_RESULT, 2 compare VAR_RESULT, 2
call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_257877 call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257877
compare VAR_RESULT, 3 compare VAR_RESULT, 3
call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_25787E call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_25787E
compare VAR_RESULT, 4 compare VAR_RESULT, 4
call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_257885 call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257885
compare VAR_RESULT, 5 compare VAR_RESULT, 5
call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_25788C call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_25788C
compare VAR_RESULT, 6 compare VAR_RESULT, 6
call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_257893 call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257893
call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0 call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257768 goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257768
multichoice 19, 4, 103, 1 multichoice 19, 4, 103, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_25783A case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_25783A
@@ -276,7 +276,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_25789A:: @ 825789A
BattleFrontier_BattleArenaBattleRoom_EventScript_2578BC:: @ 82578BC BattleFrontier_BattleArenaBattleRoom_EventScript_2578BC:: @ 82578BC
compare VAR_TEMP_2, 1 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 msgbox BattleFrontier_BattleArenaBattleRoom_Text_257F45, MSGBOX_DEFAULT
setvar VAR_TEMP_2, 1 setvar VAR_TEMP_2, 1
@@ -285,7 +285,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_2578D4:: @ 82578D4
waitmessage waitmessage
call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0 call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_25792B goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_25792B
multichoice 19, 4, 103, 1 multichoice 19, 4, 103, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_257961 case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_257961
@@ -334,7 +334,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257961:: @ 8257961
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 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 msgbox BattleFrontier_BattleArenaBattleRoom_Text_25801C, MSGBOX_DEFAULT
closemessage closemessage
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
@@ -352,7 +352,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257A3F:: @ 8257A3F
msgbox BattleFrontier_BattleArenaBattleRoom_Text_25810D, MSGBOX_DEFAULT msgbox BattleFrontier_BattleArenaBattleRoom_Text_25810D, MSGBOX_DEFAULT
call BattleFrontier_BattleArenaBattleRoom_EventScript_257B5E call BattleFrontier_BattleArenaBattleRoom_EventScript_257B5E
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257A5C goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257A5C
goto BattleFrontier_BattleArenaBattleRoom_EventScript_2575DB goto BattleFrontier_BattleArenaBattleRoom_EventScript_2575DB
BattleFrontier_BattleArenaBattleRoom_EventScript_257A5C:: @ 8257A5C BattleFrontier_BattleArenaBattleRoom_EventScript_257A5C:: @ 8257A5C
@@ -360,7 +360,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257A5C:: @ 8257A5C
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleArenaBattleRoom_EventScript_257852 goto_if_ne BattleFrontier_BattleArenaBattleRoom_EventScript_257852
applymovement 7, BattleFrontier_BattleArenaBattleRoom_Movement_257BF1 applymovement 7, BattleFrontier_BattleArenaBattleRoom_Movement_257BF1
waitmovement 0 waitmovement 0
msgbox BattleFrontier_BattleArenaBattleRoom_Text_25813F, MSGBOX_DEFAULT msgbox BattleFrontier_BattleArenaBattleRoom_Text_25813F, MSGBOX_DEFAULT
@@ -378,7 +378,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257AA5:: @ 8257AA5
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 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 msgbox BattleFrontier_BattleArenaBattleRoom_Text_258213, MSGBOX_DEFAULT
closemessage closemessage
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
@@ -396,7 +396,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257AF8:: @ 8257AF8
msgbox BattleFrontier_BattleArenaBattleRoom_Text_2582F9, MSGBOX_DEFAULT msgbox BattleFrontier_BattleArenaBattleRoom_Text_2582F9, MSGBOX_DEFAULT
call BattleFrontier_BattleArenaBattleRoom_EventScript_257B5E call BattleFrontier_BattleArenaBattleRoom_EventScript_257B5E
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257B15 goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257B15
goto BattleFrontier_BattleArenaBattleRoom_EventScript_2575DB goto BattleFrontier_BattleArenaBattleRoom_EventScript_2575DB
BattleFrontier_BattleArenaBattleRoom_EventScript_257B15:: @ 8257B15 BattleFrontier_BattleArenaBattleRoom_EventScript_257B15:: @ 8257B15
@@ -404,7 +404,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257B15:: @ 8257B15
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257852 goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257852
applymovement 7, BattleFrontier_BattleArenaBattleRoom_Movement_257BF1 applymovement 7, BattleFrontier_BattleArenaBattleRoom_Movement_257BF1
waitmovement 0 waitmovement 0
msgbox BattleFrontier_BattleArenaBattleRoom_Text_258323, MSGBOX_DEFAULT msgbox BattleFrontier_BattleArenaBattleRoom_Text_258323, MSGBOX_DEFAULT
@@ -50,7 +50,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255CCF:: @ 8255CCF
setvar VAR_0x8004, 10 setvar VAR_0x8004, 10
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaLobby_EventScript_255CF0 goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_255CF0
msgbox BattleFrontier_BattleArenaLobby_Text_2568E7, MSGBOX_DEFAULT msgbox BattleFrontier_BattleArenaLobby_Text_2568E7, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaLobby_EventScript_255CF8 goto BattleFrontier_BattleArenaLobby_EventScript_255CF8
@@ -98,7 +98,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255D59:: @ 8255D59
waitse waitse
call BattleFrontier_BattleArenaLobby_EventScript_23E8E0 call BattleFrontier_BattleArenaLobby_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaLobby_EventScript_255DBF goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_255DBF
message BattleFrontier_BattleArenaLobby_Text_256B19 message BattleFrontier_BattleArenaLobby_Text_256B19
waitmessage waitmessage
multichoicedefault 20, 8, 94, 1, 0 multichoicedefault 20, 8, 94, 1, 0
@@ -157,7 +157,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255E47:: @ 8255E47
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleArenaLobby_EventScript_255FAC goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_255FAC
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT copyvar VAR_0x8006, VAR_RESULT
@@ -170,7 +170,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255E47:: @ 8255E47
special sub_80F9490 special sub_80F9490
waitstate waitstate
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleArenaLobby_EventScript_255FF8 goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_255FF8
msgbox BattleFrontier_BattleArenaLobby_Text_2564CE, MSGBOX_YESNO msgbox BattleFrontier_BattleArenaLobby_Text_2564CE, MSGBOX_YESNO
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleArenaLobby_EventScript_255FF8 case 0, BattleFrontier_BattleArenaLobby_EventScript_255FF8
@@ -202,7 +202,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255EE8:: @ 8255EE8
call BattleFrontier_BattleArenaLobby_EventScript_27134F call BattleFrontier_BattleArenaLobby_EventScript_27134F
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleArenaLobby_EventScript_255FE1 goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_255FE1
BattleFrontier_BattleArenaLobby_EventScript_255F54:: @ 8255F54 BattleFrontier_BattleArenaLobby_EventScript_255F54:: @ 8255F54
special SavePlayerParty special SavePlayerParty
@@ -215,9 +215,9 @@ BattleFrontier_BattleArenaLobby_EventScript_255F54:: @ 8255F54
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattleArenaLobby_EventScript_256005 call_if_eq BattleFrontier_BattleArenaLobby_EventScript_256005
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattleArenaLobby_EventScript_256050 call_if_eq BattleFrontier_BattleArenaLobby_EventScript_256050
warp MAP_BATTLE_FRONTIER_BATTLE_ARENA_CORRIDOR, 255, 9, 13 warp MAP_BATTLE_FRONTIER_BATTLE_ARENA_CORRIDOR, 255, 9, 13
setvar VAR_TEMP_0, 0 setvar VAR_TEMP_0, 0
waitstate waitstate
@@ -13,7 +13,7 @@ BattleFrontier_BattleDomeBattleRoom_MapScript1_24BCB1: @ 824BCB1
special CallFrontierUtilFunc special CallFrontierUtilFunc
copyvar VAR_TEMP_F, VAR_RESULT copyvar VAR_TEMP_F, VAR_RESULT
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C919 call_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C919
call BattleFrontier_BattleDomeBattleRoom_EventScript_24BCDC call BattleFrontier_BattleDomeBattleRoom_EventScript_24BCDC
end end
@@ -21,9 +21,9 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_24BCDC:: @ 824BCDC
BattleFrontier_BattleDomeBattleRoom_EventScript_24BCDC:: @ 824BCDC BattleFrontier_BattleDomeBattleRoom_EventScript_24BCDC:: @ 824BCDC
checkplayergender checkplayergender
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BCF4 goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BCF4
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BCFA goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BCFA
return return
BattleFrontier_BattleDomeBattleRoom_EventScript_24BCF4:: @ 824BCF4 BattleFrontier_BattleDomeBattleRoom_EventScript_24BCF4:: @ 824BCF4
@@ -42,7 +42,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BD0A:: @ 824BD0A
lockall lockall
call BattleFrontier_BattleDomeBattleRoom_EventScript_24C1BD call BattleFrontier_BattleDomeBattleRoom_EventScript_24C1BD
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C938 call_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C938
applymovement 1, BattleFrontier_BattleDomeBattleRoom_Movement_2725B4 applymovement 1, BattleFrontier_BattleDomeBattleRoom_Movement_2725B4
waitmovement 0 waitmovement 0
call BattleFrontier_BattleDomeBattleRoom_EventScript_24BFD5 call BattleFrontier_BattleDomeBattleRoom_EventScript_24BFD5
@@ -50,9 +50,9 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BD0A:: @ 824BD0A
closemessage closemessage
showobjectat 13, MAP_BATTLE_FRONTIER_BATTLE_DOME_BATTLE_ROOM showobjectat 13, MAP_BATTLE_FRONTIER_BATTLE_DOME_BATTLE_ROOM
compare VAR_TEMP_F, 3 compare VAR_TEMP_F, 3
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BD4E goto_if_ne BattleFrontier_BattleDomeBattleRoom_EventScript_24BD4E
compare VAR_TEMP_E, 0 compare VAR_TEMP_E, 0
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BD5A goto_if_ne BattleFrontier_BattleDomeBattleRoom_EventScript_24BD5A
BattleFrontier_BattleDomeBattleRoom_EventScript_24BD4E:: @ 824BD4E BattleFrontier_BattleDomeBattleRoom_EventScript_24BD4E:: @ 824BD4E
applymovement 13, BattleFrontier_BattleDomeBattleRoom_Movement_24C775 applymovement 13, BattleFrontier_BattleDomeBattleRoom_Movement_24C775
@@ -66,9 +66,9 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BD61:: @ 824BD61
call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E
waitmovement 0 waitmovement 0
compare VAR_TEMP_F, 3 compare VAR_TEMP_F, 3
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BD82 goto_if_ne BattleFrontier_BattleDomeBattleRoom_EventScript_24BD82
compare VAR_TEMP_E, 0 compare VAR_TEMP_E, 0
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C1CB goto_if_ne BattleFrontier_BattleDomeBattleRoom_EventScript_24C1CB
BattleFrontier_BattleDomeBattleRoom_EventScript_24BD82:: @ 824BD82 BattleFrontier_BattleDomeBattleRoom_EventScript_24BD82:: @ 824BD82
setvar VAR_0x8004, 4 setvar VAR_0x8004, 4
@@ -107,7 +107,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BDF7:: @ 824BDF7
applymovement 9, BattleFrontier_BattleDomeBattleRoom_Movement_24C96B applymovement 9, BattleFrontier_BattleDomeBattleRoom_Movement_24C96B
waitmovement 0 waitmovement 0
compare VAR_TEMP_2, 2 compare VAR_TEMP_2, 2
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BE4F goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BE4F
setvar VAR_0x8004, 19 setvar VAR_0x8004, 19
special CallBattleDomeFunction special CallBattleDomeFunction
switch VAR_RESULT switch VAR_RESULT
@@ -119,11 +119,11 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BE4F:: @ 824BE4F
setvar VAR_0x8004, 4 setvar VAR_0x8004, 4
special CallBattleDomeFunction special CallBattleDomeFunction
compare VAR_TEMP_2, 0 compare VAR_TEMP_2, 0
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BEB1 call_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BEB1
compare VAR_TEMP_2, 1 compare VAR_TEMP_2, 1
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BEC5 call_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BEC5
compare VAR_TEMP_2, 2 compare VAR_TEMP_2, 2
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BED9 call_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BED9
playse SE_W227B playse SE_W227B
call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E
delay 60 delay 60
@@ -166,9 +166,9 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BEE0:: @ 824BEE0
applymovement 1, BattleFrontier_BattleDomeBattleRoom_Movement_2725B4 applymovement 1, BattleFrontier_BattleDomeBattleRoom_Movement_2725B4
waitmovement 0 waitmovement 0
compare VAR_TEMP_2, 0 compare VAR_TEMP_2, 0
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BFC3 call_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BFC3
compare VAR_TEMP_2, 1 compare VAR_TEMP_2, 1
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BFCC call_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BFCC
playse SE_W227B playse SE_W227B
call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E
delay 60 delay 60
@@ -229,17 +229,17 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BFD5:: @ 824BFD5
setvar VAR_0x8005, 6 setvar VAR_0x8005, 6
special CallBattleDomeFunction special CallBattleDomeFunction
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C023 goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C023
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special CallBattleDomeFunction special CallBattleDomeFunction
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C076 goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C076
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special CallBattleDomeFunction special CallBattleDomeFunction
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C16A goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C16A
goto BattleFrontier_BattleDomeBattleRoom_EventScript_24C0C9 goto BattleFrontier_BattleDomeBattleRoom_EventScript_24C0C9
return return
@@ -303,7 +303,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C0C2:: @ 824C0C2
BattleFrontier_BattleDomeBattleRoom_EventScript_24C0C9:: @ 824C0C9 BattleFrontier_BattleDomeBattleRoom_EventScript_24C0C9:: @ 824C0C9
compare VAR_TEMP_F, 3 compare VAR_TEMP_F, 3
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C105 goto_if_ne BattleFrontier_BattleDomeBattleRoom_EventScript_24C105
switch VAR_TEMP_E switch VAR_TEMP_E
case 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C158 case 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C158
case 2, BattleFrontier_BattleDomeBattleRoom_EventScript_24C161 case 2, BattleFrontier_BattleDomeBattleRoom_EventScript_24C161
@@ -430,7 +430,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C211:: @ 824C211
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 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 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24CFAE, MSGBOX_DEFAULT
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
@@ -450,7 +450,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C2B9:: @ 824C2B9
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62 goto_if_ne BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62
closemessage closemessage
applymovement 15, BattleFrontier_BattleDomeBattleRoom_Movement_24C82B applymovement 15, BattleFrontier_BattleDomeBattleRoom_Movement_24C82B
waitmovement 0 waitmovement 0
@@ -469,7 +469,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C346:: @ 824C346
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 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 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D319, MSGBOX_DEFAULT
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
@@ -489,7 +489,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C373:: @ 824C373
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62 goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62
closemessage closemessage
applymovement 15, BattleFrontier_BattleDomeBattleRoom_Movement_24C82B applymovement 15, BattleFrontier_BattleDomeBattleRoom_Movement_24C82B
waitmovement 0 waitmovement 0
@@ -556,12 +556,12 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C48B:: @ 824C48B
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 3 compare VAR_RESULT, 3
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C4EF goto_if_ne BattleFrontier_BattleDomeBattleRoom_EventScript_24C4EF
setvar VAR_0x8004, 9 setvar VAR_0x8004, 9
special CallFrontierUtilFunc special CallFrontierUtilFunc
copyvar VAR_TEMP_E, VAR_RESULT copyvar VAR_TEMP_E, VAR_RESULT
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C4EF goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C4EF
call BattleFrontier_BattleDomeBattleRoom_EventScript_242170 call BattleFrontier_BattleDomeBattleRoom_EventScript_242170
setobjectxyperm 15, 13, 9 setobjectxyperm 15, 13, 9
removeobject 15 removeobject 15
@@ -573,7 +573,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C4EF:: @ 824C4EF
BattleFrontier_BattleDomeBattleRoom_MapScript1_24C4F0: @ 824C4F0 BattleFrontier_BattleDomeBattleRoom_MapScript1_24C4F0: @ 824C4F0
compare VAR_TEMP_9, 1 compare VAR_TEMP_9, 1
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C4FC call_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C4FC
end end
BattleFrontier_BattleDomeBattleRoom_EventScript_24C4FC:: @ 824C4FC BattleFrontier_BattleDomeBattleRoom_EventScript_24C4FC:: @ 824C4FC
@@ -582,13 +582,13 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C4FC:: @ 824C4FC
BattleFrontier_BattleDomeBattleRoom_EventScript_24C502:: @ 824C502 BattleFrontier_BattleDomeBattleRoom_EventScript_24C502:: @ 824C502
compare VAR_TEMP_F, 0 compare VAR_TEMP_F, 0
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C52F call_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C52F
compare VAR_TEMP_F, 1 compare VAR_TEMP_F, 1
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C530 call_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C530
compare VAR_TEMP_F, 2 compare VAR_TEMP_F, 2
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C594 call_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C594
compare VAR_TEMP_F, 3 compare VAR_TEMP_F, 3
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C652 call_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C652
return return
BattleFrontier_BattleDomeBattleRoom_EventScript_24C52F:: @ 824C52F BattleFrontier_BattleDomeBattleRoom_EventScript_24C52F:: @ 824C52F
@@ -952,7 +952,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C8F5:: @ 824C8F5
BattleFrontier_BattleDomePreBattleRoom_EventScript_24C8F5:: @ 824C8F5 BattleFrontier_BattleDomePreBattleRoom_EventScript_24C8F5:: @ 824C8F5
copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE
compare VAR_RESULT, 1 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 warp MAP_BATTLE_FRONTIER_BATTLE_DOME_LOBBY, 255, 5, 11
waitstate waitstate
end end
@@ -966,14 +966,14 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C919:: @ 824C919
random 2 random 2
copyvar VAR_TEMP_D, VAR_RESULT copyvar VAR_TEMP_D, VAR_RESULT
compare VAR_TEMP_D, 0 compare VAR_TEMP_D, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_27374E goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_27374E
setobjectxyperm 6, 2, 0 setobjectxyperm 6, 2, 0
setobjectmovementtype 6, 10 setobjectmovementtype 6, 10
return return
BattleFrontier_BattleDomeBattleRoom_EventScript_24C938:: @ 824C938 BattleFrontier_BattleDomeBattleRoom_EventScript_24C938:: @ 824C938
compare VAR_TEMP_D, 0 compare VAR_TEMP_D, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_27374E goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_27374E
applymovement 6, BattleFrontier_BattleDomeBattleRoom_Movement_24C95E applymovement 6, BattleFrontier_BattleDomeBattleRoom_Movement_24C95E
return return
@@ -13,7 +13,7 @@ BattleFrontier_BattleDomeCorridor_EventScript_24B10E:: @ 824B10E
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomeCorridor_EventScript_24B161 goto_if_eq BattleFrontier_BattleDomeCorridor_EventScript_24B161
applymovement 1, BattleFrontier_BattleDomeCorridor_Movement_24B1B2 applymovement 1, BattleFrontier_BattleDomeCorridor_Movement_24B1B2
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeCorridor_Movement_24B1A1 applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeCorridor_Movement_24B1A1
waitmovement 0 waitmovement 0
@@ -62,7 +62,7 @@ BattleFrontier_BattleDomeLobby_EventScript_24989B:: @ 824989B
setvar VAR_0x8004, 10 setvar VAR_0x8004, 10
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomeLobby_EventScript_2498C1 goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_2498C1
msgbox BattleFrontier_BattleDomeLobby_Text_24A4E9, MSGBOX_DEFAULT msgbox BattleFrontier_BattleDomeLobby_Text_24A4E9, MSGBOX_DEFAULT
goto BattleFrontier_BattleDomeLobby_EventScript_2498C9 goto BattleFrontier_BattleDomeLobby_EventScript_2498C9
@@ -128,7 +128,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249991:: @ 8249991
waitse waitse
call BattleFrontier_BattleDomeLobby_EventScript_23E8E0 call BattleFrontier_BattleDomeLobby_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomeLobby_EventScript_2499E9 goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_2499E9
message BattleFrontier_BattleDomeLobby_Text_24AE17 message BattleFrontier_BattleDomeLobby_Text_24AE17
waitmessage waitmessage
multichoicedefault 20, 8, 94, 1, 0 multichoicedefault 20, 8, 94, 1, 0
@@ -183,15 +183,15 @@ BattleFrontier_BattleDomeLobby_EventScript_249A47:: @ 8249A47
BattleFrontier_BattleDomeLobby_EventScript_249A59:: @ 8249A59 BattleFrontier_BattleDomeLobby_EventScript_249A59:: @ 8249A59
special SavePlayerParty special SavePlayerParty
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249CFD call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249CFD
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D06 call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D06
BattleFrontier_BattleDomeLobby_EventScript_249A72:: @ 8249A72 BattleFrontier_BattleDomeLobby_EventScript_249A72:: @ 8249A72
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D0F call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D0F
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D15 call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D15
waitmessage waitmessage
multichoice 17, 6, 23, 0 multichoice 17, 6, 23, 0
switch VAR_RESULT switch VAR_RESULT
@@ -210,7 +210,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249ABF:: @ 8249ABF
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleDomeLobby_EventScript_249C15 goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_249C15
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT copyvar VAR_0x8006, VAR_RESULT
@@ -223,7 +223,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249ABF:: @ 8249ABF
special sub_80F9490 special sub_80F9490
waitstate waitstate
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeLobby_EventScript_249C61 goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_249C61
msgbox BattleFrontier_BattleDomeLobby_Text_24A1C6, MSGBOX_YESNO msgbox BattleFrontier_BattleDomeLobby_Text_24A1C6, MSGBOX_YESNO
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleDomeLobby_EventScript_249C61 case 0, BattleFrontier_BattleDomeLobby_EventScript_249C61
@@ -251,7 +251,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249B60:: @ 8249B60
call BattleFrontier_BattleDomeLobby_EventScript_27134F call BattleFrontier_BattleDomeLobby_EventScript_27134F
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeLobby_EventScript_249C4A goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_249C4A
setvar VAR_0x8004, 22 setvar VAR_0x8004, 22
special CallBattleDomeFunction special CallBattleDomeFunction
@@ -273,9 +273,9 @@ BattleFrontier_BattleDomeLobby_EventScript_249BC2:: @ 8249BC2
BattleFrontier_BattleDomeLobby_EventScript_249BFA:: @ 8249BFA BattleFrontier_BattleDomeLobby_EventScript_249BFA:: @ 8249BFA
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D1B call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D1B
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D24 call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D24
goto BattleFrontier_BattleDomeLobby_EventScript_249A72 goto BattleFrontier_BattleDomeLobby_EventScript_249A72
BattleFrontier_BattleDomeLobby_EventScript_249C15:: @ 8249C15 BattleFrontier_BattleDomeLobby_EventScript_249C15:: @ 8249C15
@@ -310,26 +310,26 @@ BattleFrontier_BattleDomeLobby_EventScript_249C6C:: @ 8249C6C
BattleFrontier_BattleDomeLobby_EventScript_249C6E:: @ 8249C6E BattleFrontier_BattleDomeLobby_EventScript_249C6E:: @ 8249C6E
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249CDD call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249CDD
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249CE5 call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249CE5
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeLobby_Movement_249D45 applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeLobby_Movement_249D45
waitmovement 0 waitmovement 0
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D2D call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D2D
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D33 call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D33
waitdooranim waitdooranim
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249CED call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249CED
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249CF5 call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249CF5
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeLobby_Movement_249D4E applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeLobby_Movement_249D4E
waitmovement 0 waitmovement 0
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D39 call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D39
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D3F call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D3F
waitdooranim waitdooranim
return return
@@ -435,13 +435,13 @@ BattleFrontier_BattleDomeLobby_EventScript_249D84:: @ 8249D84
setvar VAR_0x8005, 9 setvar VAR_0x8005, 9
special CallBattleDomeFunction special CallBattleDomeFunction
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249DC9 call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249DC9
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249DD2 call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249DD2
compare VAR_RESULT, 2 compare VAR_RESULT, 2
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249DDB call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249DDB
compare VAR_RESULT, 3 compare VAR_RESULT, 3
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249DE4 call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249DE4
fadescreen 1 fadescreen 1
setvar VAR_0x8004, 8 setvar VAR_0x8004, 8
special CallBattleDomeFunction special CallBattleDomeFunction
@@ -18,7 +18,7 @@ BattleFrontier_BattleDomePreBattleRoom_MapScript2_24B218: @ 824B218
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B222:: @ 824B222 BattleFrontier_BattleDomePreBattleRoom_EventScript_24B222:: @ 824B222
compare VAR_0x8006, 1 compare VAR_0x8006, 1
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5C7 goto_if_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5C7
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 6 setvar VAR_0x8005, 6
setvar VAR_0x8006, 1 setvar VAR_0x8006, 1
@@ -34,7 +34,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F:: @ 824B24F
switch VAR_RESULT switch VAR_RESULT
call BattleFrontier_BattleDomePreBattleRoom_EventScript_23E8E0 call BattleFrontier_BattleDomePreBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B2C1 goto_if_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B2C1
multichoice 16, 0, 73, 1 multichoice 16, 0, 73, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3DD case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3DD
@@ -159,7 +159,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B46D:: @ 824B46D
setvar VAR_0x8004, 21 setvar VAR_0x8004, 21
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F goto_if_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 8 setvar VAR_0x8005, 8
special CallBattleDomeFunction special CallBattleDomeFunction
@@ -219,15 +219,13 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B54C:: @ 824B54C
return return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B58B:: @ 824B58B BattleFrontier_BattleDomePreBattleRoom_EventScript_24B58B:: @ 824B58B
checkflag FLAG_TEMP_1 goto_if_set FLAG_TEMP_1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5B5
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5B5
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24BB2E, MSGBOX_DEFAULT msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24BB2E, MSGBOX_DEFAULT
setflag FLAG_TEMP_1 setflag FLAG_TEMP_1
return return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5A0:: @ 824B5A0 BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5A0:: @ 824B5A0
checkflag FLAG_TEMP_1 goto_if_set FLAG_TEMP_1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5BE
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5BE
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24BBAC, MSGBOX_DEFAULT msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24BBAC, MSGBOX_DEFAULT
setflag FLAG_TEMP_1 setflag FLAG_TEMP_1
return return
@@ -9,14 +9,14 @@ BattleFrontier_BattleFactoryBattleRoom_MapScript1_25ADBB: @ 825ADBB
special CallFrontierUtilFunc special CallFrontierUtilFunc
checkplayergender checkplayergender
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE25 call_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE25
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE2B call_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE2B
setvar VAR_0x8004, 9 setvar VAR_0x8004, 9
special CallFrontierUtilFunc special CallFrontierUtilFunc
copyvar VAR_TEMP_F, VAR_RESULT copyvar VAR_TEMP_F, VAR_RESULT
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25ADF3 goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_25ADF3
end end
BattleFrontier_BattleFactoryBattleRoom_EventScript_25ADF3:: @ 825ADF3 BattleFrontier_BattleFactoryBattleRoom_EventScript_25ADF3:: @ 825ADF3
@@ -32,7 +32,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE0A:: @ 825AE0A
setvar VAR_TEMP_1, 1 setvar VAR_TEMP_1, 1
hideobjectat 255, MAP_BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM hideobjectat 255, MAP_BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM
compare VAR_TEMP_F, 0 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 hideobjectat 2, MAP_BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE24:: @ 825AE24 BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE24:: @ 825AE24
@@ -63,7 +63,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE3B:: @ 825AE3B
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE67:: @ 825AE67 BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE67:: @ 825AE67
compare VAR_TEMP_F, 0 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 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B
waitmovement 0 waitmovement 0
@@ -78,7 +78,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE67:: @ 825AE67
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEA7:: @ 825AEA7 BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEA7:: @ 825AEA7
compare VAR_TEMP_F, 0 compare VAR_TEMP_F, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF9C goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF9C
setvar VAR_0x8004, 5 setvar VAR_0x8004, 5
special CallBattlePalaceFunction special CallBattlePalaceFunction
lockall lockall
@@ -111,7 +111,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF0F:: @ 825AF0F
setvar VAR_0x8005, 3 setvar VAR_0x8005, 3
special CallBattleFactoryFunction special CallBattleFactoryFunction
compare VAR_RESULT, 9999 compare VAR_RESULT, 9999
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF3E goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF3E
addvar VAR_RESULT, 1 addvar VAR_RESULT, 1
setorcopyvar VAR_0x8006, VAR_RESULT setorcopyvar VAR_0x8006, VAR_RESULT
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
@@ -152,7 +152,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF9C:: @ 825AF9C
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 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 msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B1FB, MSGBOX_DEFAULT
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
@@ -162,14 +162,14 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AFEF:: @ 825AFEF
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B3F1, MSGBOX_DEFAULT msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B3F1, MSGBOX_DEFAULT
call BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0 call BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B00C goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B00C
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEF8 goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEF8
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B00C:: @ 825B00C BattleFrontier_BattleFactoryBattleRoom_EventScript_25B00C:: @ 825B00C
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 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 msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B42D, MSGBOX_DEFAULT
closemessage closemessage
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B182 applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B182
@@ -188,7 +188,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B051:: @ 825B051
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 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 msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B517, MSGBOX_DEFAULT
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
@@ -198,14 +198,14 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B07E:: @ 825B07E
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B5CF, MSGBOX_DEFAULT msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B5CF, MSGBOX_DEFAULT
call BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0 call BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B09B goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B09B
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEF8 goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEF8
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B09B:: @ 825B09B BattleFrontier_BattleFactoryBattleRoom_EventScript_25B09B:: @ 825B09B
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105 goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B5E7, MSGBOX_DEFAULT msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B5E7, MSGBOX_DEFAULT
waitmessage waitmessage
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B182 applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B182
@@ -237,7 +237,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105:: @ 825B105
setvar VAR_0x8005, 3 setvar VAR_0x8005, 3
special CallBattleFactoryFunction special CallBattleFactoryFunction
compare VAR_RESULT, 9999 compare VAR_RESULT, 9999
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF3E goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF3E
addvar VAR_RESULT, 1 addvar VAR_RESULT, 1
setorcopyvar VAR_0x8006, VAR_RESULT setorcopyvar VAR_0x8006, VAR_RESULT
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
@@ -247,7 +247,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105:: @ 825B105
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special CallBattleFactoryFunction special CallBattleFactoryFunction
compare VAR_RESULT, 9999 compare VAR_RESULT, 9999
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF43 goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF43
addvar VAR_RESULT, 1 addvar VAR_RESULT, 1
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
@@ -293,7 +293,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B190:: @ 825B190
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25B190:: @ 825B190 BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25B190:: @ 825B190
copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE
compare VAR_RESULT, 1 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 warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY, 255, 4, 8
waitstate waitstate
end end
@@ -56,7 +56,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_25849B:: @ 825849B
setvar VAR_0x8004, 10 setvar VAR_0x8004, 10
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryLobby_EventScript_2584BD goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2584BD
msgbox BattleFrontier_BattleFactoryLobby_Text_258D93, MSGBOX_DEFAULT msgbox BattleFrontier_BattleFactoryLobby_Text_258D93, MSGBOX_DEFAULT
waitmessage waitmessage
goto BattleFrontier_BattleFactoryLobby_EventScript_2584C6 goto BattleFrontier_BattleFactoryLobby_EventScript_2584C6
@@ -103,7 +103,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_258506:: @ 8258506
BattleFrontier_BattleFactoryLobby_EventScript_25853B:: @ 825853B BattleFrontier_BattleFactoryLobby_EventScript_25853B:: @ 825853B
call BattleFrontier_BattleFactoryLobby_EventScript_23E8E0 call BattleFrontier_BattleFactoryLobby_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryLobby_EventScript_258582 goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_258582
message BattleFrontier_BattleFactoryLobby_Text_259388 message BattleFrontier_BattleFactoryLobby_Text_259388
waitmessage waitmessage
multichoicedefault 20, 8, 94, 1, 0 multichoicedefault 20, 8, 94, 1, 0
@@ -156,15 +156,15 @@ BattleFrontier_BattleFactoryLobby_EventScript_2585DD:: @ 82585DD
BattleFrontier_BattleFactoryLobby_EventScript_2585ED:: @ 82585ED BattleFrontier_BattleFactoryLobby_EventScript_2585ED:: @ 82585ED
special SavePlayerParty special SavePlayerParty
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587B1 call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2587B1
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587BA call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2587BA
BattleFrontier_BattleFactoryLobby_EventScript_258606:: @ 8258606 BattleFrontier_BattleFactoryLobby_EventScript_258606:: @ 8258606
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587C3 call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2587C3
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587C9 call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2587C9
waitmessage waitmessage
multichoice 17, 6, 23, 0 multichoice 17, 6, 23, 0
switch VAR_RESULT switch VAR_RESULT
@@ -211,7 +211,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_2586B9:: @ 82586B9
call BattleFrontier_BattleFactoryLobby_EventScript_27134F call BattleFrontier_BattleFactoryLobby_EventScript_27134F
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleFactoryLobby_EventScript_258783 goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_258783
setvar VAR_0x8006, 0 setvar VAR_0x8006, 0
BattleFrontier_BattleFactoryLobby_EventScript_25871A:: @ 825871A BattleFrontier_BattleFactoryLobby_EventScript_25871A:: @ 825871A
@@ -219,9 +219,9 @@ BattleFrontier_BattleFactoryLobby_EventScript_25871A:: @ 825871A
msgbox BattleFrontier_BattleFactoryLobby_Text_258CB1, MSGBOX_DEFAULT msgbox BattleFrontier_BattleFactoryLobby_Text_258CB1, MSGBOX_DEFAULT
closemessage closemessage
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_25875C call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_25875C
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_258762 call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_258762
applymovement VAR_LAST_TALKED, BattleFrontier_BattleFactoryLobby_Movement_2587A7 applymovement VAR_LAST_TALKED, BattleFrontier_BattleFactoryLobby_Movement_2587A7
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryLobby_Movement_2587AC applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryLobby_Movement_2587AC
waitmovement 0 waitmovement 0
@@ -240,9 +240,9 @@ BattleFrontier_BattleFactoryLobby_EventScript_258762:: @ 8258762
BattleFrontier_BattleFactoryLobby_EventScript_258768:: @ 8258768 BattleFrontier_BattleFactoryLobby_EventScript_258768:: @ 8258768
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587CF call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2587CF
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587D8 call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2587D8
goto BattleFrontier_BattleFactoryLobby_EventScript_258606 goto BattleFrontier_BattleFactoryLobby_EventScript_258606
BattleFrontier_BattleFactoryLobby_EventScript_258783:: @ 8258783 BattleFrontier_BattleFactoryLobby_EventScript_258783:: @ 8258783
@@ -10,7 +10,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_MapScript2_259AC5: @ 8259AC5
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259ACF:: @ 8259ACF BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259ACF:: @ 8259ACF
setvar VAR_TEMP_1, 1 setvar VAR_TEMP_1, 1
compare VAR_0x8006, 1 compare VAR_0x8006, 1
goto_if 5, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259AEA goto_if_ne BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259AEA
setobjectxy 1, 8, 7 setobjectxy 1, 8, 7
turnobject 1, 1 turnobject 1, 1
@@ -24,13 +24,13 @@ BattleFrontier_BattleFactoryPreBattleRoom_MapScript2_259AEF: @ 8259AEF
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259AF9:: @ 8259AF9 BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259AF9:: @ 8259AF9
compare VAR_0x8006, 1 compare VAR_0x8006, 1
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259BA5 goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259BA5
setvar VAR_TEMP_0, 1 setvar VAR_TEMP_0, 1
applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1AC applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1AC
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A19A applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A19A
waitmovement 0 waitmovement 0
compare VAR_0x8006, 2 compare VAR_0x8006, 2
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E69 goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E69
setvar VAR_0x8004, 13 setvar VAR_0x8004, 13
special CallBattleFactoryFunction special CallBattleFactoryFunction
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
@@ -56,9 +56,9 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74:: @ 8259B74
closemessage closemessage
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23F2B7 call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23F2B7
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A17C call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A17C
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A18B call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A18B
waitmovement 0 waitmovement 0
warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM, 255, 6, 11 warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM, 255, 6, 11
waitstate waitstate
@@ -76,7 +76,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259BA5:: @ 8259BA5
setvar VAR_0x8004, 9 setvar VAR_0x8004, 9
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C26 goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C26
playse 263 playse 263
waitse waitse
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AC15, MSGBOX_DEFAULT msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AC15, MSGBOX_DEFAULT
@@ -97,27 +97,27 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13:: @ 8259C13
setvar VAR_0x8004, 9 setvar VAR_0x8004, 9
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9 goto_if_ne BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C26:: @ 8259C26 BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C26:: @ 8259C26
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E1D call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E1D
compare VAR_RESULT, 2 compare VAR_RESULT, 2
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E24 call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E24
compare VAR_RESULT, 3 compare VAR_RESULT, 3
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E2B call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E2B
compare VAR_RESULT, 4 compare VAR_RESULT, 4
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E32 call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E32
compare VAR_RESULT, 5 compare VAR_RESULT, 5
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E39 call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E39
compare VAR_RESULT, 6 compare VAR_RESULT, 6
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E40 call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E40
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23E8E0 call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259CC6 goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259CC6
multichoice 19, 4, 103, 1 multichoice 19, 4, 103, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D98 case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D98
@@ -186,7 +186,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259DF2:: @ 8259DF2
special CallBattleFactoryFunction special CallBattleFactoryFunction
waitstate waitstate
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74 goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
setvar VAR_0x8004, 8 setvar VAR_0x8004, 8
special CallBattleFactoryFunction special CallBattleFactoryFunction
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB6C, MSGBOX_DEFAULT msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB6C, MSGBOX_DEFAULT
@@ -250,41 +250,41 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E69:: @ 8259E69
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E93:: @ 8259E93 BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E93:: @ 8259E93
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A3B4, MSGBOX_DEFAULT msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A3B4, MSGBOX_DEFAULT
compare VAR_0x8005, 0 compare VAR_0x8005, 0
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F62 call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F62
compare VAR_0x8005, 1 compare VAR_0x8005, 1
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F6B call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F6B
compare VAR_0x8005, 2 compare VAR_0x8005, 2
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F74 call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F74
compare VAR_0x8005, 3 compare VAR_0x8005, 3
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F7D call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F7D
compare VAR_0x8005, 4 compare VAR_0x8005, 4
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F86 call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F86
compare VAR_0x8005, 5 compare VAR_0x8005, 5
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F8F call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F8F
compare VAR_0x8005, 6 compare VAR_0x8005, 6
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F98 call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F98
compare VAR_0x8005, 7 compare VAR_0x8005, 7
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FA1 call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FA1
compare VAR_0x8005, 8 compare VAR_0x8005, 8
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FAA call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FAA
compare VAR_0x8005, 10 compare VAR_0x8005, 10
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FB3 call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FB3
compare VAR_0x8005, 11 compare VAR_0x8005, 11
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FBC call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FBC
compare VAR_0x8005, 12 compare VAR_0x8005, 12
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FC5 call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FC5
compare VAR_0x8005, 13 compare VAR_0x8005, 13
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FCE call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FCE
compare VAR_0x8005, 14 compare VAR_0x8005, 14
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FD7 call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FD7
compare VAR_0x8005, 15 compare VAR_0x8005, 15
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FE0 call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FE0
compare VAR_0x8005, 16 compare VAR_0x8005, 16
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FE9 call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FE9
compare VAR_0x8005, 17 compare VAR_0x8005, 17
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FF2 call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FF2
compare VAR_0x8005, 18 compare VAR_0x8005, 18
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FFB call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FFB
return return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F62:: @ 8259F62 BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F62:: @ 8259F62
@@ -361,23 +361,23 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FFB:: @ 8259FFB
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A004:: @ 825A004 BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A004:: @ 825A004
compare VAR_0x8006, 0 compare VAR_0x8006, 0
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A068 call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A068
compare VAR_0x8006, 1 compare VAR_0x8006, 1
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A071 call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A071
compare VAR_0x8006, 2 compare VAR_0x8006, 2
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A07A call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A07A
compare VAR_0x8006, 3 compare VAR_0x8006, 3
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A083 call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A083
compare VAR_0x8006, 4 compare VAR_0x8006, 4
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A08C call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A08C
compare VAR_0x8006, 5 compare VAR_0x8006, 5
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A095 call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A095
compare VAR_0x8006, 6 compare VAR_0x8006, 6
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A09E call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A09E
compare VAR_0x8006, 7 compare VAR_0x8006, 7
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0A7 call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0A7
compare VAR_0x8006, 8 compare VAR_0x8006, 8
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B0 call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B0
return return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A068:: @ 825A068 BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A068:: @ 825A068
@@ -421,7 +421,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9:: @ 825A0B9
waitmessage waitmessage
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23E8E0 call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A110 goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A110
multichoice 19, 4, 103, 1 multichoice 19, 4, 103, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A146 case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A146
@@ -13,9 +13,9 @@ BattleFrontier_BattlePalaceBattleRoom_MapScript1_24F825: @ 824F825
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F833:: @ 824F833 BattleFrontier_BattlePalaceBattleRoom_EventScript_24F833:: @ 824F833
checkplayergender checkplayergender
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F84B goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F84B
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F856 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F856
return return
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F84B:: @ 824F84B BattleFrontier_BattlePalaceBattleRoom_EventScript_24F84B:: @ 824F84B
@@ -38,7 +38,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24F86B:: @ 824F86B
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8B5 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8B5
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE9B applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE9B
waitmovement 0 waitmovement 0
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC
@@ -107,25 +107,25 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A:: @ 824F98A
special CallFrontierUtilFunc special CallFrontierUtilFunc
copyvar VAR_TEMP_F, VAR_RESULT copyvar VAR_TEMP_F, VAR_RESULT
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB61 goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB61
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE66 call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE66
compare VAR_RESULT, 2 compare VAR_RESULT, 2
call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE6D call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE6D
compare VAR_RESULT, 3 compare VAR_RESULT, 3
call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE74 call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE74
compare VAR_RESULT, 4 compare VAR_RESULT, 4
call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE7B call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE7B
compare VAR_RESULT, 5 compare VAR_RESULT, 5
call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE82 call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE82
compare VAR_RESULT, 6 compare VAR_RESULT, 6
call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE89 call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE89
call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0 call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA42 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA42
multichoice 19, 4, 103, 1 multichoice 19, 4, 103, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB14 case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB14
@@ -199,7 +199,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB3F:: @ 824FB3F
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB61:: @ 824FB61 BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB61:: @ 824FB61
compare VAR_TEMP_2, 1 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 msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2500DD, MSGBOX_DEFAULT
setvar VAR_TEMP_2, 1 setvar VAR_TEMP_2, 1
@@ -208,7 +208,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB79:: @ 824FB79
waitmessage waitmessage
call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0 call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FBD0 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FBD0
multichoice 19, 4, 103, 1 multichoice 19, 4, 103, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FC06 case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FC06
@@ -248,7 +248,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FC06:: @ 824FC06
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 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 msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2501C1, MSGBOX_DEFAULT
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
@@ -258,7 +258,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA:: @ 824FCAA
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2502C4, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2502C4, MSGBOX_DEFAULT
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7 call BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7:: @ 824FCC7 BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7:: @ 824FCC7
@@ -267,7 +267,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7:: @ 824FCC7
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 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 msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2502FF, MSGBOX_DEFAULT
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99 applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC
@@ -291,7 +291,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD3A:: @ 824FD3A
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 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 msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250485, MSGBOX_DEFAULT
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
@@ -301,7 +301,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67:: @ 824FD67
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250572, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250572, MSGBOX_DEFAULT
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7 call BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84:: @ 824FD84 BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84:: @ 824FD84
@@ -310,7 +310,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84:: @ 824FD84
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_25057E, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_25057E, MSGBOX_DEFAULT
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99 applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC
@@ -461,7 +461,7 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_24FEB6: @ 824FEB6
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FEBB:: @ 824FEBB BattleFrontier_BattlePalaceBattleRoom_EventScript_24FEBB:: @ 824FEBB
copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE
compare VAR_RESULT, 1 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 warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY, 255, 5, 7
waitstate waitstate
end end
@@ -15,21 +15,21 @@ BattleFrontier_BattlePalaceCorridor_EventScript_24F4B3:: @ 824F4B3
setvar VAR_0x8004, 3 setvar VAR_0x8004, 3
special CallBattlePalaceFunction special CallBattlePalaceFunction
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattlePalaceCorridor_EventScript_24F58B call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F58B
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattlePalaceCorridor_EventScript_24F594 call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F594
compare VAR_RESULT, 2 compare VAR_RESULT, 2
call_if 1, BattleFrontier_BattlePalaceCorridor_EventScript_24F59D call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F59D
compare VAR_RESULT, 3 compare VAR_RESULT, 3
call_if 1, BattleFrontier_BattlePalaceCorridor_EventScript_24F5A6 call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F5A6
compare VAR_RESULT, 4 compare VAR_RESULT, 4
call_if 1, BattleFrontier_BattlePalaceCorridor_EventScript_24F5AF call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F5AF
closemessage closemessage
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F553 goto_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F553
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5BD applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5BD
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5C4 applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5C4
waitmovement 0 waitmovement 0
@@ -50,7 +50,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D817:: @ 824D817
setvar VAR_0x8004, 10 setvar VAR_0x8004, 10
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24D838 goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24D838
msgbox BattleFrontier_BattlePalaceLobby_Text_24E497, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_24E497, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24D840 goto BattleFrontier_BattlePalaceLobby_EventScript_24D840
@@ -98,7 +98,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D8A1:: @ 824D8A1
waitse waitse
call BattleFrontier_BattlePalaceLobby_EventScript_23E8E0 call BattleFrontier_BattlePalaceLobby_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24D907 goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24D907
message BattleFrontier_BattlePalaceLobby_Text_24EF16 message BattleFrontier_BattlePalaceLobby_Text_24EF16
waitmessage waitmessage
multichoicedefault 20, 8, 94, 1, 0 multichoicedefault 20, 8, 94, 1, 0
@@ -151,18 +151,18 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D968:: @ 824D968
setvar VAR_0x8005, 0 setvar VAR_0x8005, 0
special CallBattlePalaceFunction special CallBattlePalaceFunction
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePalaceLobby_EventScript_24D817 goto_if_ne BattleFrontier_BattlePalaceLobby_EventScript_24D817
special SavePlayerParty special SavePlayerParty
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DB9E call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB9E
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DBA7 call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DBA7
BattleFrontier_BattlePalaceLobby_EventScript_24D999:: @ 824D999 BattleFrontier_BattlePalaceLobby_EventScript_24D999:: @ 824D999
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DBB0 call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DBB0
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DBB6 call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DBB6
waitmessage waitmessage
multichoice 17, 6, 23, 0 multichoice 17, 6, 23, 0
switch VAR_RESULT switch VAR_RESULT
@@ -181,7 +181,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D9E6:: @ 824D9E6
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB45 goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB45
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT copyvar VAR_0x8006, VAR_RESULT
@@ -194,7 +194,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D9E6:: @ 824D9E6
special sub_80F9490 special sub_80F9490
waitstate waitstate
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB91 goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB91
msgbox BattleFrontier_BattlePalaceLobby_Text_24E3C8, MSGBOX_YESNO msgbox BattleFrontier_BattlePalaceLobby_Text_24E3C8, MSGBOX_YESNO
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceLobby_EventScript_24DB91 case 0, BattleFrontier_BattlePalaceLobby_EventScript_24DB91
@@ -226,7 +226,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DA87:: @ 824DA87
call BattleFrontier_BattlePalaceLobby_EventScript_27134F call BattleFrontier_BattlePalaceLobby_EventScript_27134F
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB7A goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB7A
BattleFrontier_BattlePalaceLobby_EventScript_24DAF3:: @ 824DAF3 BattleFrontier_BattlePalaceLobby_EventScript_24DAF3:: @ 824DAF3
special SavePlayerParty special SavePlayerParty
@@ -243,7 +243,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DAF3:: @ 824DAF3
BattleFrontier_BattlePalaceLobby_EventScript_24DB20:: @ 824DB20 BattleFrontier_BattlePalaceLobby_EventScript_24DB20:: @ 824DB20
compare VAR_FRONTIER_BATTLE_MODE, 1 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 msgbox BattleFrontier_BattlePalaceLobby_Text_24DE17, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24D999 goto BattleFrontier_BattlePalaceLobby_EventScript_24D999
@@ -299,24 +299,24 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DBB6:: @ 824DBB6
BattleFrontier_BattlePalaceLobby_EventScript_24DBBC:: @ 824DBBC BattleFrontier_BattlePalaceLobby_EventScript_24DBBC:: @ 824DBBC
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC23 call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC23
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC29 call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC29
applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_24DC47 applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_24DC47
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceLobby_Movement_24DC47 applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceLobby_Movement_24DC47
waitmovement 0 waitmovement 0
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC2F call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC2F
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC35 call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC35
waitdooranim waitdooranim
applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_24DC49 applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_24DC49
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceLobby_Movement_24DC4C applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceLobby_Movement_24DC4C
waitmovement 0 waitmovement 0
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC3B call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC3B
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC41 call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC41
waitdooranim waitdooranim
return return
@@ -52,7 +52,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B762:: @ 825B762
setvar VAR_0x8004, 10 setvar VAR_0x8004, 10
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePikeLobby_EventScript_25B784 goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_25B784
msgbox BattleFrontier_BattlePikeLobby_Text_25C18A, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeLobby_Text_25C18A, MSGBOX_DEFAULT
waitmessage waitmessage
goto BattleFrontier_BattlePikeLobby_EventScript_25B78D goto BattleFrontier_BattlePikeLobby_EventScript_25B78D
@@ -150,7 +150,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B8BB:: @ 825B8BB
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq BattleFrontier_BattlePikeLobby_EventScript_25BA27 goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_25BA27
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT copyvar VAR_0x8006, VAR_RESULT
@@ -163,7 +163,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B8BB:: @ 825B8BB
special sub_80F9490 special sub_80F9490
waitstate waitstate
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePikeLobby_EventScript_25BA73 goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_25BA73
msgbox BattleFrontier_BattlePikeLobby_Text_25C0D8, MSGBOX_YESNO msgbox BattleFrontier_BattlePikeLobby_Text_25C0D8, MSGBOX_YESNO
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattlePikeLobby_EventScript_25BA73 case 0, BattleFrontier_BattlePikeLobby_EventScript_25BA73
@@ -200,7 +200,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B95C:: @ 825B95C
setvar VAR_0x8004, 26 setvar VAR_0x8004, 26
special CallBattlePikeFunction special CallBattlePikeFunction
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePikeLobby_EventScript_25BA5C goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_25BA5C
special SavePlayerParty special SavePlayerParty
setvar VAR_0x8004, 3 setvar VAR_0x8004, 3
setvar VAR_0x8005, 3 setvar VAR_0x8005, 3
@@ -146,7 +146,7 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D2FB:: @ 825D2FB
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 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 msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DED2, MSGBOX_DEFAULT
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
@@ -156,14 +156,14 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3BD:: @ 825D3BD
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DF71, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DF71, MSGBOX_DEFAULT
call BattleFrontier_BattlePikeRandomRoom1_EventScript_25D77B call BattleFrontier_BattlePikeRandomRoom1_EventScript_25D77B
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3DA goto_if_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3DA
goto BattleFrontier_BattlePikeRandomRoom1_EventScript_25D20A goto BattleFrontier_BattlePikeRandomRoom1_EventScript_25D20A
BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3DA:: @ 825D3DA BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3DA:: @ 825D3DA
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 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 msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DFA2, MSGBOX_DEFAULT
waitmessage waitmessage
playfanfare MUS_ME_SYMBOLGET playfanfare MUS_ME_SYMBOLGET
@@ -181,7 +181,7 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D416:: @ 825D416
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 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 msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E02C, MSGBOX_DEFAULT
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
@@ -191,14 +191,14 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D443:: @ 825D443
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E0E8, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E0E8, MSGBOX_DEFAULT
call BattleFrontier_BattlePikeRandomRoom1_EventScript_25D77B call BattleFrontier_BattlePikeRandomRoom1_EventScript_25D77B
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D460 goto_if_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D460
goto BattleFrontier_BattlePikeRandomRoom1_EventScript_25D20A goto BattleFrontier_BattlePikeRandomRoom1_EventScript_25D20A
BattleFrontier_BattlePikeRandomRoom1_EventScript_25D460:: @ 825D460 BattleFrontier_BattlePikeRandomRoom1_EventScript_25D460:: @ 825D460
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D49D goto_if_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D49D
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E0F6, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E0F6, MSGBOX_DEFAULT
waitmessage waitmessage
playfanfare MUS_ME_SYMBOLGET playfanfare MUS_ME_SYMBOLGET
@@ -321,9 +321,9 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D605:: @ 825D605
special CallBattlePikeFunction special CallBattlePikeFunction
copyvar VAR_0x8004, VAR_RESULT copyvar VAR_0x8004, VAR_RESULT
compare VAR_0x8004, 0 compare VAR_0x8004, 0
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D643 call_if_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D643
compare VAR_0x8004, 1 compare VAR_0x8004, 1
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D6D5 call_if_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D6D5
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DD3F, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DD3F, MSGBOX_DEFAULT
closemessage closemessage
releaseall releaseall
@@ -338,13 +338,13 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D643:: @ 825D643
setvar VAR_0x8004, 11 setvar VAR_0x8004, 11
special CallBattlePikeFunction special CallBattlePikeFunction
compare VAR_RESULT, 2 compare VAR_RESULT, 2
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D751 call_if_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D751
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D758 call_if_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D758
compare VAR_RESULT, 3 compare VAR_RESULT, 3
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D75F call_if_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D75F
compare VAR_RESULT, 4 compare VAR_RESULT, 4
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D766 call_if_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D766
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special CallBattlePikeFunction special CallBattlePikeFunction
waitstate waitstate
@@ -375,9 +375,9 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D6D5:: @ 825D6D5
setvar VAR_0x8004, 11 setvar VAR_0x8004, 11
special CallBattlePikeFunction special CallBattlePikeFunction
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D76D call_if_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D76D
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D774 call_if_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D774
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special CallBattlePikeFunction special CallBattlePikeFunction
waitstate waitstate
@@ -608,9 +608,9 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D83E:: @ 825D83E
setvar VAR_0x8004, 13 setvar VAR_0x8004, 13
special CallBattlePikeFunction special CallBattlePikeFunction
compare VAR_RESULT, 2 compare VAR_RESULT, 2
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D881 call_if_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D881
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D875 call_if_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D875
playfanfare MUS_ME_ASA playfanfare MUS_ME_ASA
waitfanfare waitfanfare
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DABE, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DABE, MSGBOX_DEFAULT
@@ -39,9 +39,9 @@ BattleFrontier_BattlePikeRandomRoom3_MapScript1_25E47A: @ 825E47A
setvar VAR_0x8005, 5 setvar VAR_0x8005, 5
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3 goto_if_eq BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3
compare VAR_RESULT, 3 compare VAR_RESULT, 3
goto_eq BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3 goto_if_eq BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3
end end
BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3:: @ 825E4A3 BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3:: @ 825E4A3
@@ -169,7 +169,7 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA78:: @ 825CA78
setvar VAR_0x8004, 17 setvar VAR_0x8004, 17
special CallBattlePikeFunction special CallBattlePikeFunction
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA91 goto_if_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA91
setvar VAR_TEMP_5, 255 setvar VAR_TEMP_5, 255
end end
@@ -192,7 +192,7 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_25CABB:: @ 825CABB
setvar VAR_0x8004, 19 setvar VAR_0x8004, 19
special CallBattlePikeFunction special CallBattlePikeFunction
compare VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_25CBC2 goto_if_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_25CBC2
lock lock
faceplayer faceplayer
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CE69, MSGBOX_YESNO msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CE69, MSGBOX_YESNO
@@ -15,29 +15,29 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D:: @ 825F07D
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A:: @ 825F08A BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A:: @ 825F08A
specialvar VAR_TEMP_1, sub_813AA04 specialvar VAR_TEMP_1, sub_813AA04
compare VAR_TEMP_1, VAR_0x8008 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 msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE86, MSGBOX_DEFAULT
compare VAR_TEMP_2, 0 compare VAR_TEMP_2, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
compare VAR_TEMP_2, 1 compare VAR_TEMP_2, 1
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
compare VAR_TEMP_2, 2 compare VAR_TEMP_2, 2
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
end end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0C9:: @ 825F0C9 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0C9:: @ 825F0C9
compare VAR_TEMP_2, 0 compare VAR_TEMP_2, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5
compare VAR_TEMP_2, 1 compare VAR_TEMP_2, 1
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F12A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F12A
end end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5:: @ 825F0E5 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5:: @ 825F0E5
checkdecorspace VAR_0x8009 checkdecorspace VAR_0x8009
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F11D goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F11D
copyvar VAR_0x8004, VAR_0x8008 copyvar VAR_0x8004, VAR_0x8008
special sub_813A9A4 special sub_813A9A4
givedecoration VAR_0x8009 givedecoration VAR_0x8009
@@ -45,7 +45,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5:: @ 825F0E5
playse SE_REGI playse SE_REGI
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE45, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE45, MSGBOX_DEFAULT
compare VAR_TEMP_2, 0 compare VAR_TEMP_2, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
end end
@@ -58,7 +58,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F11D:: @ 825F11D
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F12A:: @ 825F12A BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F12A:: @ 825F12A
checkitemspace VAR_0x8009, 1 checkitemspace VAR_0x8009, 1
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F166 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F166
copyvar VAR_0x8004, VAR_0x8008 copyvar VAR_0x8004, VAR_0x8008
special sub_813A9A4 special sub_813A9A4
giveitem VAR_0x8009, 1 giveitem VAR_0x8009, 1
@@ -66,7 +66,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F12A:: @ 825F12A
playse SE_REGI playse SE_REGI
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE72, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE72, MSGBOX_DEFAULT
compare VAR_TEMP_2, 2 compare VAR_TEMP_2, 2
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
end end
@@ -108,7 +108,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185:: @ 825F185
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F21E:: @ 825F21E BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F21E:: @ 825F21E
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8B6, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8B6, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 16 setvar VAR_0x8008, 16
setvar VAR_0x8009, 75 setvar VAR_0x8009, 75
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -117,7 +117,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F21E:: @ 825F21E
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F241:: @ 825F241 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F241:: @ 825F241
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8E6, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8E6, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 32 setvar VAR_0x8008, 32
setvar VAR_0x8009, 103 setvar VAR_0x8009, 103
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -126,7 +126,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F241:: @ 825F241
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F264:: @ 825F264 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F264:: @ 825F264
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F917, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F917, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 32 setvar VAR_0x8008, 32
setvar VAR_0x8009, 87 setvar VAR_0x8009, 87
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -135,7 +135,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F264:: @ 825F264
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F287:: @ 825F287 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F287:: @ 825F287
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F949, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F949, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48 setvar VAR_0x8008, 48
setvar VAR_0x8009, 79 setvar VAR_0x8009, 79
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -144,7 +144,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F287:: @ 825F287
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2AA:: @ 825F2AA BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2AA:: @ 825F2AA
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F979, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F979, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48 setvar VAR_0x8008, 48
setvar VAR_0x8009, 84 setvar VAR_0x8009, 84
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -153,7 +153,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2AA:: @ 825F2AA
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2CD:: @ 825F2CD BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2CD:: @ 825F2CD
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9A9, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9A9, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48 setvar VAR_0x8008, 48
setvar VAR_0x8009, 85 setvar VAR_0x8009, 85
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -162,7 +162,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2CD:: @ 825F2CD
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2F0:: @ 825F2F0 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2F0:: @ 825F2F0
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9DB, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9DB, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48 setvar VAR_0x8008, 48
setvar VAR_0x8009, 86 setvar VAR_0x8009, 86
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -171,7 +171,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2F0:: @ 825F2F0
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F313:: @ 825F313 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F313:: @ 825F313
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA0A, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA0A, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 80 setvar VAR_0x8008, 80
setvar VAR_0x8009, 80 setvar VAR_0x8009, 80
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -180,7 +180,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F313:: @ 825F313
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F336:: @ 825F336 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F336:: @ 825F336
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA3D, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA3D, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 80 setvar VAR_0x8008, 80
setvar VAR_0x8009, 81 setvar VAR_0x8009, 81
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -189,7 +189,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F336:: @ 825F336
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F359:: @ 825F359 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F359:: @ 825F359
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA70, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA70, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 80 setvar VAR_0x8008, 80
setvar VAR_0x8009, 82 setvar VAR_0x8009, 82
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -222,7 +222,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E:: @ 825F38E
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F3F0:: @ 825F3F0 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F3F0:: @ 825F3F0
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAA2, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAA2, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 128 setvar VAR_0x8008, 128
setvar VAR_0x8009, 113 setvar VAR_0x8009, 113
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -231,7 +231,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F3F0:: @ 825F3F0
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F413:: @ 825F413 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F413:: @ 825F413
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAD2, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAD2, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 128 setvar VAR_0x8008, 128
setvar VAR_0x8009, 111 setvar VAR_0x8009, 111
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -240,7 +240,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F413:: @ 825F413
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F436:: @ 825F436 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F436:: @ 825F436
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB03, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB03, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 256 setvar VAR_0x8008, 256
setvar VAR_0x8009, 114 setvar VAR_0x8009, 114
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -249,7 +249,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F436:: @ 825F436
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F459:: @ 825F459 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F459:: @ 825F459
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB35, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB35, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 256 setvar VAR_0x8008, 256
setvar VAR_0x8009, 115 setvar VAR_0x8009, 115
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -258,7 +258,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F459:: @ 825F459
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F47C:: @ 825F47C BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F47C:: @ 825F47C
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB68, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB68, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 256 setvar VAR_0x8008, 256
setvar VAR_0x8009, 116 setvar VAR_0x8009, 116
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -292,7 +292,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1:: @ 825F4B1
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F51E:: @ 825F51E BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F51E:: @ 825F51E
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB9B, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB9B, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1 setvar VAR_0x8008, 1
setvar VAR_0x8009, 64 setvar VAR_0x8009, 64
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -301,7 +301,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F51E:: @ 825F51E
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F541:: @ 825F541 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F541:: @ 825F541
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBC7, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBC7, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1 setvar VAR_0x8008, 1
setvar VAR_0x8009, 67 setvar VAR_0x8009, 67
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -310,7 +310,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F541:: @ 825F541
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F564:: @ 825F564 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F564:: @ 825F564
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBF3, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBF3, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1 setvar VAR_0x8008, 1
setvar VAR_0x8009, 65 setvar VAR_0x8009, 65
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -319,7 +319,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F564:: @ 825F564
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F587:: @ 825F587 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F587:: @ 825F587
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC1C, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC1C, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1 setvar VAR_0x8008, 1
setvar VAR_0x8009, 70 setvar VAR_0x8009, 70
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -328,7 +328,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F587:: @ 825F587
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5AA:: @ 825F5AA BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5AA:: @ 825F5AA
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC45, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC45, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1 setvar VAR_0x8008, 1
setvar VAR_0x8009, 66 setvar VAR_0x8009, 66
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -337,7 +337,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5AA:: @ 825F5AA
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5CD:: @ 825F5CD BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5CD:: @ 825F5CD
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC70, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC70, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1 setvar VAR_0x8008, 1
setvar VAR_0x8009, 63 setvar VAR_0x8009, 63
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -374,7 +374,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602:: @ 825F602
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F690:: @ 825F690 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F690:: @ 825F690
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE17, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE17, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48 setvar VAR_0x8008, 48
setvar VAR_0x8009, 200 setvar VAR_0x8009, 200
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -383,7 +383,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F690:: @ 825F690
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6B3:: @ 825F6B3 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6B3:: @ 825F6B3
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCCB, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCCB, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48 setvar VAR_0x8008, 48
setvar VAR_0x8009, 180 setvar VAR_0x8009, 180
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -392,7 +392,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6B3:: @ 825F6B3
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6D6:: @ 825F6D6 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6D6:: @ 825F6D6
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCFA, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCFA, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48 setvar VAR_0x8008, 48
setvar VAR_0x8009, 183 setvar VAR_0x8009, 183
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -401,7 +401,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6D6:: @ 825F6D6
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6F9:: @ 825F6F9 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6F9:: @ 825F6F9
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD29, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD29, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48 setvar VAR_0x8008, 48
setvar VAR_0x8009, 185 setvar VAR_0x8009, 185
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -410,7 +410,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6F9:: @ 825F6F9
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F71C:: @ 825F71C BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F71C:: @ 825F71C
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC9A, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC9A, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64 setvar VAR_0x8008, 64
setvar VAR_0x8009, 179 setvar VAR_0x8009, 179
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -419,7 +419,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F71C:: @ 825F71C
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F73F:: @ 825F73F BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F73F:: @ 825F73F
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD59, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD59, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64 setvar VAR_0x8008, 64
setvar VAR_0x8009, 186 setvar VAR_0x8009, 186
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -428,7 +428,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F73F:: @ 825F73F
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F762:: @ 825F762 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F762:: @ 825F762
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD89, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD89, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64 setvar VAR_0x8008, 64
setvar VAR_0x8009, 187 setvar VAR_0x8009, 187
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -437,7 +437,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F762:: @ 825F762
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F785:: @ 825F785 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F785:: @ 825F785
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDB9, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDB9, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64 setvar VAR_0x8008, 64
setvar VAR_0x8009, 196 setvar VAR_0x8009, 196
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -446,7 +446,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F785:: @ 825F785
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7A8:: @ 825F7A8 BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7A8:: @ 825F7A8
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDE8, MSGBOX_YESNO msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDE8, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602 goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64 setvar VAR_0x8008, 64
setvar VAR_0x8009, 198 setvar VAR_0x8009, 198
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
@@ -22,7 +22,7 @@ BattleFrontier_BattlePyramidEmptySquare_EventScript_252A77:: @ 8252A77
special CallBattlePyramidFunction special CallBattlePyramidFunction
delay 2 delay 2
compare VAR_RESULT, 2 compare VAR_RESULT, 2
goto_if 5, BattleFrontier_BattlePyramidEmptySquare_EventScript_252A77 goto_if_ne BattleFrontier_BattlePyramidEmptySquare_EventScript_252A77
setvar VAR_TEMP_D, 0 setvar VAR_TEMP_D, 0
releaseall releaseall
end end
@@ -50,17 +50,17 @@ BattleFrontier_BattlePyramidEmptySquare_MapScript1_252AA2: @ 8252AA2
setvar VAR_0x8005, 5 setvar VAR_0x8005, 5
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39 goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39
compare VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39 goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39 goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39
compare VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42 goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
compare VAR_RESULT, 3 compare VAR_RESULT, 3
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42 goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
compare VAR_RESULT, 9 compare VAR_RESULT, 9
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42 goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
setvar VAR_0x8004, 14 setvar VAR_0x8004, 14
setvar VAR_0x8005, 8 setvar VAR_0x8005, 8
special CallFrontierUtilFunc special CallFrontierUtilFunc
@@ -135,7 +135,7 @@ BattleFrontier_BattlePyramidEmptySquare_EventScript_252BE8:: @ 8252BE8
copyvar VAR_0x8006, VAR_RESULT copyvar VAR_0x8006, VAR_RESULT
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 7 compare VAR_RESULT, 7
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252C45 goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252C45
setvar VAR_0x8004, 6 setvar VAR_0x8004, 6
special CallBattlePyramidFunction special CallBattlePyramidFunction
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
@@ -167,7 +167,7 @@ BattleFrontier_BattlePyramidEmptySquare_EventScript_252C6A:: @ 8252C6A
special CallBattlePyramidFunction special CallBattlePyramidFunction
callstd STD_FIND_ITEM callstd STD_FIND_ITEM
compare VAR_0x8007, 0 compare VAR_0x8007, 0
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252C87 goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252C87
setvar VAR_0x8004, 8 setvar VAR_0x8004, 8
special CallBattlePyramidFunction special CallBattlePyramidFunction
@@ -53,7 +53,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_2507B1:: @ 82507B1
setvar VAR_0x8004, 10 setvar VAR_0x8004, 10
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_2507D2 goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_2507D2
msgbox BattleFrontier_BattlePyramidLobby_Text_2517B5, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePyramidLobby_Text_2517B5, MSGBOX_DEFAULT
goto BattleFrontier_BattlePyramidLobby_EventScript_2507DA goto BattleFrontier_BattlePyramidLobby_EventScript_2507DA
@@ -63,7 +63,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_2507D2:: @ 82507D2
BattleFrontier_BattlePyramidLobby_EventScript_2507DA:: @ 82507DA BattleFrontier_BattlePyramidLobby_EventScript_2507DA:: @ 82507DA
special sub_81B95E0 special sub_81B95E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattlePyramidLobby_EventScript_250DDB call_if_eq BattleFrontier_BattlePyramidLobby_EventScript_250DDB
clearflag FLAG_SPECIAL_FLAG_0x4004 clearflag FLAG_SPECIAL_FLAG_0x4004
setvar VAR_0x8004, 8 setvar VAR_0x8004, 8
special CallFrontierUtilFunc special CallFrontierUtilFunc
@@ -154,7 +154,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250904:: @ 8250904
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250A75 goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_250A75
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT copyvar VAR_0x8006, VAR_RESULT
@@ -167,7 +167,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250904:: @ 8250904
special sub_80F9490 special sub_80F9490
waitstate waitstate
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250AC1 goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_250AC1
msgbox BattleFrontier_BattlePyramidLobby_Text_2514E6, MSGBOX_YESNO msgbox BattleFrontier_BattlePyramidLobby_Text_2514E6, MSGBOX_YESNO
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattlePyramidLobby_EventScript_250AC1 case 0, BattleFrontier_BattlePyramidLobby_EventScript_250AC1
@@ -203,7 +203,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_2509A5:: @ 82509A5
call BattleFrontier_BattlePyramidLobby_EventScript_27134F call BattleFrontier_BattlePyramidLobby_EventScript_27134F
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250AAA goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_250AAA
BattleFrontier_BattlePyramidLobby_EventScript_250A21:: @ 8250A21 BattleFrontier_BattlePyramidLobby_EventScript_250A21:: @ 8250A21
special SavePlayerParty special SavePlayerParty
@@ -286,7 +286,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250B28:: @ 8250B28
setvar VAR_0x8005, 5 setvar VAR_0x8005, 5
special CallBattlePyramidFunction special CallBattlePyramidFunction
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePyramidLobby_EventScript_250B53 goto_if_ne BattleFrontier_BattlePyramidLobby_EventScript_250B53
setvar VAR_RESULT, 0 setvar VAR_RESULT, 0
goto BattleFrontier_BattlePyramidLobby_EventScript_250BA4 goto BattleFrontier_BattlePyramidLobby_EventScript_250BA4
return return
@@ -304,7 +304,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250B66:: @ 8250B66
setvar VAR_0x8005, 6 setvar VAR_0x8005, 6
special CallBattlePyramidFunction special CallBattlePyramidFunction
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePyramidLobby_EventScript_250B91 goto_if_ne BattleFrontier_BattlePyramidLobby_EventScript_250B91
setvar VAR_RESULT, 0 setvar VAR_RESULT, 0
goto BattleFrontier_BattlePyramidLobby_EventScript_250BA4 goto BattleFrontier_BattlePyramidLobby_EventScript_250BA4
return return
@@ -441,7 +441,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250D56:: @ 8250D56
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special CallBattlePyramidFunction special CallBattlePyramidFunction
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250D94 goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_250D94
msgbox BattleFrontier_BattlePyramidLobby_Text_2515AD, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePyramidLobby_Text_2515AD, MSGBOX_DEFAULT
goto BattleFrontier_BattlePyramidLobby_EventScript_250D9C goto BattleFrontier_BattlePyramidLobby_EventScript_250D9C
@@ -497,7 +497,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250DDB:: @ 8250DDB
setflag FLAG_SPECIAL_FLAG_0x4004 setflag FLAG_SPECIAL_FLAG_0x4004
special sub_81C6A94 special sub_81C6A94
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250E00 goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_250E00
message BattleFrontier_BattlePyramidLobby_Text_2518C6 message BattleFrontier_BattlePyramidLobby_Text_2518C6
waitmessage waitmessage
goto BattleFrontier_BattlePyramidLobby_EventScript_250E09 goto BattleFrontier_BattlePyramidLobby_EventScript_250E09
@@ -535,7 +535,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250E50:: @ 8250E50
BattleFrontier_BattlePyramidLobby_EventScript_250E60:: @ 8250E60 BattleFrontier_BattlePyramidLobby_EventScript_250E60:: @ 8250E60
special sub_81B95E0 special sub_81B95E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250E6F goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_250E6F
return return
BattleFrontier_BattlePyramidLobby_EventScript_250E6F:: @ 8250E6F BattleFrontier_BattlePyramidLobby_EventScript_250E6F:: @ 8250E6F
@@ -21,7 +21,7 @@ BattleFrontier_BattlePyramidTop_EventScript_2550D8:: @ 82550D8
setvar VAR_TEMP_1, 1 setvar VAR_TEMP_1, 1
turnobject 255, 2 turnobject 255, 2
compare VAR_TEMP_C, 0 compare VAR_TEMP_C, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_2550F3 goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_2550F3
setobjectxyperm 2, 0, 0 setobjectxyperm 2, 0, 0
BattleFrontier_BattlePyramidTop_EventScript_2550F3:: @ 82550F3 BattleFrontier_BattlePyramidTop_EventScript_2550F3:: @ 82550F3
@@ -31,7 +31,7 @@ BattleFrontier_BattlePyramidTop_MapScript1_2550F4: @ 82550F4
setvar VAR_0x8004, 9 setvar VAR_0x8004, 9
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidTop_EventScript_25510C goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_25510C
call BattleFrontier_BattlePyramidTop_EventScript_242170 call BattleFrontier_BattlePyramidTop_EventScript_242170
BattleFrontier_BattlePyramidTop_EventScript_25510C:: @ 825510C BattleFrontier_BattlePyramidTop_EventScript_25510C:: @ 825510C
@@ -46,11 +46,11 @@ BattleFrontier_BattlePyramidTop_EventScript_25510C:: @ 825510C
setvar VAR_0x8005, 5 setvar VAR_0x8005, 5
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePyramidTop_EventScript_252B42 goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
compare VAR_RESULT, 3 compare VAR_RESULT, 3
goto_eq BattleFrontier_BattlePyramidTop_EventScript_252B42 goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
compare VAR_RESULT, 9 compare VAR_RESULT, 9
goto_eq BattleFrontier_BattlePyramidTop_EventScript_252B42 goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
end end
BattleFrontier_BattlePyramidTop_MapScript2_25516E: @ 825516E BattleFrontier_BattlePyramidTop_MapScript2_25516E: @ 825516E
@@ -89,9 +89,9 @@ BattleFrontier_BattlePyramidTop_EventScript_2551D0:: @ 82551D0
lock lock
faceplayer faceplayer
compare VAR_TEMP_D, 0 compare VAR_TEMP_D, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_255236 goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_255236
compare VAR_TEMP_C, 0 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 msgbox BattleFrontier_BattlePyramidTop_Text_255410, MSGBOX_DEFAULT
closemessage closemessage
applymovement 1, BattleFrontier_BattlePyramidTop_Movement_2553FD applymovement 1, BattleFrontier_BattlePyramidTop_Movement_2553FD
@@ -137,7 +137,7 @@ BattleFrontier_BattlePyramidTop_EventScript_255256:: @ 8255256
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_2552D0 goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_2552D0
special SpawnCameraObject special SpawnCameraObject
applymovement EVENT_OBJ_ID_CAMERA, BattleFrontier_BattlePyramidTop_Movement_25540C applymovement EVENT_OBJ_ID_CAMERA, BattleFrontier_BattlePyramidTop_Movement_25540C
waitmovement 0 waitmovement 0
@@ -161,14 +161,14 @@ BattleFrontier_BattlePyramidTop_EventScript_2552DA:: @ 82552DA
call BattleFrontier_BattlePyramidTop_EventScript_2553ED call BattleFrontier_BattlePyramidTop_EventScript_2553ED
playbgm MUS_PYRAMID_TOP, 0 playbgm MUS_PYRAMID_TOP, 0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePyramidTop_EventScript_2552FB goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_2552FB
goto BattleFrontier_BattlePyramidTop_EventScript_252B42 goto BattleFrontier_BattlePyramidTop_EventScript_252B42
BattleFrontier_BattlePyramidTop_EventScript_2552FB:: @ 82552FB BattleFrontier_BattlePyramidTop_EventScript_2552FB:: @ 82552FB
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 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 msgbox BattleFrontier_BattlePyramidTop_Text_255873, MSGBOX_DEFAULT
playfanfare MUS_ME_SYMBOLGET playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattlePyramidTop_Text_2558E9 message BattleFrontier_BattlePyramidTop_Text_2558E9
@@ -184,7 +184,7 @@ BattleFrontier_BattlePyramidTop_EventScript_255335:: @ 8255335
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_255388 goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_255388
special SpawnCameraObject special SpawnCameraObject
applymovement EVENT_OBJ_ID_CAMERA, BattleFrontier_BattlePyramidTop_Movement_25540C applymovement EVENT_OBJ_ID_CAMERA, BattleFrontier_BattlePyramidTop_Movement_25540C
waitmovement 0 waitmovement 0
@@ -208,14 +208,14 @@ BattleFrontier_BattlePyramidTop_EventScript_255392:: @ 8255392
call BattleFrontier_BattlePyramidTop_EventScript_2553ED call BattleFrontier_BattlePyramidTop_EventScript_2553ED
playbgm MUS_PYRAMID_TOP, 0 playbgm MUS_PYRAMID_TOP, 0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePyramidTop_EventScript_2553B3 goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_2553B3
goto BattleFrontier_BattlePyramidTop_EventScript_252B42 goto BattleFrontier_BattlePyramidTop_EventScript_252B42
BattleFrontier_BattlePyramidTop_EventScript_2553B3:: @ 82553B3 BattleFrontier_BattlePyramidTop_EventScript_2553B3:: @ 82553B3
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePyramidTop_EventScript_25521A goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_25521A
msgbox BattleFrontier_BattlePyramidTop_Text_255ACD, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePyramidTop_Text_255ACD, MSGBOX_DEFAULT
playfanfare MUS_ME_SYMBOLGET playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattlePyramidTop_Text_255B59 message BattleFrontier_BattlePyramidTop_Text_255B59
@@ -24,7 +24,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241B6C:: @ 8241B6C
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241BC3 goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241BC3
applymovement 2, BattleFrontier_BattleTowerBattleRoom_Movement_24218D applymovement 2, BattleFrontier_BattleTowerBattleRoom_Movement_24218D
waitmovement 0 waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleTowerBattleRoom_Movement_24217E applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleTowerBattleRoom_Movement_24217E
@@ -76,7 +76,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241C2F:: @ 8241C2F
setvar VAR_0x8004, 9 setvar VAR_0x8004, 9
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_241EC3 call_if_ne BattleFrontier_BattleTowerBattleRoom_EventScript_241EC3
applymovement 2, BattleFrontier_BattleTowerBattleRoom_Movement_24218D applymovement 2, BattleFrontier_BattleTowerBattleRoom_Movement_24218D
waitmovement 0 waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleTowerBattleRoom_Movement_24217E applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleTowerBattleRoom_Movement_24217E
@@ -91,14 +91,14 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F:: @ 8241C8F
special CallFrontierUtilFunc special CallFrontierUtilFunc
copyvar VAR_TEMP_F, VAR_RESULT copyvar VAR_TEMP_F, VAR_RESULT
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_241F0A goto_if_ne BattleFrontier_BattleTowerBattleRoom_EventScript_241F0A
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special CallFrontierUtilFunc special CallFrontierUtilFunc
call BattleFrontier_BattleTowerBattleRoom_EventScript_241E44 call BattleFrontier_BattleTowerBattleRoom_EventScript_241E44
call BattleFrontier_BattleTowerBattleRoom_EventScript_23E8E0 call BattleFrontier_BattleTowerBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241D0A goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241D0A
multichoice 19, 4, 103, 1 multichoice 19, 4, 103, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleTowerBattleRoom_EventScript_241DDC case 0, BattleFrontier_BattleTowerBattleRoom_EventScript_241DDC
@@ -246,7 +246,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241EC3:: @ 8241EC3
BattleFrontier_BattleTowerBattleRoom_EventScript_241F0A:: @ 8241F0A BattleFrontier_BattleTowerBattleRoom_EventScript_241F0A:: @ 8241F0A
compare VAR_TEMP_2, 1 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 msgbox BattleFrontier_BattleTowerBattleRoom_Text_2424C2, MSGBOX_DEFAULT
setvar VAR_TEMP_2, 1 setvar VAR_TEMP_2, 1
@@ -255,7 +255,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241F22:: @ 8241F22
waitmessage waitmessage
call BattleFrontier_BattleTowerBattleRoom_EventScript_23E8E0 call BattleFrontier_BattleTowerBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241F79 goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241F79
multichoice 19, 4, 103, 1 multichoice 19, 4, 103, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleTowerBattleRoom_EventScript_241FAF case 0, BattleFrontier_BattleTowerBattleRoom_EventScript_241FAF
@@ -290,7 +290,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241FAF:: @ 8241FAF
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 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 msgbox BattleFrontier_BattleTowerBattleRoom_Text_242579, MSGBOX_DEFAULT
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
@@ -300,7 +300,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_242029:: @ 8242029
msgbox BattleFrontier_BattleTowerBattleRoom_Text_24268C, MSGBOX_DEFAULT msgbox BattleFrontier_BattleTowerBattleRoom_Text_24268C, MSGBOX_DEFAULT
call BattleFrontier_BattleTowerBattleRoom_EventScript_24210E call BattleFrontier_BattleTowerBattleRoom_EventScript_24210E
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_242046 goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_242046
goto BattleFrontier_BattleTowerBattleRoom_EventScript_241C03 goto BattleFrontier_BattleTowerBattleRoom_EventScript_241C03
BattleFrontier_BattleTowerBattleRoom_EventScript_242046:: @ 8242046 BattleFrontier_BattleTowerBattleRoom_EventScript_242046:: @ 8242046
@@ -308,7 +308,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_242046:: @ 8242046
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 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 msgbox BattleFrontier_BattleTowerBattleRoom_Text_2426B4, MSGBOX_DEFAULT
playfanfare MUS_ME_SYMBOLGET playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattleTowerBattleRoom_Text_24270E message BattleFrontier_BattleTowerBattleRoom_Text_24270E
@@ -324,7 +324,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_242085:: @ 8242085
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 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 msgbox BattleFrontier_BattleTowerBattleRoom_Text_2427F9, MSGBOX_DEFAULT
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 7 setvar VAR_0x8005, 7
@@ -334,7 +334,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_2420B2:: @ 82420B2
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2428E0, MSGBOX_DEFAULT msgbox BattleFrontier_BattleTowerBattleRoom_Text_2428E0, MSGBOX_DEFAULT
call BattleFrontier_BattleTowerBattleRoom_EventScript_24210E call BattleFrontier_BattleTowerBattleRoom_EventScript_24210E
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2420CF goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2420CF
goto BattleFrontier_BattleTowerBattleRoom_EventScript_241C03 goto BattleFrontier_BattleTowerBattleRoom_EventScript_241C03
BattleFrontier_BattleTowerBattleRoom_EventScript_2420CF:: @ 82420CF BattleFrontier_BattleTowerBattleRoom_EventScript_2420CF:: @ 82420CF
@@ -342,7 +342,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_2420CF:: @ 82420CF
setvar VAR_0x8004, 12 setvar VAR_0x8004, 12
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6 goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2428F7, MSGBOX_DEFAULT msgbox BattleFrontier_BattleTowerBattleRoom_Text_2428F7, MSGBOX_DEFAULT
playfanfare MUS_ME_SYMBOLGET playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattleTowerBattleRoom_Text_242932 message BattleFrontier_BattleTowerBattleRoom_Text_242932
@@ -368,7 +368,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_24210E:: @ 824210E
waitstate waitstate
copyvar VAR_0x8004, VAR_FRONTIER_BATTLE_MODE copyvar VAR_0x8004, VAR_FRONTIER_BATTLE_MODE
compare VAR_0x8004, 3 compare VAR_0x8004, 3
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_24215A goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_24215A
setvar VAR_0x8004, 18 setvar VAR_0x8004, 18
special CallFrontierUtilFunc special CallFrontierUtilFunc
special HealPlayerParty special HealPlayerParty
@@ -486,11 +486,11 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_2421B8:: @ 82421B8
BattleFrontier_BattleTowerBattleRoom_EventScript_2421B8:: @ 82421B8 BattleFrontier_BattleTowerBattleRoom_EventScript_2421B8:: @ 82421B8
copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421E8 goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421E8
compare VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421F2 goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421F2
compare VAR_RESULT, 3 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 warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY, 255, 6, 6
waitstate waitstate
end end
@@ -6,9 +6,9 @@ BattleFrontier_BattleTowerBattleRoom2_MapScripts:: @ 8248EE8
BattleFrontier_BattleTowerBattleRoom2_MapScript1_248EF8: @ 8248EF8 BattleFrontier_BattleTowerBattleRoom2_MapScript1_248EF8: @ 8248EF8
compare VAR_FRONTIER_BATTLE_MODE, 2 compare VAR_FRONTIER_BATTLE_MODE, 2
call_if 1, BattleFrontier_BattleTowerBattleRoom2_EventScript_248F0F call_if_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_248F0F
compare VAR_FRONTIER_BATTLE_MODE, 3 compare VAR_FRONTIER_BATTLE_MODE, 3
call_if 1, BattleFrontier_BattleTowerBattleRoom2_EventScript_248F2F call_if_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_248F2F
end end
BattleFrontier_BattleTowerBattleRoom2_EventScript_248F0F:: @ 8248F0F BattleFrontier_BattleTowerBattleRoom2_EventScript_248F0F:: @ 8248F0F
@@ -16,7 +16,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_248F0F:: @ 8248F0F
special sub_8161F74 special sub_8161F74
checkplayergender checkplayergender
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_248F29 goto_if_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_248F29
setvar VAR_OBJ_GFX_ID_F, 0 setvar VAR_OBJ_GFX_ID_F, 0
return return
@@ -49,7 +49,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_248F4D:: @ 8248F4D
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_248FB4 goto_if_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_248FB4
applymovement 2, BattleFrontier_BattleTowerBattleRoom2_Movement_24953E applymovement 2, BattleFrontier_BattleTowerBattleRoom2_Movement_24953E
applymovement 3, BattleFrontier_BattleTowerBattleRoom2_Movement_24953E applymovement 3, BattleFrontier_BattleTowerBattleRoom2_Movement_24953E
waitmovement 0 waitmovement 0
@@ -71,7 +71,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_248FB4:: @ 8248FB4
applymovement 4, BattleFrontier_BattleTowerBattleRoom2_Movement_24952E applymovement 4, BattleFrontier_BattleTowerBattleRoom2_Movement_24952E
waitmovement 0 waitmovement 0
compare VAR_FRONTIER_BATTLE_MODE, 3 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_0x8004, 7
setvar VAR_0x8005, 0 setvar VAR_0x8005, 0
special sub_8161F74 special sub_8161F74
@@ -143,7 +143,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_2490AA:: @ 82490AA
applymovement 6, BattleFrontier_BattleTowerBattleRoom2_Movement_249524 applymovement 6, BattleFrontier_BattleTowerBattleRoom2_Movement_249524
waitmovement 0 waitmovement 0
compare VAR_FRONTIER_BATTLE_MODE, 3 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 msgbox BattleFrontier_BattleTowerBattleRoom2_Text_242217, MSGBOX_DEFAULT
goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249121 goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249121
@@ -158,7 +158,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_249121:: @ 8249121
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_FRONTIER_BATTLE_MODE, 3 compare VAR_FRONTIER_BATTLE_MODE, 3
call_if 1, BattleFrontier_BattleTowerBattleRoom2_EventScript_249514 call_if_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249514
playfanfare MUS_ME_ASA playfanfare MUS_ME_ASA
waitfanfare waitfanfare
special HealPlayerParty special HealPlayerParty
@@ -169,10 +169,10 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_249143:: @ 8249143
special CallFrontierUtilFunc special CallFrontierUtilFunc
call BattleFrontier_BattleTowerBattleRoom2_EventScript_2492FD call BattleFrontier_BattleTowerBattleRoom2_EventScript_2492FD
compare VAR_FRONTIER_BATTLE_MODE, 3 compare VAR_FRONTIER_BATTLE_MODE, 3
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249283 goto_if_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249283
call BattleFrontier_BattleTowerBattleRoom2_EventScript_23E8E0 call BattleFrontier_BattleTowerBattleRoom2_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_2491B1 goto_if_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_2491B1
multichoice 19, 4, 103, 1 multichoice 19, 4, 103, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleTowerBattleRoom2_EventScript_249283 case 0, BattleFrontier_BattleTowerBattleRoom2_EventScript_249283
@@ -257,7 +257,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_2492DB:: @ 82492DB
BattleFrontier_BattleTowerBattleRoom2_EventScript_2492FD:: @ 82492FD BattleFrontier_BattleTowerBattleRoom2_EventScript_2492FD:: @ 82492FD
compare VAR_FRONTIER_BATTLE_MODE, 3 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 copyvar VAR_TEMP_F, VAR_RESULT
switch VAR_TEMP_F switch VAR_TEMP_F
case 1, BattleFrontier_BattleTowerBattleRoom2_EventScript_249354 case 1, BattleFrontier_BattleTowerBattleRoom2_EventScript_249354
@@ -349,8 +349,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_249412:: @ 8249412
return return
BattleFrontier_BattleTowerBattleRoom2_EventScript_249417:: @ 8249417 BattleFrontier_BattleTowerBattleRoom2_EventScript_249417:: @ 8249417
checkflag FLAG_TEMP_2 goto_if_set FLAG_TEMP_2, BattleFrontier_BattleTowerBattleRoom2_EventScript_249457
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249457
multichoice 19, 6, 105, 1 multichoice 19, 6, 105, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleTowerBattleRoom2_EventScript_249483 case 0, BattleFrontier_BattleTowerBattleRoom2_EventScript_249483
@@ -375,7 +374,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_249483:: @ 8249483
special sub_813B568 special sub_813B568
waitstate waitstate
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleTowerBattleRoom2_EventScript_24907E goto_if_ne BattleFrontier_BattleTowerBattleRoom2_EventScript_24907E
goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249412 goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249412
end end
@@ -396,7 +395,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_2494DD:: @ 82494DD
waitmessage waitmessage
multichoicedefault 20, 8, 94, 1, 0 multichoicedefault 20, 8, 94, 1, 0
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_2494FA goto_if_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_2494FA
goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249143 goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249143
end end
@@ -5,7 +5,7 @@ BattleFrontier_BattleTowerCorridor_MapScripts:: @ 8241AAA
BattleFrontier_BattleTowerCorridor_MapScript1_241AB5: @ 8241AB5 BattleFrontier_BattleTowerCorridor_MapScript1_241AB5: @ 8241AB5
compare VAR_0x8006, 1 compare VAR_0x8006, 1
goto_eq BattleFrontier_BattleTowerCorridor_EventScript_241AD3 goto_if_eq BattleFrontier_BattleTowerCorridor_EventScript_241AD3
setmetatile 12, 0, 519, 0 setmetatile 12, 0, 519, 0
setmetatile 12, 1, 527, 0 setmetatile 12, 1, 527, 0
end end
@@ -22,7 +22,7 @@ BattleFrontier_BattleTowerCorridor_MapScript2_241AE6: @ 8241AE6
BattleFrontier_BattleTowerCorridor_EventScript_241AF0:: @ 8241AF0 BattleFrontier_BattleTowerCorridor_EventScript_241AF0:: @ 8241AF0
setvar VAR_TEMP_0, 1 setvar VAR_TEMP_0, 1
compare VAR_0x8006, 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 1, BattleFrontier_BattleTowerCorridor_Movement_241B3A
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleTowerCorridor_Movement_241B39 applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleTowerCorridor_Movement_241B39
waitmovement 0 waitmovement 0
@@ -6,9 +6,9 @@ BattleFrontier_BattleTowerCorridor2_MapScripts:: @ 8248D4A
BattleFrontier_BattleTowerCorridor2_MapScript1_248D5A: @ 8248D5A BattleFrontier_BattleTowerCorridor2_MapScript1_248D5A: @ 8248D5A
compare VAR_FRONTIER_BATTLE_MODE, 2 compare VAR_FRONTIER_BATTLE_MODE, 2
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248D71 call_if_eq BattleFrontier_BattleTowerCorridor2_EventScript_248D71
compare VAR_FRONTIER_BATTLE_MODE, 3 compare VAR_FRONTIER_BATTLE_MODE, 3
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248D91 call_if_eq BattleFrontier_BattleTowerCorridor2_EventScript_248D91
end end
BattleFrontier_BattleTowerCorridor2_EventScript_248D71:: @ 8248D71 BattleFrontier_BattleTowerCorridor2_EventScript_248D71:: @ 8248D71
@@ -16,7 +16,7 @@ BattleFrontier_BattleTowerCorridor2_EventScript_248D71:: @ 8248D71
special sub_8161F74 special sub_8161F74
checkplayergender checkplayergender
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerCorridor2_EventScript_248D8B goto_if_eq BattleFrontier_BattleTowerCorridor2_EventScript_248D8B
setvar VAR_OBJ_GFX_ID_F, 0 setvar VAR_OBJ_GFX_ID_F, 0
return return
@@ -88,13 +88,13 @@ BattleFrontier_BattleTowerCorridor2_EventScript_248DBC:: @ 8248DBC
BattleFrontier_BattleTowerCorridor2_EventScript_248E71:: @ 8248E71 BattleFrontier_BattleTowerCorridor2_EventScript_248E71:: @ 8248E71
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248E9E call_if_eq BattleFrontier_BattleTowerCorridor2_EventScript_248E9E
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248E9E call_if_eq BattleFrontier_BattleTowerCorridor2_EventScript_248E9E
compare VAR_FRONTIER_BATTLE_MODE, 2 compare VAR_FRONTIER_BATTLE_MODE, 2
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248EA8 call_if_eq BattleFrontier_BattleTowerCorridor2_EventScript_248EA8
compare VAR_FRONTIER_BATTLE_MODE, 3 compare VAR_FRONTIER_BATTLE_MODE, 3
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248EB2 call_if_eq BattleFrontier_BattleTowerCorridor2_EventScript_248EB2
return return
BattleFrontier_BattleTowerCorridor2_EventScript_248E9E:: @ 8248E9E BattleFrontier_BattleTowerCorridor2_EventScript_248E9E:: @ 8248E9E
@@ -25,13 +25,13 @@ BattleFrontier_BattleTowerElevator_EventScript_2419F0:: @ 82419F0
BattleFrontier_BattleTowerElevator_EventScript_241A28:: @ 8241A28 BattleFrontier_BattleTowerElevator_EventScript_241A28:: @ 8241A28
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattleTowerElevator_EventScript_241A55 call_if_eq BattleFrontier_BattleTowerElevator_EventScript_241A55
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattleTowerElevator_EventScript_241A55 call_if_eq BattleFrontier_BattleTowerElevator_EventScript_241A55
compare VAR_FRONTIER_BATTLE_MODE, 2 compare VAR_FRONTIER_BATTLE_MODE, 2
call_if 1, BattleFrontier_BattleTowerElevator_EventScript_241A5F call_if_eq BattleFrontier_BattleTowerElevator_EventScript_241A5F
compare VAR_FRONTIER_BATTLE_MODE, 3 compare VAR_FRONTIER_BATTLE_MODE, 3
call_if 1, BattleFrontier_BattleTowerElevator_EventScript_241A72 call_if_eq BattleFrontier_BattleTowerElevator_EventScript_241A72
return return
BattleFrontier_BattleTowerElevator_EventScript_241A55:: @ 8241A55 BattleFrontier_BattleTowerElevator_EventScript_241A55:: @ 8241A55
@@ -40,8 +40,7 @@ BattleFrontier_BattleTowerElevator_EventScript_241A55:: @ 8241A55
return return
BattleFrontier_BattleTowerElevator_EventScript_241A5F:: @ 8241A5F BattleFrontier_BattleTowerElevator_EventScript_241A5F:: @ 8241A5F
checkflag FLAG_0x152 goto_if_unset FLAG_0x152, BattleFrontier_BattleTowerElevator_EventScript_241A7C
goto_if 0, BattleFrontier_BattleTowerElevator_EventScript_241A7C
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_CORRIDOR2, 255, 7, 2 warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_CORRIDOR2, 255, 7, 2
waitstate waitstate
return return
@@ -14,9 +14,8 @@ BattleFrontier_BattleTowerLobby_MapScript1_23E694: @ 823E694
setvar VAR_0x8004, 10 setvar VAR_0x8004, 10
special CallApprenticeFunction special CallApprenticeFunction
compare VAR_0x8004, 0 compare VAR_0x8004, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E6B5 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23E6B5
checkflag FLAG_0x934 goto_if_set FLAG_0x934, BattleFrontier_BattleTowerLobby_EventScript_23E6C1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E6C1
BattleFrontier_BattleTowerLobby_EventScript_23E6B5:: @ 823E6B5 BattleFrontier_BattleTowerLobby_EventScript_23E6B5:: @ 823E6B5
clearflag FLAG_HIDE_APPRENTICE clearflag FLAG_HIDE_APPRENTICE
@@ -79,7 +78,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E758:: @ 823E758
setvar VAR_0x8004, 10 setvar VAR_0x8004, 10
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E778 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23E778
message BattleFrontier_BattleTowerLobby_Text_23F60D message BattleFrontier_BattleTowerLobby_Text_23F60D
waitmessage waitmessage
goto BattleFrontier_BattleTowerLobby_EventScript_23E780 goto BattleFrontier_BattleTowerLobby_EventScript_23E780
@@ -91,7 +90,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E780:: @ 823E780
setvar VAR_0x8004, 5 setvar VAR_0x8004, 5
special sub_8161F74 special sub_8161F74
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E7A5 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23E7A5
message BattleFrontier_BattleTowerLobby_Text_23F844 message BattleFrontier_BattleTowerLobby_Text_23F844
waitmessage waitmessage
playfanfare MUS_FANFA4 playfanfare MUS_FANFA4
@@ -108,7 +107,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E7A5:: @ 823E7A5
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_8161F74 special sub_8161F74
compare VAR_RESULT, 49 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 msgbox BattleFrontier_BattleTowerLobby_Text_23F79D, MSGBOX_DEFAULT
BattleFrontier_BattleTowerLobby_EventScript_23E7E2:: @ 823E7E2 BattleFrontier_BattleTowerLobby_EventScript_23E7E2:: @ 823E7E2
@@ -120,14 +119,13 @@ BattleFrontier_BattleTowerLobby_EventScript_23E7E2:: @ 823E7E2
BattleFrontier_BattleTowerLobby_EventScript_23E7F2:: @ 823E7F2 BattleFrontier_BattleTowerLobby_EventScript_23E7F2:: @ 823E7F2
compare VAR_FRONTIER_BATTLE_MODE, 2 compare VAR_FRONTIER_BATTLE_MODE, 2
goto_if 5, BattleFrontier_BattleTowerLobby_EventScript_23E81E goto_if_ne BattleFrontier_BattleTowerLobby_EventScript_23E81E
checkflag FLAG_0x152 goto_if_set FLAG_0x152, BattleFrontier_BattleTowerLobby_EventScript_23E81E
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E81E
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_8161F74 special sub_8161F74
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleTowerLobby_EventScript_23E830 goto_if_ne BattleFrontier_BattleTowerLobby_EventScript_23E830
BattleFrontier_BattleTowerLobby_EventScript_23E81E:: @ 823E81E BattleFrontier_BattleTowerLobby_EventScript_23E81E:: @ 823E81E
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
@@ -161,7 +159,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E84D:: @ 823E84D
waitse waitse
call BattleFrontier_BattleTowerLobby_EventScript_23E8E0 call BattleFrontier_BattleTowerLobby_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E8DF goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23E8DF
message BattleFrontier_BattleTowerLobby_Text_23FE3C message BattleFrontier_BattleTowerLobby_Text_23FE3C
waitmessage waitmessage
multichoicedefault 20, 8, 94, 1, 0 multichoicedefault 20, 8, 94, 1, 0
@@ -184,7 +182,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E8B4:: @ 823E8B4
setvar VAR_0x8004, 19 setvar VAR_0x8004, 19
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E8D7 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23E8D7
playse SE_SAVE playse SE_SAVE
msgbox BattleFrontier_BattleTowerLobby_Text_2423CD, MSGBOX_DEFAULT msgbox BattleFrontier_BattleTowerLobby_Text_2423CD, MSGBOX_DEFAULT
goto BattleFrontier_BattleTowerLobby_EventScript_23E8DF goto BattleFrontier_BattleTowerLobby_EventScript_23E8DF
@@ -215,7 +213,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E8EE:: @ 823E8EE
lock lock
faceplayer faceplayer
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23E930 call_if_eq BattleFrontier_BattleTowerLobby_EventScript_23E930
message BattleFrontier_BattleTowerLobby_Text_23F737 message BattleFrontier_BattleTowerLobby_Text_23F737
waitmessage waitmessage
message BattleFrontier_BattleTowerLobby_Text_23F754 message BattleFrontier_BattleTowerLobby_Text_23F754
@@ -264,7 +262,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E984:: @ 823E984
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT copyvar VAR_0x8006, VAR_RESULT
@@ -277,7 +275,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E984:: @ 823E984
special sub_80F9490 special sub_80F9490
waitstate waitstate
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, MSGBOX_YESNO msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, MSGBOX_YESNO
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleTowerLobby_EventScript_23F0E3 case 0, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
@@ -305,7 +303,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EA2A:: @ 823EA2A
call BattleFrontier_BattleTowerLobby_EventScript_27134F call BattleFrontier_BattleTowerLobby_EventScript_27134F
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
incrementgamestat 30 incrementgamestat 30
setvar VAR_0x40BC, 1 setvar VAR_0x40BC, 1
goto BattleFrontier_BattleTowerLobby_EventScript_23F0F3 goto BattleFrontier_BattleTowerLobby_EventScript_23F0F3
@@ -344,7 +342,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EAED:: @ 823EAED
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT copyvar VAR_0x8006, VAR_RESULT
@@ -357,7 +355,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EAED:: @ 823EAED
special sub_80F9490 special sub_80F9490
waitstate waitstate
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, MSGBOX_YESNO msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, MSGBOX_YESNO
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleTowerLobby_EventScript_23F0E3 case 0, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
@@ -385,7 +383,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EB93:: @ 823EB93
call BattleFrontier_BattleTowerLobby_EventScript_27134F call BattleFrontier_BattleTowerLobby_EventScript_27134F
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
incrementgamestat 30 incrementgamestat 30
setvar VAR_0x40BC, 0 setvar VAR_0x40BC, 0
goto BattleFrontier_BattleTowerLobby_EventScript_23F0F3 goto BattleFrontier_BattleTowerLobby_EventScript_23F0F3
@@ -425,7 +423,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EC59:: @ 823EC59
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT copyvar VAR_0x8006, VAR_RESULT
@@ -438,7 +436,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EC59:: @ 823EC59
special sub_80F9490 special sub_80F9490
waitstate waitstate
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, MSGBOX_YESNO msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, MSGBOX_YESNO
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleTowerLobby_EventScript_23F0E3 case 0, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
@@ -466,7 +464,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23ECFF:: @ 823ECFF
call BattleFrontier_BattleTowerLobby_EventScript_27134F call BattleFrontier_BattleTowerLobby_EventScript_27134F
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
incrementgamestat 30 incrementgamestat 30
setvar VAR_0x40BC, 0 setvar VAR_0x40BC, 0
goto BattleFrontier_BattleTowerLobby_EventScript_23F0F3 goto BattleFrontier_BattleTowerLobby_EventScript_23F0F3
@@ -505,7 +503,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EDC2:: @ 823EDC2
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT copyvar VAR_0x8006, VAR_RESULT
@@ -518,7 +516,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EDC2:: @ 823EDC2
special sub_80F9490 special sub_80F9490
waitstate waitstate
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, MSGBOX_YESNO msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, MSGBOX_YESNO
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleTowerLobby_EventScript_23F0E3 case 0, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
@@ -549,11 +547,11 @@ BattleFrontier_BattleTowerLobby_EventScript_23EE68:: @ 823EE68
call BattleFrontier_BattleTowerLobby_EventScript_27134F call BattleFrontier_BattleTowerLobby_EventScript_27134F
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
incrementgamestat 30 incrementgamestat 30
specialvar VAR_RESULT, IsWirelessAdapterConnected specialvar VAR_RESULT, IsWirelessAdapterConnected
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F3E8 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F3E8
goto BattleFrontier_BattleTowerLobby_EventScript_23F2C5 goto BattleFrontier_BattleTowerLobby_EventScript_23F2C5
end end
@@ -606,9 +604,9 @@ BattleFrontier_BattleTowerLobby_EventScript_23EF80:: @ 823EF80
BattleFrontier_BattleTowerLobby_EventScript_23EF8A:: @ 823EF8A BattleFrontier_BattleTowerLobby_EventScript_23EF8A:: @ 823EF8A
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23EFA1 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23EFA1
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23EFAB goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23EFAB
end end
BattleFrontier_BattleTowerLobby_EventScript_23EFA1:: @ 823EFA1 BattleFrontier_BattleTowerLobby_EventScript_23EFA1:: @ 823EFA1
@@ -744,7 +742,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23F108:: @ 823F108
special sub_8161F74 special sub_8161F74
delay 1 delay 1
compare VAR_RESULT, 6 compare VAR_RESULT, 6
goto_if 5, BattleFrontier_BattleTowerLobby_EventScript_23F108 goto_if_ne BattleFrontier_BattleTowerLobby_EventScript_23F108
call BattleFrontier_BattleTowerLobby_EventScript_23F135 call BattleFrontier_BattleTowerLobby_EventScript_23F135
clearflag FLAG_0x077 clearflag FLAG_0x077
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_ELEVATOR, 255, 1, 6 warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_ELEVATOR, 255, 1, 6
@@ -755,7 +753,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23F108:: @ 823F108
BattleFrontier_BattleTowerLobby_EventScript_23F135:: @ 823F135 BattleFrontier_BattleTowerLobby_EventScript_23F135:: @ 823F135
call BattleFrontier_BattleTowerLobby_EventScript_23F1A7 call BattleFrontier_BattleTowerLobby_EventScript_23F1A7
compare VAR_FRONTIER_BATTLE_MODE, 3 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 msgbox BattleFrontier_BattleTowerLobby_Text_23FE11, MSGBOX_DEFAULT
goto BattleFrontier_BattleTowerLobby_EventScript_23F15B goto BattleFrontier_BattleTowerLobby_EventScript_23F15B
@@ -808,13 +806,13 @@ BattleFrontier_BattleTowerLobby_Movement_23F1A0: @ 823F1A0
BattleFrontier_BattleTowerLobby_EventScript_23F1A7:: @ 823F1A7 BattleFrontier_BattleTowerLobby_EventScript_23F1A7:: @ 823F1A7
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F1D4 call_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F1D4
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F1D9 call_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F1D9
compare VAR_FRONTIER_BATTLE_MODE, 2 compare VAR_FRONTIER_BATTLE_MODE, 2
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F1DE call_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F1DE
compare VAR_FRONTIER_BATTLE_MODE, 3 compare VAR_FRONTIER_BATTLE_MODE, 3
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F1E3 call_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F1E3
return return
BattleFrontier_BattleTowerLobby_EventScript_23F1D4:: @ 823F1D4 BattleFrontier_BattleTowerLobby_EventScript_23F1D4:: @ 823F1D4
@@ -835,13 +833,13 @@ BattleFrontier_BattleTowerLobby_EventScript_23F1E3:: @ 823F1E3
BattleFrontier_BattleTowerLobby_EventScript_23F1E8:: @ 823F1E8 BattleFrontier_BattleTowerLobby_EventScript_23F1E8:: @ 823F1E8
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F215 call_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F215
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F21B call_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F21B
compare VAR_FRONTIER_BATTLE_MODE, 2 compare VAR_FRONTIER_BATTLE_MODE, 2
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F221 call_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F221
compare VAR_FRONTIER_BATTLE_MODE, 3 compare VAR_FRONTIER_BATTLE_MODE, 3
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F227 call_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F227
return return
BattleFrontier_BattleTowerLobby_EventScript_23F215:: @ 823F215 BattleFrontier_BattleTowerLobby_EventScript_23F215:: @ 823F215
@@ -862,13 +860,13 @@ BattleFrontier_BattleTowerLobby_EventScript_23F227:: @ 823F227
BattleFrontier_BattleTowerLobby_EventScript_23F22D:: @ 823F22D BattleFrontier_BattleTowerLobby_EventScript_23F22D:: @ 823F22D
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F25A call_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F25A
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F260 call_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F260
compare VAR_FRONTIER_BATTLE_MODE, 2 compare VAR_FRONTIER_BATTLE_MODE, 2
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F266 call_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F266
compare VAR_FRONTIER_BATTLE_MODE, 3 compare VAR_FRONTIER_BATTLE_MODE, 3
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F26C call_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F26C
return return
BattleFrontier_BattleTowerLobby_EventScript_23F25A:: @ 823F25A BattleFrontier_BattleTowerLobby_EventScript_23F25A:: @ 823F25A
@@ -889,13 +887,13 @@ BattleFrontier_BattleTowerLobby_EventScript_23F26C:: @ 823F26C
BattleFrontier_BattleTowerLobby_EventScript_23F272:: @ 823F272 BattleFrontier_BattleTowerLobby_EventScript_23F272:: @ 823F272
compare VAR_FRONTIER_BATTLE_MODE, 0 compare VAR_FRONTIER_BATTLE_MODE, 0
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F29F call_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F29F
compare VAR_FRONTIER_BATTLE_MODE, 1 compare VAR_FRONTIER_BATTLE_MODE, 1
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F2A5 call_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F2A5
compare VAR_FRONTIER_BATTLE_MODE, 2 compare VAR_FRONTIER_BATTLE_MODE, 2
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F2AB call_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F2AB
compare VAR_FRONTIER_BATTLE_MODE, 3 compare VAR_FRONTIER_BATTLE_MODE, 3
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F2B1 call_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F2B1
return return
BattleFrontier_BattleTowerLobby_EventScript_23F29F:: @ 823F29F BattleFrontier_BattleTowerLobby_EventScript_23F29F:: @ 823F29F
@@ -935,25 +933,25 @@ BattleFrontier_BattleTowerLobby_EventScript_23F2C5:: @ 823F2C5
special sub_80B2DA4 special sub_80B2DA4
waitstate waitstate
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F3AF goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F3AF
compare VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleTowerLobby_EventScript_2772D2 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_2772D2
compare VAR_RESULT, 3 compare VAR_RESULT, 3
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F327 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F327
compare VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F351 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F351
compare VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E6 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E6
compare VAR_RESULT, 6 compare VAR_RESULT, 6
goto_eq BattleFrontier_BattleTowerLobby_EventScript_2772C5 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_2772C5
compare VAR_RESULT, 11 compare VAR_RESULT, 11
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F366 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F366
end end
BattleFrontier_BattleTowerLobby_EventScript_23F327:: @ 823F327 BattleFrontier_BattleTowerLobby_EventScript_23F327:: @ 823F327
special CloseLink special CloseLink
compare VAR_0x8005, 3 compare VAR_0x8005, 3
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F33F goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F33F
msgbox BattleFrontier_BattleTowerLobby_Text_278255, MSGBOX_DEFAULT msgbox BattleFrontier_BattleTowerLobby_Text_278255, MSGBOX_DEFAULT
release release
end end
@@ -974,11 +972,11 @@ BattleFrontier_BattleTowerLobby_EventScript_23F351:: @ 823F351
BattleFrontier_BattleTowerLobby_EventScript_23F366:: @ 823F366 BattleFrontier_BattleTowerLobby_EventScript_23F366:: @ 823F366
special CloseLink special CloseLink
compare VAR_0x8005, 0 compare VAR_0x8005, 0
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F394 call_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F394
compare VAR_0x8005, 1 compare VAR_0x8005, 1
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F39D call_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F39D
compare VAR_0x8005, 2 compare VAR_0x8005, 2
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F3A6 call_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F3A6
msgbox BattleFrontier_BattleTowerLobby_Text_2413DE, MSGBOX_DEFAULT msgbox BattleFrontier_BattleTowerLobby_Text_2413DE, MSGBOX_DEFAULT
release release
end end
@@ -1035,26 +1033,26 @@ BattleFrontier_BattleTowerLobby_EventScript_23F3F3:: @ 823F3F3
BattleFrontier_BattleTowerLobby_EventScript_23F430:: @ 823F430 BattleFrontier_BattleTowerLobby_EventScript_23F430:: @ 823F430
call BattleFrontier_BattleTowerLobby_EventScript_277B30 call BattleFrontier_BattleTowerLobby_EventScript_277B30
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F496 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F496
compare VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F3F3 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F3F3
compare VAR_RESULT, 8 compare VAR_RESULT, 8
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F430 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F430
compare VAR_RESULT, 11 compare VAR_RESULT, 11
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F366 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F366
release release
return return
BattleFrontier_BattleTowerLobby_EventScript_23F463:: @ 823F463 BattleFrontier_BattleTowerLobby_EventScript_23F463:: @ 823F463
call BattleFrontier_BattleTowerLobby_EventScript_277B35 call BattleFrontier_BattleTowerLobby_EventScript_277B35
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F496 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F496
compare VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F3F3 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F3F3
compare VAR_RESULT, 8 compare VAR_RESULT, 8
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F463 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F463
compare VAR_RESULT, 11 compare VAR_RESULT, 11
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F366 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F366
release release
return return
@@ -11,8 +11,7 @@ BattleFrontier_BattleTowerMultiBattleRoom_MapScript1_243DA7: @ 8243DA7
end end
BattleFrontier_BattleTowerMultiBattleRoom_MapScript1_243DB0: @ 8243DB0 BattleFrontier_BattleTowerMultiBattleRoom_MapScript1_243DB0: @ 8243DB0
checkflag FLAG_0x152 goto_if_set FLAG_0x152, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243DDA
goto_eq BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243DDA
clearflag FLAG_HIDE_BATTLE_TOWER_MULTI_BATTLE_PARTNER_1 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_2
clearflag FLAG_HIDE_BATTLE_TOWER_MULTI_BATTLE_PARTNER_3 clearflag FLAG_HIDE_BATTLE_TOWER_MULTI_BATTLE_PARTNER_3
@@ -89,7 +88,7 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243E7A:: @ 8243E7A
waitmessage waitmessage
multichoicedefault 20, 8, 94, 1, 0 multichoicedefault 20, 8, 94, 1, 0
compare VAR_RESULT, 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 msgbox BattleFrontier_BattleTowerMultiBattleRoom_Text_24410C, MSGBOX_DEFAULT
release release
end end
@@ -166,8 +165,7 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243F29:: @ 8243F29
end end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243F36:: @ 8243F36 BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243F36:: @ 8243F36
checkflag FLAG_0x152 goto_if_set FLAG_0x152, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FC3
goto_eq BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FC3
setvar VAR_0x8004, 11 setvar VAR_0x8004, 11
setvar VAR_0x8005, 0 setvar VAR_0x8005, 0
special sub_8161F74 special sub_8161F74
@@ -193,9 +191,9 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243F36:: @ 8243F36
waitbuttonpress waitbuttonpress
closemessage closemessage
compare VAR_FACING, 1 compare VAR_FACING, 1
call_if 5, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FD4 call_if_ne BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FD4
compare VAR_FACING, 1 compare VAR_FACING, 1
call_if 1, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FDF call_if_eq BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FDF
removeobject VAR_LAST_TALKED removeobject VAR_LAST_TALKED
setflag FLAG_0x152 setflag FLAG_0x152
warpsilent MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_BATTLE_ROOM, 255, 10, 3 warpsilent MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_BATTLE_ROOM, 255, 10, 3
+19 -21
View File
@@ -4,10 +4,8 @@ BattleFrontier_Lounge1_MapScripts:: @ 825E774
BattleFrontier_Lounge1_EventScript_25E775:: @ 825E775 BattleFrontier_Lounge1_EventScript_25E775:: @ 825E775
lock lock
faceplayer faceplayer
checkflag FLAG_0x153 call_if_unset FLAG_0x153, BattleFrontier_Lounge1_EventScript_25E7AD
call_if 0, BattleFrontier_Lounge1_EventScript_25E7AD call_if_set FLAG_0x153, BattleFrontier_Lounge1_EventScript_25E7B6
checkflag FLAG_0x153
call_if 1, BattleFrontier_Lounge1_EventScript_25E7B6
setflag FLAG_0x153 setflag FLAG_0x153
goto BattleFrontier_Lounge1_EventScript_25E792 goto BattleFrontier_Lounge1_EventScript_25E792
end end
@@ -16,9 +14,9 @@ BattleFrontier_Lounge1_EventScript_25E792:: @ 825E792
special sub_81B94B0 special sub_81B94B0
waitstate waitstate
compare VAR_0x8004, 255 compare VAR_0x8004, 255
goto_if 5, BattleFrontier_Lounge1_EventScript_25E7BF goto_if_ne BattleFrontier_Lounge1_EventScript_25E7BF
compare VAR_0x8004, 255 compare VAR_0x8004, 255
goto_eq BattleFrontier_Lounge1_EventScript_25E943 goto_if_eq BattleFrontier_Lounge1_EventScript_25E943
end end
BattleFrontier_Lounge1_EventScript_25E7AD:: @ 825E7AD BattleFrontier_Lounge1_EventScript_25E7AD:: @ 825E7AD
@@ -32,16 +30,16 @@ BattleFrontier_Lounge1_EventScript_25E7B6:: @ 825E7B6
BattleFrontier_Lounge1_EventScript_25E7BF:: @ 825E7BF BattleFrontier_Lounge1_EventScript_25E7BF:: @ 825E7BF
specialvar VAR_RESULT, ScriptGetPartyMonSpecies specialvar VAR_RESULT, ScriptGetPartyMonSpecies
compare VAR_RESULT, 412 compare VAR_RESULT, 412
goto_eq BattleFrontier_Lounge1_EventScript_25E7FF goto_if_eq BattleFrontier_Lounge1_EventScript_25E7FF
special sub_8139D98 special sub_8139D98
compare VAR_0x8005, 90 compare VAR_0x8005, 90
goto_if 3, BattleFrontier_Lounge1_EventScript_25E87F goto_if_le BattleFrontier_Lounge1_EventScript_25E87F
compare VAR_0x8005, 120 compare VAR_0x8005, 120
goto_if 3, BattleFrontier_Lounge1_EventScript_25E88D goto_if_le BattleFrontier_Lounge1_EventScript_25E88D
compare VAR_0x8005, 150 compare VAR_0x8005, 150
goto_if 3, BattleFrontier_Lounge1_EventScript_25E89B goto_if_le BattleFrontier_Lounge1_EventScript_25E89B
compare VAR_0x8005, 151 compare VAR_0x8005, 151
goto_if 4, BattleFrontier_Lounge1_EventScript_25E8A9 goto_if_ge BattleFrontier_Lounge1_EventScript_25E8A9
end end
BattleFrontier_Lounge1_EventScript_25E7FF:: @ 825E7FF BattleFrontier_Lounge1_EventScript_25E7FF:: @ 825E7FF
@@ -51,28 +49,28 @@ BattleFrontier_Lounge1_EventScript_25E7FF:: @ 825E7FF
BattleFrontier_Lounge1_EventScript_25E80D:: @ 825E80D BattleFrontier_Lounge1_EventScript_25E80D:: @ 825E80D
compare VAR_0x8006, 0 compare VAR_0x8006, 0
goto_eq BattleFrontier_Lounge1_EventScript_25E8B7 goto_if_eq BattleFrontier_Lounge1_EventScript_25E8B7
compare VAR_0x8006, 1 compare VAR_0x8006, 1
goto_eq BattleFrontier_Lounge1_EventScript_25E8C5 goto_if_eq BattleFrontier_Lounge1_EventScript_25E8C5
compare VAR_0x8006, 2 compare VAR_0x8006, 2
goto_eq BattleFrontier_Lounge1_EventScript_25E8D3 goto_if_eq BattleFrontier_Lounge1_EventScript_25E8D3
compare VAR_0x8006, 3 compare VAR_0x8006, 3
goto_eq BattleFrontier_Lounge1_EventScript_25E8E1 goto_if_eq BattleFrontier_Lounge1_EventScript_25E8E1
compare VAR_0x8006, 4 compare VAR_0x8006, 4
goto_eq BattleFrontier_Lounge1_EventScript_25E8EF goto_if_eq BattleFrontier_Lounge1_EventScript_25E8EF
compare VAR_0x8006, 5 compare VAR_0x8006, 5
goto_eq BattleFrontier_Lounge1_EventScript_25E8FD goto_if_eq BattleFrontier_Lounge1_EventScript_25E8FD
end end
BattleFrontier_Lounge1_EventScript_25E850:: @ 825E850 BattleFrontier_Lounge1_EventScript_25E850:: @ 825E850
compare VAR_0x8007, 15 compare VAR_0x8007, 15
goto_if 3, BattleFrontier_Lounge1_EventScript_25E90B goto_if_le BattleFrontier_Lounge1_EventScript_25E90B
compare VAR_0x8007, 25 compare VAR_0x8007, 25
goto_if 3, BattleFrontier_Lounge1_EventScript_25E919 goto_if_le BattleFrontier_Lounge1_EventScript_25E919
compare VAR_0x8007, 30 compare VAR_0x8007, 30
goto_if 3, BattleFrontier_Lounge1_EventScript_25E927 goto_if_le BattleFrontier_Lounge1_EventScript_25E927
compare VAR_0x8007, 31 compare VAR_0x8007, 31
goto_if 4, BattleFrontier_Lounge1_EventScript_25E935 goto_if_ge BattleFrontier_Lounge1_EventScript_25E935
end end
BattleFrontier_Lounge1_EventScript_25E87D:: @ 825E87D BattleFrontier_Lounge1_EventScript_25E87D:: @ 825E87D
+13 -14
View File
@@ -4,8 +4,7 @@ BattleFrontier_Lounge2_MapScripts:: @ 8260642
BattleFrontier_Lounge2_EventScript_260643:: @ 8260643 BattleFrontier_Lounge2_EventScript_260643:: @ 8260643
lock lock
faceplayer faceplayer
checkflag FLAG_0x154 goto_if_set FLAG_0x154, BattleFrontier_Lounge2_EventScript_26065F
goto_eq BattleFrontier_Lounge2_EventScript_26065F
setflag FLAG_0x154 setflag FLAG_0x154
msgbox BattleFrontier_Lounge2_Text_260766, MSGBOX_DEFAULT msgbox BattleFrontier_Lounge2_Text_260766, MSGBOX_DEFAULT
goto BattleFrontier_Lounge2_EventScript_26066D goto BattleFrontier_Lounge2_EventScript_26066D
@@ -18,29 +17,29 @@ BattleFrontier_Lounge2_EventScript_26065F:: @ 826065F
BattleFrontier_Lounge2_EventScript_26066D:: @ 826066D BattleFrontier_Lounge2_EventScript_26066D:: @ 826066D
compare VAR_FRONTIER_MANIAC_FACILITY, 0 compare VAR_FRONTIER_MANIAC_FACILITY, 0
call_if 1, BattleFrontier_Lounge2_EventScript_26070A call_if_eq BattleFrontier_Lounge2_EventScript_26070A
compare VAR_FRONTIER_MANIAC_FACILITY, 1 compare VAR_FRONTIER_MANIAC_FACILITY, 1
call_if 1, BattleFrontier_Lounge2_EventScript_26070F call_if_eq BattleFrontier_Lounge2_EventScript_26070F
compare VAR_FRONTIER_MANIAC_FACILITY, 2 compare VAR_FRONTIER_MANIAC_FACILITY, 2
call_if 1, BattleFrontier_Lounge2_EventScript_260714 call_if_eq BattleFrontier_Lounge2_EventScript_260714
compare VAR_FRONTIER_MANIAC_FACILITY, 3 compare VAR_FRONTIER_MANIAC_FACILITY, 3
call_if 1, BattleFrontier_Lounge2_EventScript_260719 call_if_eq BattleFrontier_Lounge2_EventScript_260719
compare VAR_FRONTIER_MANIAC_FACILITY, 4 compare VAR_FRONTIER_MANIAC_FACILITY, 4
call_if 1, BattleFrontier_Lounge2_EventScript_26071E call_if_eq BattleFrontier_Lounge2_EventScript_26071E
compare VAR_FRONTIER_MANIAC_FACILITY, 5 compare VAR_FRONTIER_MANIAC_FACILITY, 5
call_if 1, BattleFrontier_Lounge2_EventScript_260723 call_if_eq BattleFrontier_Lounge2_EventScript_260723
compare VAR_FRONTIER_MANIAC_FACILITY, 6 compare VAR_FRONTIER_MANIAC_FACILITY, 6
call_if 1, BattleFrontier_Lounge2_EventScript_260728 call_if_eq BattleFrontier_Lounge2_EventScript_260728
compare VAR_FRONTIER_MANIAC_FACILITY, 7 compare VAR_FRONTIER_MANIAC_FACILITY, 7
call_if 1, BattleFrontier_Lounge2_EventScript_26072D call_if_eq BattleFrontier_Lounge2_EventScript_26072D
compare VAR_FRONTIER_MANIAC_FACILITY, 8 compare VAR_FRONTIER_MANIAC_FACILITY, 8
call_if 1, BattleFrontier_Lounge2_EventScript_260732 call_if_eq BattleFrontier_Lounge2_EventScript_260732
compare VAR_FRONTIER_MANIAC_FACILITY, 9 compare VAR_FRONTIER_MANIAC_FACILITY, 9
call_if 1, BattleFrontier_Lounge2_EventScript_260737 call_if_eq BattleFrontier_Lounge2_EventScript_260737
compare VAR_FRONTIER_MANIAC_FACILITY, 3 compare VAR_FRONTIER_MANIAC_FACILITY, 3
call_if 3, BattleFrontier_Lounge2_EventScript_2606F8 call_if_le BattleFrontier_Lounge2_EventScript_2606F8
compare VAR_FRONTIER_MANIAC_FACILITY, 4 compare VAR_FRONTIER_MANIAC_FACILITY, 4
call_if 4, BattleFrontier_Lounge2_EventScript_260701 call_if_ge BattleFrontier_Lounge2_EventScript_260701
special sub_8139F20 special sub_8139F20
waitmessage waitmessage
waitbuttonpress waitbuttonpress
+18 -26
View File
@@ -4,11 +4,10 @@ BattleFrontier_Lounge3_MapScripts:: @ 8261D82
BattleFrontier_Lounge3_EventScript_261D83:: @ 8261D83 BattleFrontier_Lounge3_EventScript_261D83:: @ 8261D83
lock lock
faceplayer faceplayer
checkflag FLAG_0x157 goto_if_set FLAG_0x157, BattleFrontier_Lounge3_EventScript_261EF9
goto_eq BattleFrontier_Lounge3_EventScript_261EF9
call BattleFrontier_Lounge3_EventScript_261EA0 call BattleFrontier_Lounge3_EventScript_261EA0
compare VAR_0x8004, 2 compare VAR_0x8004, 2
goto_if 3, BattleFrontier_Lounge3_EventScript_261EEB goto_if_le BattleFrontier_Lounge3_EventScript_261EEB
setflag FLAG_0x157 setflag FLAG_0x157
msgbox BattleFrontier_Lounge3_Text_262061, MSGBOX_DEFAULT msgbox BattleFrontier_Lounge3_Text_262061, MSGBOX_DEFAULT
goto BattleFrontier_Lounge3_EventScript_261DAF goto BattleFrontier_Lounge3_EventScript_261DAF
@@ -20,10 +19,10 @@ BattleFrontier_Lounge3_EventScript_261DAF:: @ 8261DAF
waitbuttonpress waitbuttonpress
msgbox BattleFrontier_Lounge3_Text_262A60, MSGBOX_YESNO msgbox BattleFrontier_Lounge3_Text_262A60, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge3_EventScript_261FA5 goto_if_eq BattleFrontier_Lounge3_EventScript_261FA5
msgbox BattleFrontier_Lounge3_Text_262ABD, MSGBOX_YESNO msgbox BattleFrontier_Lounge3_Text_262ABD, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge3_EventScript_261FA5 goto_if_eq BattleFrontier_Lounge3_EventScript_261FA5
message BattleFrontier_Lounge3_Text_262B42 message BattleFrontier_Lounge3_Text_262B42
waitmessage waitmessage
special sub_813A958 special sub_813A958
@@ -59,7 +58,7 @@ BattleFrontier_Lounge3_EventScript_261E46:: @ 8261E46
BattleFrontier_Lounge3_EventScript_261E51:: @ 8261E51 BattleFrontier_Lounge3_EventScript_261E51:: @ 8261E51
specialvar VAR_TEMP_1, sub_813AA04 specialvar VAR_TEMP_1, sub_813AA04
compare VAR_TEMP_1, VAR_0x8008 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 msgbox BattleFrontier_Lounge3_Text_262B6E, MSGBOX_DEFAULT
message BattleFrontier_Lounge3_Text_262B42 message BattleFrontier_Lounge3_Text_262B42
waitmessage waitmessage
@@ -86,20 +85,13 @@ BattleFrontier_Lounge3_EventScript_261E96:: @ 8261E96
BattleFrontier_Lounge3_EventScript_261EA0:: @ 8261EA0 BattleFrontier_Lounge3_EventScript_261EA0:: @ 8261EA0
setvar VAR_0x8004, 0 setvar VAR_0x8004, 0
checkflag FLAG_SYS_TOWER_SILVER call_if_set FLAG_SYS_TOWER_SILVER, BattleFrontier_Lounge3_EventScript_261EE5
call_if 1, BattleFrontier_Lounge3_EventScript_261EE5 call_if_set FLAG_SYS_DOME_SILVER, BattleFrontier_Lounge3_EventScript_261EE5
checkflag FLAG_SYS_DOME_SILVER call_if_set FLAG_SYS_PALACE_SILVER, BattleFrontier_Lounge3_EventScript_261EE5
call_if 1, BattleFrontier_Lounge3_EventScript_261EE5 call_if_set FLAG_SYS_ARENA_SILVER, BattleFrontier_Lounge3_EventScript_261EE5
checkflag FLAG_SYS_PALACE_SILVER call_if_set FLAG_SYS_FACTORY_SILVER, BattleFrontier_Lounge3_EventScript_261EE5
call_if 1, BattleFrontier_Lounge3_EventScript_261EE5 call_if_set FLAG_SYS_PIKE_SILVER, BattleFrontier_Lounge3_EventScript_261EE5
checkflag FLAG_SYS_ARENA_SILVER call_if_set FLAG_SYS_PYRAMID_SILVER, BattleFrontier_Lounge3_EventScript_261EE5
call_if 1, BattleFrontier_Lounge3_EventScript_261EE5
checkflag FLAG_SYS_FACTORY_SILVER
call_if 1, BattleFrontier_Lounge3_EventScript_261EE5
checkflag FLAG_SYS_PIKE_SILVER
call_if 1, BattleFrontier_Lounge3_EventScript_261EE5
checkflag FLAG_SYS_PYRAMID_SILVER
call_if 1, BattleFrontier_Lounge3_EventScript_261EE5
return return
BattleFrontier_Lounge3_EventScript_261EE5:: @ 8261EE5 BattleFrontier_Lounge3_EventScript_261EE5:: @ 8261EE5
@@ -114,26 +106,26 @@ BattleFrontier_Lounge3_EventScript_261EEB:: @ 8261EEB
BattleFrontier_Lounge3_EventScript_261EF9:: @ 8261EF9 BattleFrontier_Lounge3_EventScript_261EF9:: @ 8261EF9
msgbox BattleFrontier_Lounge3_Text_26346B, MSGBOX_DEFAULT msgbox BattleFrontier_Lounge3_Text_26346B, MSGBOX_DEFAULT
compare VAR_FRONTIER_GAMBLER_PLACED_BET_F, 1 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 goto BattleFrontier_Lounge3_EventScript_261DAF
end end
BattleFrontier_Lounge3_EventScript_261F12:: @ 8261F12 BattleFrontier_Lounge3_EventScript_261F12:: @ 8261F12
compare VAR_FRONTIER_GAMBLER_PLACED_BET_F, 1 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 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 goto BattleFrontier_Lounge3_EventScript_261F71
end end
BattleFrontier_Lounge3_EventScript_261F2E:: @ 8261F2E BattleFrontier_Lounge3_EventScript_261F2E:: @ 8261F2E
msgbox BattleFrontier_Lounge3_Text_263334, MSGBOX_DEFAULT msgbox BattleFrontier_Lounge3_Text_263334, MSGBOX_DEFAULT
compare VAR_FRONTIER_GAMBLER_AMOUNT_BET, 0 compare VAR_FRONTIER_GAMBLER_AMOUNT_BET, 0
call_if 1, BattleFrontier_Lounge3_EventScript_261F80 call_if_eq BattleFrontier_Lounge3_EventScript_261F80
compare VAR_FRONTIER_GAMBLER_AMOUNT_BET, 1 compare VAR_FRONTIER_GAMBLER_AMOUNT_BET, 1
call_if 1, BattleFrontier_Lounge3_EventScript_261F8A call_if_eq BattleFrontier_Lounge3_EventScript_261F8A
compare VAR_FRONTIER_GAMBLER_AMOUNT_BET, 2 compare VAR_FRONTIER_GAMBLER_AMOUNT_BET, 2
call_if 1, BattleFrontier_Lounge3_EventScript_261F94 call_if_eq BattleFrontier_Lounge3_EventScript_261F94
msgbox BattleFrontier_Lounge3_Text_2633D4, 9 msgbox BattleFrontier_Lounge3_Text_2633D4, 9
special sub_813A9D0 special sub_813A9D0
msgbox BattleFrontier_Lounge3_Text_2633F2, MSGBOX_DEFAULT msgbox BattleFrontier_Lounge3_Text_2633F2, MSGBOX_DEFAULT
+3 -3
View File
@@ -6,16 +6,16 @@ BattleFrontier_Lounge5_EventScript_2645C6:: @ 82645C6
faceplayer faceplayer
msgbox BattleFrontier_Lounge5_Text_264632, MSGBOX_YESNO msgbox BattleFrontier_Lounge5_Text_264632, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge5_EventScript_26460D goto_if_eq BattleFrontier_Lounge5_EventScript_26460D
special sub_81B94B0 special sub_81B94B0
waitstate waitstate
lock lock
faceplayer faceplayer
compare VAR_0x8004, 255 compare VAR_0x8004, 255
goto_eq BattleFrontier_Lounge5_EventScript_26460D goto_if_eq BattleFrontier_Lounge5_EventScript_26460D
specialvar VAR_RESULT, ScriptGetPartyMonSpecies specialvar VAR_RESULT, ScriptGetPartyMonSpecies
compare VAR_RESULT, 412 compare VAR_RESULT, 412
goto_eq BattleFrontier_Lounge5_EventScript_264603 goto_if_eq BattleFrontier_Lounge5_EventScript_264603
special sub_813A7B8 special sub_813A7B8
waitmessage waitmessage
waitbuttonpress waitbuttonpress
+4 -5
View File
@@ -4,25 +4,24 @@ BattleFrontier_Lounge6_MapScripts:: @ 8264FEC
BattleFrontier_Lounge6_EventScript_264FED:: @ 8264FED BattleFrontier_Lounge6_EventScript_264FED:: @ 8264FED
lock lock
faceplayer faceplayer
checkflag FLAG_0x09C goto_if_set FLAG_0x09C, BattleFrontier_Lounge6_EventScript_265083
goto_eq BattleFrontier_Lounge6_EventScript_265083
setvar VAR_0x8008, 3 setvar VAR_0x8008, 3
copyvar VAR_0x8004, VAR_0x8008 copyvar VAR_0x8004, VAR_0x8008
specialvar VAR_RESULT, sub_807E73C specialvar VAR_RESULT, sub_807E73C
copyvar VAR_0x8009, VAR_RESULT copyvar VAR_0x8009, VAR_RESULT
msgbox BattleFrontier_Lounge6_Text_26508D, MSGBOX_YESNO msgbox BattleFrontier_Lounge6_Text_26508D, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge6_EventScript_26506B goto_if_eq BattleFrontier_Lounge6_EventScript_26506B
special sub_81B94B0 special sub_81B94B0
waitstate waitstate
copyvar VAR_0x800A, VAR_0x8004 copyvar VAR_0x800A, VAR_0x8004
compare VAR_0x8004, 255 compare VAR_0x8004, 255
goto_eq BattleFrontier_Lounge6_EventScript_26506B goto_if_eq BattleFrontier_Lounge6_EventScript_26506B
copyvar VAR_0x8005, VAR_0x800A copyvar VAR_0x8005, VAR_0x800A
specialvar VAR_RESULT, sub_807E9D4 specialvar VAR_RESULT, sub_807E9D4
copyvar VAR_0x800B, VAR_RESULT copyvar VAR_0x800B, VAR_RESULT
compare VAR_RESULT, VAR_0x8009 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_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A copyvar VAR_0x8005, VAR_0x800A
special sub_807EA10 special sub_807EA10
+6 -8
View File
@@ -5,8 +5,7 @@ BattleFrontier_Lounge7_EventScript_265255:: @ 8265255
lock lock
faceplayer faceplayer
setvar VAR_TEMP_C, 9 setvar VAR_TEMP_C, 9
checkflag FLAG_0x15A goto_if_set FLAG_0x15A, BattleFrontier_Lounge7_EventScript_265276
goto_eq BattleFrontier_Lounge7_EventScript_265276
msgbox BattleFrontier_Lounge7_Text_2656ED, MSGBOX_DEFAULT msgbox BattleFrontier_Lounge7_Text_2656ED, MSGBOX_DEFAULT
setflag FLAG_0x15A setflag FLAG_0x15A
goto BattleFrontier_Lounge7_EventScript_265284 goto BattleFrontier_Lounge7_EventScript_265284
@@ -120,8 +119,7 @@ BattleFrontier_Lounge7_EventScript_265445:: @ 8265445
lock lock
faceplayer faceplayer
setvar VAR_TEMP_C, 10 setvar VAR_TEMP_C, 10
checkflag FLAG_0x15B goto_if_set FLAG_0x15B, BattleFrontier_Lounge7_EventScript_265466
goto_eq BattleFrontier_Lounge7_EventScript_265466
msgbox BattleFrontier_Lounge7_Text_265A6C, MSGBOX_DEFAULT msgbox BattleFrontier_Lounge7_Text_265A6C, MSGBOX_DEFAULT
setflag FLAG_0x15B setflag FLAG_0x15B
goto BattleFrontier_Lounge7_EventScript_265474 goto BattleFrontier_Lounge7_EventScript_265474
@@ -251,10 +249,10 @@ BattleFrontier_Lounge7_EventScript_26564F:: @ 826564F
copyvar VAR_0x8004, VAR_TEMP_C copyvar VAR_0x8004, VAR_TEMP_C
msgbox BattleFrontier_Lounge7_Text_265921, MSGBOX_YESNO msgbox BattleFrontier_Lounge7_Text_265921, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge7_EventScript_2656CA goto_if_eq BattleFrontier_Lounge7_EventScript_2656CA
specialvar VAR_TEMP_1, sub_813AA04 specialvar VAR_TEMP_1, sub_813AA04
compare VAR_TEMP_1, VAR_0x8008 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 msgbox BattleFrontier_Lounge7_Text_265997, MSGBOX_DEFAULT
goto BattleFrontier_Lounge7_EventScript_2656CA goto BattleFrontier_Lounge7_EventScript_2656CA
end end
@@ -268,7 +266,7 @@ BattleFrontier_Lounge7_EventScript_265696:: @ 8265696
special sub_81B892C special sub_81B892C
waitstate waitstate
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge7_EventScript_265645 goto_if_eq BattleFrontier_Lounge7_EventScript_265645
msgbox BattleFrontier_Lounge7_Text_2659C7, MSGBOX_DEFAULT msgbox BattleFrontier_Lounge7_Text_2659C7, MSGBOX_DEFAULT
copyvar VAR_0x8004, VAR_0x8008 copyvar VAR_0x8004, VAR_0x8008
special sub_813A9A4 special sub_813A9A4
@@ -277,7 +275,7 @@ BattleFrontier_Lounge7_EventScript_265696:: @ 8265696
BattleFrontier_Lounge7_EventScript_2656CA:: @ 82656CA BattleFrontier_Lounge7_EventScript_2656CA:: @ 82656CA
compare VAR_TEMP_E, 0 compare VAR_TEMP_E, 0
goto_eq BattleFrontier_Lounge7_EventScript_26532F goto_if_eq BattleFrontier_Lounge7_EventScript_26532F
goto BattleFrontier_Lounge7_EventScript_26551F goto BattleFrontier_Lounge7_EventScript_26551F
end end
@@ -4,22 +4,20 @@ BattleFrontier_OutsideEast_MapScripts:: @ 8242C04
.byte 0 .byte 0
BattleFrontier_OutsideEast_MapScript1_242C0F: @ 8242C0F BattleFrontier_OutsideEast_MapScript1_242C0F: @ 8242C0F
checkflag FLAG_SYS_CTRL_OBJ_DELETE call_if_set FLAG_SYS_CTRL_OBJ_DELETE, BattleFrontier_OutsideEast_EventScript_242C19
call_if 1, BattleFrontier_OutsideEast_EventScript_242C19
end end
BattleFrontier_OutsideEast_EventScript_242C19:: @ 8242C19 BattleFrontier_OutsideEast_EventScript_242C19:: @ 8242C19
specialvar VAR_RESULT, GetBattleOutcome specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 7 compare VAR_RESULT, 7
goto_if 5, BattleFrontier_OutsideEast_EventScript_27374E goto_if_ne BattleFrontier_OutsideEast_EventScript_27374E
removeobject VAR_LAST_TALKED removeobject VAR_LAST_TALKED
return return
BattleFrontier_OutsideEast_MapScript1_242C2D: @ 8242C2D BattleFrontier_OutsideEast_MapScript1_242C2D: @ 8242C2D
setvar VAR_0x40BC, 0 setvar VAR_0x40BC, 0
setflag FLAG_HIDE_BATTLE_TOWER_REPORTER setflag FLAG_HIDE_BATTLE_TOWER_REPORTER
checkflag FLAG_0x1C6 call_if_unset FLAG_0x1C6, BattleFrontier_OutsideEast_EventScript_242C3F
call_if 0, BattleFrontier_OutsideEast_EventScript_242C3F
end end
BattleFrontier_OutsideEast_EventScript_242C3F:: @ 8242C3F BattleFrontier_OutsideEast_EventScript_242C3F:: @ 8242C3F
@@ -136,11 +134,11 @@ BattleFrontier_OutsideEast_EventScript_242CFC:: @ 8242CFC
clearflag FLAG_SYS_CTRL_OBJ_DELETE clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_OutsideEast_EventScript_242D60 goto_if_eq BattleFrontier_OutsideEast_EventScript_242D60
compare VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq BattleFrontier_OutsideEast_EventScript_242D60 goto_if_eq BattleFrontier_OutsideEast_EventScript_242D60
compare VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq BattleFrontier_OutsideEast_EventScript_242D60 goto_if_eq BattleFrontier_OutsideEast_EventScript_242D60
setflag FLAG_0x1C6 setflag FLAG_0x1C6
release release
end end
@@ -223,8 +221,7 @@ BattleFrontier_OutsideEast_EventScript_242DE0:: @ 8242DE0
BattleFrontier_OutsideEast_EventScript_242DE9:: @ 8242DE9 BattleFrontier_OutsideEast_EventScript_242DE9:: @ 8242DE9
lock lock
faceplayer faceplayer
checkflag FLAG_0x1C6 goto_if_set FLAG_0x1C6, BattleFrontier_OutsideEast_EventScript_242DFE
goto_eq BattleFrontier_OutsideEast_EventScript_242DFE
msgbox BattleFrontier_OutsideEast_Text_243C2C, MSGBOX_DEFAULT msgbox BattleFrontier_OutsideEast_Text_243C2C, MSGBOX_DEFAULT
release release
end end
@@ -13,7 +13,7 @@ BattleFrontier_OutsideWest_EventScript_23D3F0:: @ 823D3F0
msgbox BattleFrontier_OutsideWest_Text_23D808, MSGBOX_DEFAULT msgbox BattleFrontier_OutsideWest_Text_23D808, MSGBOX_DEFAULT
checkitem ITEM_SS_TICKET, 1 checkitem ITEM_SS_TICKET, 1
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_OutsideWest_EventScript_23D44E goto_if_eq BattleFrontier_OutsideWest_EventScript_23D44E
message BattleFrontier_OutsideWest_Text_23D89D message BattleFrontier_OutsideWest_Text_23D89D
waitmessage waitmessage
goto BattleFrontier_OutsideWest_EventScript_23D416 goto BattleFrontier_OutsideWest_EventScript_23D416
@@ -36,7 +36,7 @@ BattleFrontier_OutsideWest_EventScript_23D44E:: @ 823D44E
BattleFrontier_OutsideWest_EventScript_23D458:: @ 823D458 BattleFrontier_OutsideWest_EventScript_23D458:: @ 823D458
msgbox BattleFrontier_OutsideWest_Text_23D8F2, MSGBOX_YESNO msgbox BattleFrontier_OutsideWest_Text_23D8F2, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_OutsideWest_EventScript_23D4AE goto_if_eq BattleFrontier_OutsideWest_EventScript_23D4AE
msgbox BattleFrontier_OutsideWest_Text_23D94B, MSGBOX_DEFAULT msgbox BattleFrontier_OutsideWest_Text_23D94B, MSGBOX_DEFAULT
call BattleFrontier_OutsideWest_EventScript_23D4BA call BattleFrontier_OutsideWest_EventScript_23D4BA
warp MAP_SLATEPORT_CITY_HARBOR, 255, 8, 11 warp MAP_SLATEPORT_CITY_HARBOR, 255, 8, 11
@@ -47,7 +47,7 @@ BattleFrontier_OutsideWest_EventScript_23D458:: @ 823D458
BattleFrontier_OutsideWest_EventScript_23D483:: @ 823D483 BattleFrontier_OutsideWest_EventScript_23D483:: @ 823D483
msgbox BattleFrontier_OutsideWest_Text_23D90E, MSGBOX_YESNO msgbox BattleFrontier_OutsideWest_Text_23D90E, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_OutsideWest_EventScript_23D4AE goto_if_eq BattleFrontier_OutsideWest_EventScript_23D4AE
msgbox BattleFrontier_OutsideWest_Text_23D94B, MSGBOX_DEFAULT msgbox BattleFrontier_OutsideWest_Text_23D94B, MSGBOX_DEFAULT
call BattleFrontier_OutsideWest_EventScript_23D4BA call BattleFrontier_OutsideWest_EventScript_23D4BA
warp MAP_LILYCOVE_CITY_HARBOR, 255, 8, 11 warp MAP_LILYCOVE_CITY_HARBOR, 255, 8, 11
@@ -145,13 +145,13 @@ BattleFrontier_OutsideWest_EventScript_23D57F:: @ 823D57F
faceplayer faceplayer
delay 20 delay 20
compare VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, BattleFrontier_OutsideWest_EventScript_23D5BA call_if_eq BattleFrontier_OutsideWest_EventScript_23D5BA
compare VAR_FACING, 1 compare VAR_FACING, 1
call_if 1, BattleFrontier_OutsideWest_EventScript_23D5C5 call_if_eq BattleFrontier_OutsideWest_EventScript_23D5C5
compare VAR_FACING, 3 compare VAR_FACING, 3
call_if 1, BattleFrontier_OutsideWest_EventScript_23D5BA call_if_eq BattleFrontier_OutsideWest_EventScript_23D5BA
compare VAR_FACING, 4 compare VAR_FACING, 4
call_if 1, BattleFrontier_OutsideWest_EventScript_23D5BA call_if_eq BattleFrontier_OutsideWest_EventScript_23D5BA
msgbox BattleFrontier_OutsideWest_Text_23DC36, MSGBOX_DEFAULT msgbox BattleFrontier_OutsideWest_Text_23DC36, MSGBOX_DEFAULT
release release
end end
@@ -170,13 +170,13 @@ BattleFrontier_OutsideWest_EventScript_23D5C6:: @ 823D5C6
message BattleFrontier_OutsideWest_Text_23DCB0 message BattleFrontier_OutsideWest_Text_23DCB0
waitmessage waitmessage
compare VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, BattleFrontier_OutsideWest_EventScript_23D5FD call_if_eq BattleFrontier_OutsideWest_EventScript_23D5FD
compare VAR_FACING, 1 compare VAR_FACING, 1
call_if 1, BattleFrontier_OutsideWest_EventScript_23D608 call_if_eq BattleFrontier_OutsideWest_EventScript_23D608
compare VAR_FACING, 3 compare VAR_FACING, 3
call_if 1, BattleFrontier_OutsideWest_EventScript_23D613 call_if_eq BattleFrontier_OutsideWest_EventScript_23D613
compare VAR_FACING, 4 compare VAR_FACING, 4
call_if 1, BattleFrontier_OutsideWest_EventScript_23D61E call_if_eq BattleFrontier_OutsideWest_EventScript_23D61E
waitbuttonpress waitbuttonpress
release release
end end
@@ -227,7 +227,7 @@ BattleFrontier_OutsideWest_EventScript_23D635:: @ 823D635
msgbox BattleFrontier_OutsideWest_Text_23DD3B, MSGBOX_DEFAULT msgbox BattleFrontier_OutsideWest_Text_23DD3B, MSGBOX_DEFAULT
random 2 random 2
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_OutsideWest_EventScript_23D653 goto_if_eq BattleFrontier_OutsideWest_EventScript_23D653
goto BattleFrontier_OutsideWest_EventScript_23D65D goto BattleFrontier_OutsideWest_EventScript_23D65D
end end
@@ -87,7 +87,7 @@ BattleFrontier_RankingHall_EventScript_25E54A:: @ 825E54A
faceplayer faceplayer
msgbox BattleFrontier_RankingHall_Text_25E666, MSGBOX_YESNO msgbox BattleFrontier_RankingHall_Text_25E666, MSGBOX_YESNO
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_RankingHall_EventScript_25E569 goto_if_eq BattleFrontier_RankingHall_EventScript_25E569
msgbox BattleFrontier_RankingHall_Text_25E6B6, MSGBOX_DEFAULT msgbox BattleFrontier_RankingHall_Text_25E6B6, MSGBOX_DEFAULT
release release
end end
@@ -4,76 +4,54 @@ BattleFrontier_ScottsHouse_MapScripts:: @ 82636A7
BattleFrontier_ScottsHouse_EventScript_2636A8:: @ 82636A8 BattleFrontier_ScottsHouse_EventScript_2636A8:: @ 82636A8
lock lock
faceplayer faceplayer
checkflag FLAG_TEMP_4 goto_if_set FLAG_TEMP_4, BattleFrontier_ScottsHouse_EventScript_2637DA
goto_eq BattleFrontier_ScottsHouse_EventScript_2637DA goto_if_set FLAG_TEMP_3, BattleFrontier_ScottsHouse_EventScript_2638AA
checkflag FLAG_TEMP_3 goto_if_set FLAG_TEMP_2, BattleFrontier_ScottsHouse_EventScript_263939
goto_eq BattleFrontier_ScottsHouse_EventScript_2638AA
checkflag FLAG_TEMP_2
goto_eq BattleFrontier_ScottsHouse_EventScript_263939
goto BattleFrontier_ScottsHouse_EventScript_2636CB goto BattleFrontier_ScottsHouse_EventScript_2636CB
end end
BattleFrontier_ScottsHouse_EventScript_2636CB:: @ 82636CB BattleFrontier_ScottsHouse_EventScript_2636CB:: @ 82636CB
checkflag FLAG_0x1D1 goto_if_unset FLAG_0x1D1, BattleFrontier_ScottsHouse_EventScript_263943
goto_if 0, BattleFrontier_ScottsHouse_EventScript_263943 goto_if_unset FLAG_0x05C, BattleFrontier_ScottsHouse_EventScript_263704
checkflag FLAG_0x05C goto_if_unset FLAG_0x1D2, BattleFrontier_ScottsHouse_EventScript_26376A
goto_if 0, BattleFrontier_ScottsHouse_EventScript_263704
checkflag FLAG_0x1D2
goto_if 0, BattleFrontier_ScottsHouse_EventScript_26376A
goto BattleFrontier_ScottsHouse_EventScript_2636EC goto BattleFrontier_ScottsHouse_EventScript_2636EC
end end
BattleFrontier_ScottsHouse_EventScript_2636EC:: @ 82636EC BattleFrontier_ScottsHouse_EventScript_2636EC:: @ 82636EC
checkflag FLAG_0x0ED goto_if_unset FLAG_0x0ED, BattleFrontier_ScottsHouse_EventScript_26381B
goto_if 0, BattleFrontier_ScottsHouse_EventScript_26381B goto_if_unset FLAG_0x0EE, BattleFrontier_ScottsHouse_EventScript_2638B4
checkflag FLAG_0x0EE
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2638B4
goto BattleFrontier_ScottsHouse_EventScript_2637E4 goto BattleFrontier_ScottsHouse_EventScript_2637E4
end end
BattleFrontier_ScottsHouse_EventScript_263704:: @ 8263704 BattleFrontier_ScottsHouse_EventScript_263704:: @ 8263704
checkflag FLAG_SYS_TOWER_SILVER goto_if_unset FLAG_SYS_TOWER_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC goto_if_unset FLAG_SYS_DOME_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
checkflag FLAG_SYS_DOME_SILVER goto_if_unset FLAG_SYS_PALACE_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC goto_if_unset FLAG_SYS_ARENA_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
checkflag FLAG_SYS_PALACE_SILVER goto_if_unset FLAG_SYS_FACTORY_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC goto_if_unset FLAG_SYS_PIKE_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
checkflag FLAG_SYS_ARENA_SILVER goto_if_unset FLAG_SYS_PYRAMID_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
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
msgbox BattleFrontier_ScottsHouse_Text_2640BC, MSGBOX_DEFAULT msgbox BattleFrontier_ScottsHouse_Text_2640BC, MSGBOX_DEFAULT
giveitem_std ITEM_LANSAT_BERRY giveitem_std ITEM_LANSAT_BERRY
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_ScottsHouse_EventScript_2637D0 goto_if_eq BattleFrontier_ScottsHouse_EventScript_2637D0
setflag FLAG_0x05C setflag FLAG_0x05C
setflag FLAG_TEMP_4 setflag FLAG_TEMP_4
release release
end end
BattleFrontier_ScottsHouse_EventScript_26376A:: @ 826376A BattleFrontier_ScottsHouse_EventScript_26376A:: @ 826376A
checkflag FLAG_SYS_TOWER_GOLD goto_if_unset FLAG_SYS_TOWER_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC goto_if_unset FLAG_SYS_DOME_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
checkflag FLAG_SYS_DOME_GOLD goto_if_unset FLAG_SYS_PALACE_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC goto_if_unset FLAG_SYS_ARENA_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
checkflag FLAG_SYS_PALACE_GOLD goto_if_unset FLAG_SYS_FACTORY_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC goto_if_unset FLAG_SYS_PIKE_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
checkflag FLAG_SYS_ARENA_GOLD goto_if_unset FLAG_SYS_PYRAMID_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
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
msgbox BattleFrontier_ScottsHouse_Text_264216, MSGBOX_DEFAULT msgbox BattleFrontier_ScottsHouse_Text_264216, MSGBOX_DEFAULT
giveitem_std ITEM_STARF_BERRY giveitem_std ITEM_STARF_BERRY
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_ScottsHouse_EventScript_2637D0 goto_if_eq BattleFrontier_ScottsHouse_EventScript_2637D0
setflag FLAG_0x1D2 setflag FLAG_0x1D2
setflag FLAG_TEMP_4 setflag FLAG_TEMP_4
release release
@@ -92,9 +70,9 @@ BattleFrontier_ScottsHouse_EventScript_2637DA:: @ 82637DA
BattleFrontier_ScottsHouse_EventScript_2637E4:: @ 82637E4 BattleFrontier_ScottsHouse_EventScript_2637E4:: @ 82637E4
random 3 random 3
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BattleFrontier_ScottsHouse_EventScript_263807 goto_if_eq BattleFrontier_ScottsHouse_EventScript_263807
compare VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq BattleFrontier_ScottsHouse_EventScript_263811 goto_if_eq BattleFrontier_ScottsHouse_EventScript_263811
msgbox BattleFrontier_ScottsHouse_Text_263DDD, MSGBOX_DEFAULT msgbox BattleFrontier_ScottsHouse_Text_263DDD, MSGBOX_DEFAULT
release release
end end
@@ -119,7 +97,7 @@ BattleFrontier_ScottsHouse_EventScript_26381B:: @ 826381B
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_8161F74 special sub_8161F74
compare VAR_RESULT, 50 compare VAR_RESULT, 50
goto_if 4, BattleFrontier_ScottsHouse_EventScript_26387A goto_if_ge BattleFrontier_ScottsHouse_EventScript_26387A
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
setvar VAR_0x8006, 1 setvar VAR_0x8006, 1
@@ -128,7 +106,7 @@ BattleFrontier_ScottsHouse_EventScript_26381B:: @ 826381B
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_8161F74 special sub_8161F74
compare VAR_RESULT, 50 compare VAR_RESULT, 50
goto_if 4, BattleFrontier_ScottsHouse_EventScript_26387A goto_if_ge BattleFrontier_ScottsHouse_EventScript_26387A
goto BattleFrontier_ScottsHouse_EventScript_2637E4 goto BattleFrontier_ScottsHouse_EventScript_2637E4
end end
@@ -136,7 +114,7 @@ BattleFrontier_ScottsHouse_EventScript_26387A:: @ 826387A
msgbox BattleFrontier_ScottsHouse_Text_264412, MSGBOX_DEFAULT msgbox BattleFrontier_ScottsHouse_Text_264412, MSGBOX_DEFAULT
givedecoration_std 42 givedecoration_std 42
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_ScottsHouse_EventScript_2638A0 goto_if_eq BattleFrontier_ScottsHouse_EventScript_2638A0
setflag FLAG_0x0ED setflag FLAG_0x0ED
setflag FLAG_TEMP_3 setflag FLAG_TEMP_3
goto BattleFrontier_ScottsHouse_EventScript_2638AA goto BattleFrontier_ScottsHouse_EventScript_2638AA
@@ -162,7 +140,7 @@ BattleFrontier_ScottsHouse_EventScript_2638B4:: @ 82638B4
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_8161F74 special sub_8161F74
compare VAR_RESULT, 100 compare VAR_RESULT, 100
goto_if 4, BattleFrontier_ScottsHouse_EventScript_263913 goto_if_ge BattleFrontier_ScottsHouse_EventScript_263913
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
setvar VAR_0x8006, 1 setvar VAR_0x8006, 1
@@ -171,7 +149,7 @@ BattleFrontier_ScottsHouse_EventScript_2638B4:: @ 82638B4
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special sub_8161F74 special sub_8161F74
compare VAR_RESULT, 100 compare VAR_RESULT, 100
goto_if 4, BattleFrontier_ScottsHouse_EventScript_263913 goto_if_ge BattleFrontier_ScottsHouse_EventScript_263913
goto BattleFrontier_ScottsHouse_EventScript_2637E4 goto BattleFrontier_ScottsHouse_EventScript_2637E4
end end
@@ -179,7 +157,7 @@ BattleFrontier_ScottsHouse_EventScript_263913:: @ 8263913
msgbox BattleFrontier_ScottsHouse_Text_26449F, MSGBOX_DEFAULT msgbox BattleFrontier_ScottsHouse_Text_26449F, MSGBOX_DEFAULT
givedecoration_std 43 givedecoration_std 43
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BattleFrontier_ScottsHouse_EventScript_2638A0 goto_if_eq BattleFrontier_ScottsHouse_EventScript_2638A0
setflag FLAG_0x0EE setflag FLAG_0x0EE
setflag FLAG_TEMP_3 setflag FLAG_TEMP_3
goto BattleFrontier_ScottsHouse_EventScript_2638AA goto BattleFrontier_ScottsHouse_EventScript_2638AA
@@ -195,23 +173,23 @@ BattleFrontier_ScottsHouse_EventScript_263943:: @ 8263943
closemessage closemessage
delay 30 delay 30
compare VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, BattleFrontier_ScottsHouse_EventScript_263A13 call_if_eq BattleFrontier_ScottsHouse_EventScript_263A13
compare VAR_FACING, 1 compare VAR_FACING, 1
call_if 1, BattleFrontier_ScottsHouse_EventScript_263A1E call_if_eq BattleFrontier_ScottsHouse_EventScript_263A1E
compare VAR_FACING, 4 compare VAR_FACING, 4
call_if 1, BattleFrontier_ScottsHouse_EventScript_263A29 call_if_eq BattleFrontier_ScottsHouse_EventScript_263A29
compare VAR_FACING, 3 compare VAR_FACING, 3
call_if 1, BattleFrontier_ScottsHouse_EventScript_263A34 call_if_eq BattleFrontier_ScottsHouse_EventScript_263A34
msgbox BattleFrontier_ScottsHouse_Text_263B29, MSGBOX_DEFAULT msgbox BattleFrontier_ScottsHouse_Text_263B29, MSGBOX_DEFAULT
applymovement 1, BattleFrontier_ScottsHouse_Movement_27259E applymovement 1, BattleFrontier_ScottsHouse_Movement_27259E
waitmovement 0 waitmovement 0
msgbox BattleFrontier_ScottsHouse_Text_263BD4, MSGBOX_DEFAULT msgbox BattleFrontier_ScottsHouse_Text_263BD4, MSGBOX_DEFAULT
compare VAR_0x40D1, 13 compare VAR_0x40D1, 13
goto_eq BattleFrontier_ScottsHouse_EventScript_2639BC goto_if_eq BattleFrontier_ScottsHouse_EventScript_2639BC
compare VAR_0x40D1, 9 compare VAR_0x40D1, 9
goto_if 4, BattleFrontier_ScottsHouse_EventScript_2639CB goto_if_ge BattleFrontier_ScottsHouse_EventScript_2639CB
compare VAR_0x40D1, 6 compare VAR_0x40D1, 6
goto_if 4, BattleFrontier_ScottsHouse_EventScript_2639DA goto_if_ge BattleFrontier_ScottsHouse_EventScript_2639DA
goto BattleFrontier_ScottsHouse_EventScript_2639E9 goto BattleFrontier_ScottsHouse_EventScript_2639E9
end end
+8 -12
View File
@@ -13,10 +13,8 @@ BirthIsland_Exterior_MapScript1_267F29: @ 8267F29
setvar VAR_OBJ_GFX_ID_0, 100 setvar VAR_OBJ_GFX_ID_0, 100
setvar VAR_0x4034, 0 setvar VAR_0x4034, 0
setvar VAR_0x4035, 0 setvar VAR_0x4035, 0
checkflag FLAG_0x1AD call_if_set FLAG_0x1AD, BirthIsland_Exterior_EventScript_267F4E
call_if 1, BirthIsland_Exterior_EventScript_267F4E call_if_unset FLAG_0x1AD, BirthIsland_Exterior_EventScript_267F55
checkflag FLAG_0x1AD
call_if 0, BirthIsland_Exterior_EventScript_267F55
end end
BirthIsland_Exterior_EventScript_267F4E:: @ 8267F4E BirthIsland_Exterior_EventScript_267F4E:: @ 8267F4E
@@ -25,21 +23,19 @@ BirthIsland_Exterior_EventScript_267F4E:: @ 8267F4E
return return
BirthIsland_Exterior_EventScript_267F55:: @ 8267F55 BirthIsland_Exterior_EventScript_267F55:: @ 8267F55
checkflag FLAG_0x1AC goto_if_set FLAG_0x1AC, BirthIsland_Exterior_EventScript_27374E
goto_eq BirthIsland_Exterior_EventScript_27374E
clearflag FLAG_HIDE_BIRTH_ISLAND_DEOXYS_TRIANGLE clearflag FLAG_HIDE_BIRTH_ISLAND_DEOXYS_TRIANGLE
clearflag FLAG_0x8D4 clearflag FLAG_0x8D4
return return
BirthIsland_Exterior_MapScript1_267F65: @ 8267F65 BirthIsland_Exterior_MapScript1_267F65: @ 8267F65
checkflag FLAG_SYS_CTRL_OBJ_DELETE call_if_set FLAG_SYS_CTRL_OBJ_DELETE, BirthIsland_Exterior_EventScript_267F6F
call_if 1, BirthIsland_Exterior_EventScript_267F6F
end end
BirthIsland_Exterior_EventScript_267F6F:: @ 8267F6F BirthIsland_Exterior_EventScript_267F6F:: @ 8267F6F
specialvar VAR_RESULT, GetBattleOutcome specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 7 compare VAR_RESULT, 7
goto_if 5, BirthIsland_Exterior_EventScript_27374E goto_if_ne BirthIsland_Exterior_EventScript_27374E
removeobject 2 removeobject 2
return return
@@ -93,11 +89,11 @@ BirthIsland_Exterior_EventScript_267FC1:: @ 8267FC1
clearflag FLAG_SYS_CTRL_OBJ_DELETE clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq BirthIsland_Exterior_EventScript_26803B goto_if_eq BirthIsland_Exterior_EventScript_26803B
compare VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq BirthIsland_Exterior_EventScript_268049 goto_if_eq BirthIsland_Exterior_EventScript_268049
compare VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq BirthIsland_Exterior_EventScript_268049 goto_if_eq BirthIsland_Exterior_EventScript_268049
setflag FLAG_0x1AD setflag FLAG_0x1AD
release release
end end
+1 -1
View File
@@ -6,7 +6,7 @@ BirthIsland_Harbor_EventScript_26805D:: @ 826805D
faceplayer faceplayer
msgbox BirthIsland_Harbor_Text_2C6B90, MSGBOX_YESNO msgbox BirthIsland_Harbor_Text_2C6B90, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq BirthIsland_Harbor_EventScript_2680A2 goto_if_eq BirthIsland_Harbor_EventScript_2680A2
msgbox BirthIsland_Harbor_Text_2A6A5D, MSGBOX_DEFAULT msgbox BirthIsland_Harbor_Text_2A6A5D, MSGBOX_DEFAULT
closemessage closemessage
applymovement VAR_LAST_TALKED, BirthIsland_Harbor_Movement_2725AA applymovement VAR_LAST_TALKED, BirthIsland_Harbor_Movement_2725AA
+1 -2
View File
@@ -3,7 +3,6 @@ CaveOfOrigin_1F_MapScripts:: @ 8235768
.byte 0 .byte 0
CaveOfOrigin_1F_MapScript1_23576E: @ 823576E CaveOfOrigin_1F_MapScript1_23576E: @ 823576E
checkflag FLAG_0x071 call_if_set FLAG_0x071, CaveOfOrigin_1F_EventScript_2722C1
call_if 1, CaveOfOrigin_1F_EventScript_2722C1
end end
@@ -3,7 +3,6 @@ CaveOfOrigin_UnusedRubySapphireMap1_MapScripts:: @ 8235778
.byte 0 .byte 0
CaveOfOrigin_UnusedRubySapphireMap1_MapScript1_23577E: @ 823577E CaveOfOrigin_UnusedRubySapphireMap1_MapScript1_23577E: @ 823577E
checkflag FLAG_0x071 call_if_set FLAG_0x071, CaveOfOrigin_UnusedRubySapphireMap1_EventScript_2722C1
call_if 1, CaveOfOrigin_UnusedRubySapphireMap1_EventScript_2722C1
end end
@@ -3,7 +3,6 @@ CaveOfOrigin_UnusedRubySapphireMap2_MapScripts:: @ 8235788
.byte 0 .byte 0
CaveOfOrigin_UnusedRubySapphireMap2_MapScript1_23578E: @ 823578E CaveOfOrigin_UnusedRubySapphireMap2_MapScript1_23578E: @ 823578E
checkflag FLAG_0x071 call_if_set FLAG_0x071, CaveOfOrigin_UnusedRubySapphireMap2_EventScript_2722C1
call_if 1, CaveOfOrigin_UnusedRubySapphireMap2_EventScript_2722C1
end end
@@ -3,7 +3,6 @@ CaveOfOrigin_UnusedRubySapphireMap3_MapScripts:: @ 8235798
.byte 0 .byte 0
CaveOfOrigin_UnusedRubySapphireMap3_MapScript1_23579E: @ 823579E CaveOfOrigin_UnusedRubySapphireMap3_MapScript1_23579E: @ 823579E
checkflag FLAG_0x071 call_if_set FLAG_0x071, CaveOfOrigin_UnusedRubySapphireMap3_EventScript_2722C1
call_if 1, CaveOfOrigin_UnusedRubySapphireMap3_EventScript_2722C1
end end
+8 -12
View File
@@ -5,20 +5,18 @@ DesertRuins_MapScripts:: @ 822D95B
.byte 0 .byte 0
DesertRuins_MapScript1_22D96B: @ 822D96B DesertRuins_MapScript1_22D96B: @ 822D96B
checkflag FLAG_SYS_CTRL_OBJ_DELETE call_if_set FLAG_SYS_CTRL_OBJ_DELETE, DesertRuins_EventScript_22D975
call_if 1, DesertRuins_EventScript_22D975
end end
DesertRuins_EventScript_22D975:: @ 822D975 DesertRuins_EventScript_22D975:: @ 822D975
specialvar VAR_RESULT, GetBattleOutcome specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 7 compare VAR_RESULT, 7
goto_if 5, DesertRuins_EventScript_27374E goto_if_ne DesertRuins_EventScript_27374E
removeobject VAR_LAST_TALKED removeobject VAR_LAST_TALKED
return return
DesertRuins_MapScript1_22D989: @ 822D989 DesertRuins_MapScript1_22D989: @ 822D989
checkflag FLAG_SYS_BRAILLE_STRENGTH call_if_unset FLAG_SYS_BRAILLE_STRENGTH, DesertRuins_EventScript_22D993
call_if 0, DesertRuins_EventScript_22D993
end end
DesertRuins_EventScript_22D993:: @ 822D993 DesertRuins_EventScript_22D993:: @ 822D993
@@ -32,8 +30,7 @@ DesertRuins_EventScript_22D993:: @ 822D993
DesertRuins_MapScript1_22D9CA: @ 822D9CA DesertRuins_MapScript1_22D9CA: @ 822D9CA
setflag FLAG_LANDMARK_DESERT_RUINS setflag FLAG_LANDMARK_DESERT_RUINS
checkflag FLAG_0x1BB call_if_unset FLAG_0x1BB, DesertRuins_EventScript_22D9D7
call_if 0, DesertRuins_EventScript_22D9D7
end end
DesertRuins_EventScript_22D9D7:: @ 822D9D7 DesertRuins_EventScript_22D9D7:: @ 822D9D7
@@ -42,8 +39,7 @@ DesertRuins_EventScript_22D9D7:: @ 822D9D7
DesertRuins_EventScript_22D9DB:: @ 822D9DB DesertRuins_EventScript_22D9DB:: @ 822D9DB
lockall lockall
checkflag FLAG_SYS_BRAILLE_STRENGTH goto_if_set FLAG_SYS_BRAILLE_STRENGTH, DesertRuins_EventScript_22D9EE
goto_eq DesertRuins_EventScript_22D9EE
braillemessage DesertRuins_Braille_2A6CA0 braillemessage DesertRuins_Braille_2A6CA0
waitbuttonpress waitbuttonpress
hidebox2 hidebox2
@@ -77,11 +73,11 @@ DesertRuins_EventScript_22DA02:: @ 822DA02
clearflag FLAG_SYS_CTRL_OBJ_DELETE clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq DesertRuins_EventScript_22DA49 goto_if_eq DesertRuins_EventScript_22DA49
compare VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq DesertRuins_EventScript_22DA52 goto_if_eq DesertRuins_EventScript_22DA52
compare VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq DesertRuins_EventScript_22DA52 goto_if_eq DesertRuins_EventScript_22DA52
setflag FLAG_0x1BB setflag FLAG_0x1BB
release release
end end
+2 -4
View File
@@ -9,10 +9,8 @@ DesertUnderpass_MapScript1_23AF3D: @ 823AF3D
DesertUnderpass_EventScript_23AF41:: @ 823AF41 DesertUnderpass_EventScript_23AF41:: @ 823AF41
lock lock
faceplayer faceplayer
checkflag FLAG_0x14F goto_if_set FLAG_0x14F, DesertUnderpass_EventScript_23AF57
goto_eq DesertUnderpass_EventScript_23AF57 goto_if_set FLAG_0x150, DesertUnderpass_EventScript_23AF68
checkflag FLAG_0x150
goto_eq DesertUnderpass_EventScript_23AF68
release release
end end
+14 -18
View File
@@ -9,8 +9,7 @@ DewfordTown_MapScript1_1E950D: @ 81E950D
DewfordTown_EventScript_1E9511:: @ 81E9511 DewfordTown_EventScript_1E9511:: @ 81E9511
lock lock
faceplayer faceplayer
checkflag FLAG_0x0BD goto_if_unset FLAG_0x0BD, DewfordTown_EventScript_1E9585
goto_if 0, DewfordTown_EventScript_1E9585
message DewfordTown_Text_1E9C8A message DewfordTown_Text_1E9C8A
waitmessage waitmessage
multichoicedefault 21, 6, 0, 2, 0 multichoicedefault 21, 6, 0, 2, 0
@@ -44,7 +43,7 @@ DewfordTown_EventScript_1E957A:: @ 81E957A
DewfordTown_EventScript_1E9585:: @ 81E9585 DewfordTown_EventScript_1E9585:: @ 81E9585
msgbox DewfordTown_Text_1E9B24, MSGBOX_YESNO msgbox DewfordTown_Text_1E9B24, MSGBOX_YESNO
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq DewfordTown_EventScript_1E95A2 goto_if_eq DewfordTown_EventScript_1E95A2
msgbox DewfordTown_Text_1E9BD9, MSGBOX_DEFAULT msgbox DewfordTown_Text_1E9BD9, MSGBOX_DEFAULT
release release
end end
@@ -74,13 +73,12 @@ DewfordTown_EventScript_1E95CC:: @ 81E95CC
DewfordTown_EventScript_1E95D5:: @ 81E95D5 DewfordTown_EventScript_1E95D5:: @ 81E95D5
lock lock
faceplayer faceplayer
checkflag FLAG_0x101 goto_if_set FLAG_0x101, DewfordTown_EventScript_1E962A
goto_eq DewfordTown_EventScript_1E962A
msgbox DewfordTown_Text_1E9DD1, MSGBOX_YESNO msgbox DewfordTown_Text_1E9DD1, MSGBOX_YESNO
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq DewfordTown_EventScript_1E95FF goto_if_eq DewfordTown_EventScript_1E95FF
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DewfordTown_EventScript_1E9620 goto_if_eq DewfordTown_EventScript_1E9620
end end
DewfordTown_EventScript_1E95FF:: @ 81E95FF DewfordTown_EventScript_1E95FF:: @ 81E95FF
@@ -101,9 +99,9 @@ DewfordTown_EventScript_1E962A:: @ 81E962A
waitmessage waitmessage
multichoice 20, 8, 50, 1 multichoice 20, 8, 50, 1
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DewfordTown_EventScript_1E964C goto_if_eq DewfordTown_EventScript_1E964C
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq DewfordTown_EventScript_1E9656 goto_if_eq DewfordTown_EventScript_1E9656
end end
DewfordTown_EventScript_1E964C:: @ 81E964C DewfordTown_EventScript_1E964C:: @ 81E964C
@@ -176,10 +174,8 @@ DewfordTown_EventScript_1E96E7:: @ 81E96E7
clearflag FLAG_HIDE_ROUTE_109_MR_BRINEY_BOAT clearflag FLAG_HIDE_ROUTE_109_MR_BRINEY_BOAT
setflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD_TOWN setflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD_TOWN
hideobjectat 4, MAP_DEWFORD_TOWN hideobjectat 4, MAP_DEWFORD_TOWN
checkflag FLAG_0x095 call_if_unset FLAG_0x095, DewfordTown_EventScript_1E9790
call_if 0, DewfordTown_EventScript_1E9790 call_if_set FLAG_0x095, DewfordTown_EventScript_1E9799
checkflag FLAG_0x095
call_if 1, DewfordTown_EventScript_1E9799
closemessage closemessage
copyvar VAR_0x4096, VAR_0x8008 copyvar VAR_0x4096, VAR_0x8008
resetobjectpriority 255, MAP_DEWFORD_TOWN resetobjectpriority 255, MAP_DEWFORD_TOWN
@@ -600,9 +596,9 @@ DewfordTown_EventScript_1E9922:: @ 81E9922
call DewfordTown_EventScript_271E8B call DewfordTown_EventScript_271E8B
msgbox DewfordTown_Text_1EA136, MSGBOX_YESNO msgbox DewfordTown_Text_1EA136, MSGBOX_YESNO
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq DewfordTown_EventScript_1E9948 goto_if_eq DewfordTown_EventScript_1E9948
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DewfordTown_EventScript_1E9952 goto_if_eq DewfordTown_EventScript_1E9952
end end
DewfordTown_EventScript_1E9948:: @ 81E9948 DewfordTown_EventScript_1E9948:: @ 81E9948
@@ -617,15 +613,15 @@ DewfordTown_EventScript_1E9952:: @ 81E9952
lock lock
faceplayer faceplayer
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq DewfordTown_EventScript_1E997D goto_if_eq DewfordTown_EventScript_1E997D
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DewfordTown_EventScript_1E9994 goto_if_eq DewfordTown_EventScript_1E9994
end end
DewfordTown_EventScript_1E997D:: @ 81E997D DewfordTown_EventScript_1E997D:: @ 81E997D
incrementgamestat 2 incrementgamestat 2
compare VAR_0x8004, 0 compare VAR_0x8004, 0
goto_eq DewfordTown_EventScript_1E999E goto_if_eq DewfordTown_EventScript_1E999E
msgbox DewfordTown_Text_1EA2AA, MSGBOX_DEFAULT msgbox DewfordTown_Text_1EA2AA, MSGBOX_DEFAULT
release release
end end
+28 -32
View File
@@ -8,21 +8,21 @@ DewfordTown_Gym_MapScript1_1FC642: @ 81FC642
DewfordTown_Gym_EventScript_1FC648:: @ 81FC648 DewfordTown_Gym_EventScript_1FC648:: @ 81FC648
checktrainerflag TRAINER_BRAWLY_1 checktrainerflag TRAINER_BRAWLY_1
goto_eq DewfordTown_Gym_EventScript_1FC6A2 goto_if_eq DewfordTown_Gym_EventScript_1FC6A2
call DewfordTown_Gym_EventScript_1FC768 call DewfordTown_Gym_EventScript_1FC768
copyvar VAR_0x8001, VAR_0x8000 copyvar VAR_0x8001, VAR_0x8000
compare VAR_0x8000, 0 compare VAR_0x8000, 0
goto_eq DewfordTown_Gym_EventScript_1FC6BE goto_if_eq DewfordTown_Gym_EventScript_1FC6BE
compare VAR_0x8000, 1 compare VAR_0x8000, 1
goto_eq DewfordTown_Gym_EventScript_1FC6BA goto_if_eq DewfordTown_Gym_EventScript_1FC6BA
compare VAR_0x8000, 2 compare VAR_0x8000, 2
goto_eq DewfordTown_Gym_EventScript_1FC6B6 goto_if_eq DewfordTown_Gym_EventScript_1FC6B6
compare VAR_0x8000, 3 compare VAR_0x8000, 3
goto_eq DewfordTown_Gym_EventScript_1FC6B2 goto_if_eq DewfordTown_Gym_EventScript_1FC6B2
compare VAR_0x8000, 4 compare VAR_0x8000, 4
goto_eq DewfordTown_Gym_EventScript_1FC6AE goto_if_eq DewfordTown_Gym_EventScript_1FC6AE
compare VAR_0x8000, 5 compare VAR_0x8000, 5
goto_eq DewfordTown_Gym_EventScript_1FC6AA goto_if_eq DewfordTown_Gym_EventScript_1FC6AA
goto DewfordTown_Gym_EventScript_1FC6A6 goto DewfordTown_Gym_EventScript_1FC6A6
DewfordTown_Gym_EventScript_1FC6A2:: @ 81FC6A2 DewfordTown_Gym_EventScript_1FC6A2:: @ 81FC6A2
@@ -61,20 +61,20 @@ DewfordTown_Gym_EventScript_1FC6C2:: @ 81FC6C2
call DewfordTown_Gym_EventScript_1FC768 call DewfordTown_Gym_EventScript_1FC768
nop1 nop1
compare VAR_0x8000, VAR_0x8001 compare VAR_0x8000, VAR_0x8001
goto_eq DewfordTown_Gym_EventScript_1FC71A goto_if_eq DewfordTown_Gym_EventScript_1FC71A
copyvar VAR_0x8001, VAR_0x8000 copyvar VAR_0x8001, VAR_0x8000
compare VAR_0x8000, 1 compare VAR_0x8000, 1
goto_eq DewfordTown_Gym_EventScript_1FC71B goto_if_eq DewfordTown_Gym_EventScript_1FC71B
compare VAR_0x8000, 2 compare VAR_0x8000, 2
goto_eq DewfordTown_Gym_EventScript_1FC726 goto_if_eq DewfordTown_Gym_EventScript_1FC726
compare VAR_0x8000, 3 compare VAR_0x8000, 3
goto_eq DewfordTown_Gym_EventScript_1FC731 goto_if_eq DewfordTown_Gym_EventScript_1FC731
compare VAR_0x8000, 4 compare VAR_0x8000, 4
goto_eq DewfordTown_Gym_EventScript_1FC73C goto_if_eq DewfordTown_Gym_EventScript_1FC73C
compare VAR_0x8000, 5 compare VAR_0x8000, 5
goto_eq DewfordTown_Gym_EventScript_1FC747 goto_if_eq DewfordTown_Gym_EventScript_1FC747
compare VAR_0x8000, 6 compare VAR_0x8000, 6
goto_eq DewfordTown_Gym_EventScript_1FC752 goto_if_eq DewfordTown_Gym_EventScript_1FC752
DewfordTown_Gym_EventScript_1FC71A:: @ 81FC71A DewfordTown_Gym_EventScript_1FC71A:: @ 81FC71A
return return
@@ -124,32 +124,32 @@ DewfordTown_Gym_EventScript_1FC75D:: @ 81FC75D
DewfordTown_Gym_EventScript_1FC768:: @ 81FC768 DewfordTown_Gym_EventScript_1FC768:: @ 81FC768
setvar VAR_0x8000, 0 setvar VAR_0x8000, 0
checktrainerflag TRAINER_TAKAO checktrainerflag TRAINER_TAKAO
goto_if 0, DewfordTown_Gym_EventScript_1FC77B goto_if_lt DewfordTown_Gym_EventScript_1FC77B
addvar VAR_0x8000, 1 addvar VAR_0x8000, 1
DewfordTown_Gym_EventScript_1FC77B:: @ 81FC77B DewfordTown_Gym_EventScript_1FC77B:: @ 81FC77B
checktrainerflag TRAINER_JOCELYN checktrainerflag TRAINER_JOCELYN
goto_if 0, DewfordTown_Gym_EventScript_1FC789 goto_if_lt DewfordTown_Gym_EventScript_1FC789
addvar VAR_0x8000, 1 addvar VAR_0x8000, 1
DewfordTown_Gym_EventScript_1FC789:: @ 81FC789 DewfordTown_Gym_EventScript_1FC789:: @ 81FC789
checktrainerflag TRAINER_LAURA checktrainerflag TRAINER_LAURA
goto_if 0, DewfordTown_Gym_EventScript_1FC797 goto_if_lt DewfordTown_Gym_EventScript_1FC797
addvar VAR_0x8000, 1 addvar VAR_0x8000, 1
DewfordTown_Gym_EventScript_1FC797:: @ 81FC797 DewfordTown_Gym_EventScript_1FC797:: @ 81FC797
checktrainerflag TRAINER_BRENDEN checktrainerflag TRAINER_BRENDEN
goto_if 0, DewfordTown_Gym_EventScript_1FC7A5 goto_if_lt DewfordTown_Gym_EventScript_1FC7A5
addvar VAR_0x8000, 1 addvar VAR_0x8000, 1
DewfordTown_Gym_EventScript_1FC7A5:: @ 81FC7A5 DewfordTown_Gym_EventScript_1FC7A5:: @ 81FC7A5
checktrainerflag TRAINER_CRISTIAN checktrainerflag TRAINER_CRISTIAN
goto_if 0, DewfordTown_Gym_EventScript_1FC7B3 goto_if_lt DewfordTown_Gym_EventScript_1FC7B3
addvar VAR_0x8000, 1 addvar VAR_0x8000, 1
DewfordTown_Gym_EventScript_1FC7B3:: @ 81FC7B3 DewfordTown_Gym_EventScript_1FC7B3:: @ 81FC7B3
checktrainerflag TRAINER_LILITH checktrainerflag TRAINER_LILITH
goto_if 0, DewfordTown_Gym_EventScript_1FC7C1 goto_if_lt DewfordTown_Gym_EventScript_1FC7C1
addvar VAR_0x8000, 1 addvar VAR_0x8000, 1
DewfordTown_Gym_EventScript_1FC7C1:: @ 81FC7C1 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 trainerbattle_single TRAINER_BRAWLY_1, DewfordTown_Gym_Text_1FCF44, DewfordTown_Gym_Text_1FD008, DewfordTown_Gym_EventScript_1FC7F7, NO_MUSIC
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq DewfordTown_Gym_EventScript_1FC89C goto_if_eq DewfordTown_Gym_EventScript_1FC89C
checkflag FLAG_0x0A6 goto_if_unset FLAG_0x0A6, DewfordTown_Gym_EventScript_1FC878
goto_if 0, DewfordTown_Gym_EventScript_1FC878
msgbox DewfordTown_Gym_Text_1FD20D, MSGBOX_DEFAULT msgbox DewfordTown_Gym_Text_1FD20D, MSGBOX_DEFAULT
release release
end end
@@ -176,7 +175,7 @@ DewfordTown_Gym_EventScript_1FC7F7:: @ 81FC7F7
setflag FLAG_BADGE02_GET setflag FLAG_BADGE02_GET
addvar VAR_0x4085, 1 addvar VAR_0x4085, 1
compare VAR_0x4085, 6 compare VAR_0x4085, 6
call_if 1, DewfordTown_Gym_EventScript_271E84 call_if_eq DewfordTown_Gym_EventScript_271E84
setvar VAR_0x8008, 2 setvar VAR_0x8008, 2
call DewfordTown_Gym_EventScript_271F43 call DewfordTown_Gym_EventScript_271F43
call DewfordTown_Gym_EventScript_1FC855 call DewfordTown_Gym_EventScript_1FC855
@@ -196,7 +195,7 @@ DewfordTown_Gym_EventScript_1FC7F7:: @ 81FC7F7
DewfordTown_Gym_EventScript_1FC855:: @ 81FC855 DewfordTown_Gym_EventScript_1FC855:: @ 81FC855
giveitem_std ITEM_TM08 giveitem_std ITEM_TM08
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DewfordTown_Gym_EventScript_27205E goto_if_eq DewfordTown_Gym_EventScript_27205E
msgbox DewfordTown_Gym_Text_1FD181, MSGBOX_DEFAULT msgbox DewfordTown_Gym_Text_1FD181, MSGBOX_DEFAULT
setflag FLAG_0x0A6 setflag FLAG_0x0A6
return return
@@ -204,7 +203,7 @@ DewfordTown_Gym_EventScript_1FC855:: @ 81FC855
DewfordTown_Gym_EventScript_1FC878:: @ 81FC878 DewfordTown_Gym_EventScript_1FC878:: @ 81FC878
giveitem_std ITEM_TM08 giveitem_std ITEM_TM08
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DewfordTown_Gym_EventScript_272054 goto_if_eq DewfordTown_Gym_EventScript_272054
msgbox DewfordTown_Gym_Text_1FD181, MSGBOX_DEFAULT msgbox DewfordTown_Gym_Text_1FD181, MSGBOX_DEFAULT
setflag FLAG_0x0A6 setflag FLAG_0x0A6
release release
@@ -278,8 +277,7 @@ DewfordTown_Gym_EventScript_1FC97C:: @ 81FC97C
DewfordTown_Gym_EventScript_1FC983:: @ 81FC983 DewfordTown_Gym_EventScript_1FC983:: @ 81FC983
lock lock
faceplayer faceplayer
checkflag FLAG_0x4F1 goto_if_set FLAG_0x4F1, DewfordTown_Gym_EventScript_1FC998
goto_eq DewfordTown_Gym_EventScript_1FC998
msgbox DewfordTown_Gym_Text_1FC9D6, MSGBOX_DEFAULT msgbox DewfordTown_Gym_Text_1FC9D6, MSGBOX_DEFAULT
release release
end end
@@ -291,15 +289,13 @@ DewfordTown_Gym_EventScript_1FC998:: @ 81FC998
DewfordTown_Gym_EventScript_1FC9A2:: @ 81FC9A2 DewfordTown_Gym_EventScript_1FC9A2:: @ 81FC9A2
lockall lockall
checkflag FLAG_BADGE02_GET goto_if_set FLAG_BADGE02_GET, DewfordTown_Gym_EventScript_1FC9C2
goto_eq DewfordTown_Gym_EventScript_1FC9C2
goto DewfordTown_Gym_EventScript_1FC9CC goto DewfordTown_Gym_EventScript_1FC9CC
end end
DewfordTown_Gym_EventScript_1FC9B2:: @ 81FC9B2 DewfordTown_Gym_EventScript_1FC9B2:: @ 81FC9B2
lockall lockall
checkflag FLAG_BADGE02_GET goto_if_set FLAG_BADGE02_GET, DewfordTown_Gym_EventScript_1FC9C2
goto_eq DewfordTown_Gym_EventScript_1FC9C2
goto DewfordTown_Gym_EventScript_1FC9CC goto DewfordTown_Gym_EventScript_1FC9CC
end end
+13 -14
View File
@@ -7,7 +7,7 @@ DewfordTown_Hall_EventScript_1FD4D0:: @ 81FD4D0
call DewfordTown_Hall_EventScript_271E8B call DewfordTown_Hall_EventScript_271E8B
special TrendyPhraseIsOld special TrendyPhraseIsOld
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq DewfordTown_Hall_EventScript_1FD4EF goto_if_eq DewfordTown_Hall_EventScript_1FD4EF
msgbox DewfordTown_Hall_Text_1FD818, MSGBOX_DEFAULT msgbox DewfordTown_Hall_Text_1FD818, MSGBOX_DEFAULT
release release
end end
@@ -32,9 +32,9 @@ DewfordTown_Hall_EventScript_1FD50A:: @ 81FD50A
special sub_811EF6C special sub_811EF6C
msgbox DewfordTown_Hall_Text_1FD948, MSGBOX_YESNO msgbox DewfordTown_Hall_Text_1FD948, MSGBOX_YESNO
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq DewfordTown_Hall_EventScript_1FD533 goto_if_eq DewfordTown_Hall_EventScript_1FD533
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DewfordTown_Hall_EventScript_1FD53D goto_if_eq DewfordTown_Hall_EventScript_1FD53D
end end
DewfordTown_Hall_EventScript_1FD533:: @ 81FD533 DewfordTown_Hall_EventScript_1FD533:: @ 81FD533
@@ -192,14 +192,14 @@ DewfordTown_Hall_EventScript_1FD73A:: @ 81FD73A
applymovement 8, DewfordTown_Hall_Movement_1FD7D6 applymovement 8, DewfordTown_Hall_Movement_1FD7D6
waitmovement 0 waitmovement 0
compare VAR_0x8008, 0 compare VAR_0x8008, 0
goto_eq DewfordTown_Hall_EventScript_1FD75B goto_if_eq DewfordTown_Hall_EventScript_1FD75B
compare VAR_0x8008, 1 compare VAR_0x8008, 1
goto_eq DewfordTown_Hall_EventScript_1FD771 goto_if_eq DewfordTown_Hall_EventScript_1FD771
end end
DewfordTown_Hall_EventScript_1FD75B:: @ 81FD75B DewfordTown_Hall_EventScript_1FD75B:: @ 81FD75B
compare VAR_FACING, 4 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 applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Hall_Movement_2725A8
waitmovement 0 waitmovement 0
return return
@@ -211,16 +211,16 @@ DewfordTown_Hall_EventScript_1FD772:: @ 81FD772
applymovement 7, DewfordTown_Hall_Movement_1FD7D8 applymovement 7, DewfordTown_Hall_Movement_1FD7D8
waitmovement 0 waitmovement 0
compare VAR_0x8008, 0 compare VAR_0x8008, 0
goto_eq DewfordTown_Hall_EventScript_1FD793 goto_if_eq DewfordTown_Hall_EventScript_1FD793
compare VAR_0x8008, 1 compare VAR_0x8008, 1
goto_eq DewfordTown_Hall_EventScript_1FD7C0 goto_if_eq DewfordTown_Hall_EventScript_1FD7C0
end end
DewfordTown_Hall_EventScript_1FD793:: @ 81FD793 DewfordTown_Hall_EventScript_1FD793:: @ 81FD793
compare VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, DewfordTown_Hall_EventScript_1FD7AA call_if_eq DewfordTown_Hall_EventScript_1FD7AA
compare VAR_FACING, 1 compare VAR_FACING, 1
call_if 1, DewfordTown_Hall_EventScript_1FD7B5 call_if_eq DewfordTown_Hall_EventScript_1FD7B5
return return
DewfordTown_Hall_EventScript_1FD7AA:: @ 81FD7AA DewfordTown_Hall_EventScript_1FD7AA:: @ 81FD7AA
@@ -235,7 +235,7 @@ DewfordTown_Hall_EventScript_1FD7B5:: @ 81FD7B5
DewfordTown_Hall_EventScript_1FD7C0:: @ 81FD7C0 DewfordTown_Hall_EventScript_1FD7C0:: @ 81FD7C0
compare VAR_FACING, 3 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 applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Hall_Movement_2725A4
waitmovement 0 waitmovement 0
return return
@@ -252,12 +252,11 @@ DewfordTown_Hall_EventScript_1FD7DA:: @ 81FD7DA
lock lock
faceplayer faceplayer
call DewfordTown_Hall_EventScript_271E8B call DewfordTown_Hall_EventScript_271E8B
checkflag FLAG_RECEIVED_TM_36 goto_if_set FLAG_RECEIVED_TM_36, DewfordTown_Hall_EventScript_1FD80E
goto_eq DewfordTown_Hall_EventScript_1FD80E
msgbox DewfordTown_Hall_Text_1FE142, MSGBOX_DEFAULT msgbox DewfordTown_Hall_Text_1FE142, MSGBOX_DEFAULT
giveitem_std ITEM_TM36 giveitem_std ITEM_TM36
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DewfordTown_Hall_EventScript_272054 goto_if_eq DewfordTown_Hall_EventScript_272054
setflag FLAG_RECEIVED_TM_36 setflag FLAG_RECEIVED_TM_36
release release
end end
+2 -3
View File
@@ -4,12 +4,11 @@ DewfordTown_House2_MapScripts:: @ 81FE22D
DewfordTown_House2_EventScript_1FE22E:: @ 81FE22E DewfordTown_House2_EventScript_1FE22E:: @ 81FE22E
lock lock
faceplayer faceplayer
checkflag FLAG_0x121 goto_if_set FLAG_0x121, DewfordTown_House2_EventScript_1FE267
goto_eq DewfordTown_House2_EventScript_1FE267
msgbox DewfordTown_House2_Text_1FE27A, MSGBOX_DEFAULT msgbox DewfordTown_House2_Text_1FE27A, MSGBOX_DEFAULT
giveitem_std ITEM_SILK_SCARF giveitem_std ITEM_SILK_SCARF
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq DewfordTown_House2_EventScript_1FE25D goto_if_eq DewfordTown_House2_EventScript_1FE25D
setflag FLAG_0x121 setflag FLAG_0x121
release release
end end
+1 -2
View File
@@ -3,8 +3,7 @@ EverGrandeCity_MapScripts:: @ 81E7D1B
.byte 0 .byte 0
EverGrandeCity_MapScript1_1E7D21: @ 81E7D21 EverGrandeCity_MapScript1_1E7D21: @ 81E7D21
checkflag FLAG_SYS_WEATHER_CTRL call_if_set FLAG_SYS_WEATHER_CTRL, EverGrandeCity_EventScript_27207A
call_if 1, EverGrandeCity_EventScript_27207A
end end
EverGrandeCity_EventScript_1E7D2B:: @ 81E7D2B EverGrandeCity_EventScript_1E7D2B:: @ 81E7D2B
@@ -54,16 +54,16 @@ EverGrandeCity_ChampionsRoom_EventScript_228A61:: @ 8228A61
playse SE_DOOR playse SE_DOOR
checkplayergender checkplayergender
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, EverGrandeCity_ChampionsRoom_EventScript_228ABC call_if_eq EverGrandeCity_ChampionsRoom_EventScript_228ABC
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, EverGrandeCity_ChampionsRoom_EventScript_228AC1 call_if_eq EverGrandeCity_ChampionsRoom_EventScript_228AC1
addobject 2 addobject 2
call EverGrandeCity_ChampionsRoom_EventScript_228BFD call EverGrandeCity_ChampionsRoom_EventScript_228BFD
checkplayergender checkplayergender
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq EverGrandeCity_ChampionsRoom_EventScript_228AC6 goto_if_eq EverGrandeCity_ChampionsRoom_EventScript_228AC6
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq EverGrandeCity_ChampionsRoom_EventScript_228AFB goto_if_eq EverGrandeCity_ChampionsRoom_EventScript_228AFB
end end
EverGrandeCity_ChampionsRoom_EventScript_228ABC:: @ 8228ABC EverGrandeCity_ChampionsRoom_EventScript_228ABC:: @ 8228ABC
@@ -129,9 +129,9 @@ EverGrandeCity_ChampionsRoom_EventScript_228B30:: @ 8228B30
msgbox EverGrandeCity_ChampionsRoom_Text_2293EB, MSGBOX_DEFAULT msgbox EverGrandeCity_ChampionsRoom_Text_2293EB, MSGBOX_DEFAULT
checkplayergender checkplayergender
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, EverGrandeCity_ChampionsRoom_EventScript_228BEB call_if_eq EverGrandeCity_ChampionsRoom_EventScript_228BEB
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, EverGrandeCity_ChampionsRoom_EventScript_228BF4 call_if_eq EverGrandeCity_ChampionsRoom_EventScript_228BF4
closemessage closemessage
applymovement 1, EverGrandeCity_ChampionsRoom_Movement_228C3F applymovement 1, EverGrandeCity_ChampionsRoom_Movement_228C3F
applymovement EVENT_OBJ_ID_PLAYER, EverGrandeCity_ChampionsRoom_Movement_228C20 applymovement EVENT_OBJ_ID_PLAYER, EverGrandeCity_ChampionsRoom_Movement_228C20
@@ -24,10 +24,9 @@ EverGrandeCity_DrakesRoom_EventScript_2286C5:: @ 82286C5
end end
EverGrandeCity_DrakesRoom_MapScript1_2286D2: @ 82286D2 EverGrandeCity_DrakesRoom_MapScript1_2286D2: @ 82286D2
checkflag FLAG_0x4FE call_if_set FLAG_0x4FE, EverGrandeCity_DrakesRoom_EventScript_2286E7
call_if 1, EverGrandeCity_DrakesRoom_EventScript_2286E7
compare VAR_0x409C, 4 compare VAR_0x409C, 4
call_if 1, EverGrandeCity_DrakesRoom_EventScript_2286ED call_if_eq EverGrandeCity_DrakesRoom_EventScript_2286ED
end end
EverGrandeCity_DrakesRoom_EventScript_2286E7:: @ 82286E7 EverGrandeCity_DrakesRoom_EventScript_2286E7:: @ 82286E7
@@ -41,8 +40,7 @@ EverGrandeCity_DrakesRoom_EventScript_2286ED:: @ 82286ED
EverGrandeCity_DrakesRoom_EventScript_2286F3:: @ 82286F3 EverGrandeCity_DrakesRoom_EventScript_2286F3:: @ 82286F3
lock lock
faceplayer faceplayer
checkflag FLAG_0x4FE goto_if_set FLAG_0x4FE, EverGrandeCity_DrakesRoom_EventScript_22871A
goto_eq EverGrandeCity_DrakesRoom_EventScript_22871A
playbgm MUS_SITENNOU, 0 playbgm MUS_SITENNOU, 0
msgbox EverGrandeCity_DrakesRoom_Text_22873E, MSGBOX_DEFAULT msgbox EverGrandeCity_DrakesRoom_Text_22873E, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_DRAKE, EverGrandeCity_DrakesRoom_Text_228895 trainerbattle_no_intro TRAINER_DRAKE, EverGrandeCity_DrakesRoom_Text_228895
@@ -24,10 +24,9 @@ EverGrandeCity_GlaciasRoom_EventScript_22843B:: @ 822843B
end end
EverGrandeCity_GlaciasRoom_MapScript1_228448: @ 8228448 EverGrandeCity_GlaciasRoom_MapScript1_228448: @ 8228448
checkflag FLAG_0x4FD call_if_set FLAG_0x4FD, EverGrandeCity_GlaciasRoom_EventScript_22845D
call_if 1, EverGrandeCity_GlaciasRoom_EventScript_22845D
compare VAR_0x409C, 3 compare VAR_0x409C, 3
call_if 1, EverGrandeCity_GlaciasRoom_EventScript_228463 call_if_eq EverGrandeCity_GlaciasRoom_EventScript_228463
end end
EverGrandeCity_GlaciasRoom_EventScript_22845D:: @ 822845D EverGrandeCity_GlaciasRoom_EventScript_22845D:: @ 822845D
@@ -41,8 +40,7 @@ EverGrandeCity_GlaciasRoom_EventScript_228463:: @ 8228463
EverGrandeCity_GlaciasRoom_EventScript_228469:: @ 8228469 EverGrandeCity_GlaciasRoom_EventScript_228469:: @ 8228469
lock lock
faceplayer faceplayer
checkflag FLAG_0x4FD goto_if_set FLAG_0x4FD, EverGrandeCity_GlaciasRoom_EventScript_228490
goto_eq EverGrandeCity_GlaciasRoom_EventScript_228490
playbgm MUS_SITENNOU, 0 playbgm MUS_SITENNOU, 0
msgbox EverGrandeCity_GlaciasRoom_Text_2284AC, MSGBOX_DEFAULT msgbox EverGrandeCity_GlaciasRoom_Text_2284AC, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_GLACIA, EverGrandeCity_GlaciasRoom_Text_2285B4 trainerbattle_no_intro TRAINER_GLACIA, EverGrandeCity_GlaciasRoom_Text_2285B4
@@ -45,9 +45,9 @@ EverGrandeCity_HallOfFame_EventScript_229850:: @ 8229850
call EverGrandeCity_HallOfFame_EventScript_2717C1 call EverGrandeCity_HallOfFame_EventScript_2717C1
checkplayergender checkplayergender
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq EverGrandeCity_HallOfFame_EventScript_2298E9 goto_if_eq EverGrandeCity_HallOfFame_EventScript_2298E9
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq EverGrandeCity_HallOfFame_EventScript_2298F5 goto_if_eq EverGrandeCity_HallOfFame_EventScript_2298F5
end end
EverGrandeCity_HallOfFame_EventScript_2298E9:: @ 82298E9 EverGrandeCity_HallOfFame_EventScript_2298E9:: @ 82298E9
@@ -24,10 +24,9 @@ EverGrandeCity_PhoebesRoom_EventScript_22819D:: @ 822819D
end end
EverGrandeCity_PhoebesRoom_MapScript1_2281AA: @ 82281AA EverGrandeCity_PhoebesRoom_MapScript1_2281AA: @ 82281AA
checkflag FLAG_0x4FC call_if_set FLAG_0x4FC, EverGrandeCity_PhoebesRoom_EventScript_2281BF
call_if 1, EverGrandeCity_PhoebesRoom_EventScript_2281BF
compare VAR_0x409C, 2 compare VAR_0x409C, 2
call_if 1, EverGrandeCity_PhoebesRoom_EventScript_2281C5 call_if_eq EverGrandeCity_PhoebesRoom_EventScript_2281C5
end end
EverGrandeCity_PhoebesRoom_EventScript_2281BF:: @ 82281BF EverGrandeCity_PhoebesRoom_EventScript_2281BF:: @ 82281BF
@@ -41,8 +40,7 @@ EverGrandeCity_PhoebesRoom_EventScript_2281C5:: @ 82281C5
EverGrandeCity_PhoebesRoom_EventScript_2281CB:: @ 82281CB EverGrandeCity_PhoebesRoom_EventScript_2281CB:: @ 82281CB
lock lock
faceplayer faceplayer
checkflag FLAG_0x4FC goto_if_set FLAG_0x4FC, EverGrandeCity_PhoebesRoom_EventScript_2281F2
goto_eq EverGrandeCity_PhoebesRoom_EventScript_2281F2
playbgm MUS_SITENNOU, 0 playbgm MUS_SITENNOU, 0
msgbox EverGrandeCity_PhoebesRoom_Text_22820E, MSGBOX_DEFAULT msgbox EverGrandeCity_PhoebesRoom_Text_22820E, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_PHOEBE, EverGrandeCity_PhoebesRoom_Text_228325 trainerbattle_no_intro TRAINER_PHOEBE, EverGrandeCity_PhoebesRoom_Text_228325
@@ -5,13 +5,11 @@ EverGrandeCity_PokemonCenter_1F_MapScripts:: @ 8229A34
EverGrandeCity_PokemonCenter_1F_MapScript1_229A3F: @ 8229A3F EverGrandeCity_PokemonCenter_1F_MapScript1_229A3F: @ 8229A3F
setrespawn HEAL_LOCATION_EVER_GRANDE_CITY_1 setrespawn HEAL_LOCATION_EVER_GRANDE_CITY_1
checkflag FLAG_0x1CF call_if_unset FLAG_0x1CF, EverGrandeCity_PokemonCenter_1F_EventScript_229A4C
call_if 0, EverGrandeCity_PokemonCenter_1F_EventScript_229A4C
end end
EverGrandeCity_PokemonCenter_1F_EventScript_229A4C:: @ 8229A4C EverGrandeCity_PokemonCenter_1F_EventScript_229A4C:: @ 8229A4C
checkflag FLAG_BADGE06_GET goto_if_unset FLAG_BADGE06_GET, EverGrandeCity_PokemonCenter_1F_EventScript_27374E
goto_if 0, EverGrandeCity_PokemonCenter_1F_EventScript_27374E
clearflag FLAG_HIDE_EVER_GRANDE_POKEMON_CENTER_1F_SCOTT clearflag FLAG_HIDE_EVER_GRANDE_POKEMON_CENTER_1F_SCOTT
return return
@@ -37,11 +35,11 @@ EverGrandeCity_PokemonCenter_1F_EventScript_229A79:: @ 8229A79
msgbox EverGrandeCity_PokemonCenter_1F_Text_229BF1, MSGBOX_DEFAULT msgbox EverGrandeCity_PokemonCenter_1F_Text_229BF1, MSGBOX_DEFAULT
closemessage closemessage
compare VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, EverGrandeCity_PokemonCenter_1F_EventScript_229AB6 call_if_eq EverGrandeCity_PokemonCenter_1F_EventScript_229AB6
compare VAR_FACING, 4 compare VAR_FACING, 4
call_if 1, EverGrandeCity_PokemonCenter_1F_EventScript_229AC1 call_if_eq EverGrandeCity_PokemonCenter_1F_EventScript_229AC1
compare VAR_FACING, 3 compare VAR_FACING, 3
call_if 1, EverGrandeCity_PokemonCenter_1F_EventScript_229AC1 call_if_eq EverGrandeCity_PokemonCenter_1F_EventScript_229AC1
addvar VAR_0x40D1, 1 addvar VAR_0x40D1, 1
setflag FLAG_0x1CF setflag FLAG_0x1CF
playse SE_KAIDAN playse SE_KAIDAN
@@ -6,8 +6,7 @@ EverGrandeCity_PokemonLeague_1F_MapScripts:: @ 82295D2
EverGrandeCity_PokemonLeague_1F_MapScript1_2295DD: @ 82295DD EverGrandeCity_PokemonLeague_1F_MapScript1_2295DD: @ 82295DD
setrespawn HEAL_LOCATION_EVER_GRANDE_CITY_2 setrespawn HEAL_LOCATION_EVER_GRANDE_CITY_2
setflag FLAG_LANDMARK_POKEMON_LEAGUE setflag FLAG_LANDMARK_POKEMON_LEAGUE
checkflag FLAG_0x107 call_if_unset FLAG_0x107, EverGrandeCity_PokemonLeague_1F_EventScript_2295ED
call_if 0, EverGrandeCity_PokemonLeague_1F_EventScript_2295ED
end end
EverGrandeCity_PokemonLeague_1F_EventScript_2295ED:: @ 82295ED EverGrandeCity_PokemonLeague_1F_EventScript_2295ED:: @ 82295ED
@@ -48,18 +47,16 @@ EverGrandeCity_PokemonLeague_1F_Pokemart_229624: @ 8229624
EverGrandeCity_PokemonLeague_1F_EventScript_229636:: @ 8229636 EverGrandeCity_PokemonLeague_1F_EventScript_229636:: @ 8229636
lockall lockall
checkflag FLAG_0x107 goto_if_set FLAG_0x107, EverGrandeCity_PokemonLeague_1F_EventScript_2296BB
goto_eq EverGrandeCity_PokemonLeague_1F_EventScript_2296BB
getplayerxy VAR_TEMP_0, VAR_TEMP_1 getplayerxy VAR_TEMP_0, VAR_TEMP_1
compare VAR_TEMP_0, 11 compare VAR_TEMP_0, 11
call_if 4, EverGrandeCity_PokemonLeague_1F_EventScript_229698 call_if_ge EverGrandeCity_PokemonLeague_1F_EventScript_229698
compare VAR_TEMP_0, 8 compare VAR_TEMP_0, 8
call_if 3, EverGrandeCity_PokemonLeague_1F_EventScript_2296A3 call_if_le EverGrandeCity_PokemonLeague_1F_EventScript_2296A3
message EverGrandeCity_PokemonLeague_1F_Text_2296E8 message EverGrandeCity_PokemonLeague_1F_Text_2296E8
waitmessage waitmessage
delay 120 delay 120
checkflag FLAG_BADGE06_GET goto_if_unset FLAG_BADGE06_GET, EverGrandeCity_PokemonLeague_1F_EventScript_2296AE
goto_if 0, EverGrandeCity_PokemonLeague_1F_EventScript_2296AE
closemessage closemessage
applymovement 3, EverGrandeCity_PokemonLeague_1F_Movement_2296E2 applymovement 3, EverGrandeCity_PokemonLeague_1F_Movement_2296E2
applymovement 4, EverGrandeCity_PokemonLeague_1F_Movement_2296E5 applymovement 4, EverGrandeCity_PokemonLeague_1F_Movement_2296E5
@@ -11,10 +11,9 @@ EverGrandeCity_SidneysRoom_MapScript1_227F16: @ 8227F16
end end
EverGrandeCity_SidneysRoom_MapScript1_227F1D: @ 8227F1D EverGrandeCity_SidneysRoom_MapScript1_227F1D: @ 8227F1D
checkflag FLAG_0x4FB call_if_set FLAG_0x4FB, EverGrandeCity_SidneysRoom_EventScript_227F32
call_if 1, EverGrandeCity_SidneysRoom_EventScript_227F32
compare VAR_0x409C, 1 compare VAR_0x409C, 1
call_if 1, EverGrandeCity_SidneysRoom_EventScript_227F38 call_if_eq EverGrandeCity_SidneysRoom_EventScript_227F38
end end
EverGrandeCity_SidneysRoom_EventScript_227F32:: @ 8227F32 EverGrandeCity_SidneysRoom_EventScript_227F32:: @ 8227F32
@@ -48,8 +47,7 @@ EverGrandeCity_SidneysRoom_EventScript_227F57:: @ 8227F57
EverGrandeCity_SidneysRoom_EventScript_227F64:: @ 8227F64 EverGrandeCity_SidneysRoom_EventScript_227F64:: @ 8227F64
lock lock
faceplayer faceplayer
checkflag FLAG_0x4FB goto_if_set FLAG_0x4FB, EverGrandeCity_SidneysRoom_EventScript_227F8B
goto_eq EverGrandeCity_SidneysRoom_EventScript_227F8B
playbgm MUS_SITENNOU, 0 playbgm MUS_SITENNOU, 0
msgbox EverGrandeCity_SidneysRoom_Text_227FA7, MSGBOX_DEFAULT msgbox EverGrandeCity_SidneysRoom_Text_227FA7, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_SIDNEY, EverGrandeCity_SidneysRoom_Text_2280A2 trainerbattle_no_intro TRAINER_SIDNEY, EverGrandeCity_SidneysRoom_Text_2280A2
+1 -2
View File
@@ -11,8 +11,7 @@ FallarborTown_MapScript1_1EB200: @ 81EB200
FallarborTown_EventScript_1EB20C:: @ 81EB20C FallarborTown_EventScript_1EB20C:: @ 81EB20C
lock lock
faceplayer faceplayer
checkflag FLAG_0x08B goto_if_set FLAG_0x08B, FallarborTown_EventScript_1EB221
goto_eq FallarborTown_EventScript_1EB221
msgbox FallarborTown_Text_1EB26B, MSGBOX_DEFAULT msgbox FallarborTown_Text_1EB26B, MSGBOX_DEFAULT
release release
end end
@@ -11,9 +11,9 @@ FallarborTown_BattleTentBattleRoom_MapScript1_2008A9: @ 82008A9
FallarborTown_BattleTentBattleRoom_EventScript_2008AF:: @ 82008AF FallarborTown_BattleTentBattleRoom_EventScript_2008AF:: @ 82008AF
checkplayergender checkplayergender
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FallarborTown_BattleTentBattleRoom_EventScript_2008C7 goto_if_eq FallarborTown_BattleTentBattleRoom_EventScript_2008C7
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq FallarborTown_BattleTentBattleRoom_EventScript_2008D2 goto_if_eq FallarborTown_BattleTentBattleRoom_EventScript_2008D2
return return
FallarborTown_BattleTentBattleRoom_EventScript_2008C7:: @ 82008C7 FallarborTown_BattleTentBattleRoom_EventScript_2008C7:: @ 82008C7
@@ -39,7 +39,7 @@ FallarborTown_BattleTentBattleRoom_EventScript_2008E7:: @ 82008E7
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, FallarborTown_BattleTentBattleRoom_EventScript_200B73 goto_if_ne FallarborTown_BattleTentBattleRoom_EventScript_200B73
FallarborTown_BattleTentBattleRoom_EventScript_20090F:: @ 820090F FallarborTown_BattleTentBattleRoom_EventScript_20090F:: @ 820090F
setvar VAR_0x8004, 3 setvar VAR_0x8004, 3
@@ -117,9 +117,9 @@ FallarborTown_BattleTentBattleRoom_EventScript_200A2A:: @ 8200A2A
setvar VAR_0x8005, 2 setvar VAR_0x8005, 2
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, FallarborTown_BattleTentBattleRoom_EventScript_200B43 call_if_eq FallarborTown_BattleTentBattleRoom_EventScript_200B43
compare VAR_RESULT, 2 compare VAR_RESULT, 2
call_if 1, FallarborTown_BattleTentBattleRoom_EventScript_200B4A call_if_eq FallarborTown_BattleTentBattleRoom_EventScript_200B4A
multichoice 20, 6, 104, 1 multichoice 20, 6, 104, 1
switch VAR_RESULT switch VAR_RESULT
case 0, FallarborTown_BattleTentBattleRoom_EventScript_200AD8 case 0, FallarborTown_BattleTentBattleRoom_EventScript_200AD8
@@ -164,7 +164,7 @@ FallarborTown_BattleTentBattleRoom_EventScript_200AF3:: @ 8200AF3
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
special CallBattleArenaFunction special CallBattleArenaFunction
compare VAR_RESULT, 9999 compare VAR_RESULT, 9999
goto_eq FallarborTown_BattleTentBattleRoom_EventScript_2009B3 goto_if_eq FallarborTown_BattleTentBattleRoom_EventScript_2009B3
addvar VAR_RESULT, 1 addvar VAR_RESULT, 1
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
@@ -133,7 +133,7 @@ FallarborTown_BattleTentLobby_EventScript_200001:: @ 8200001
setvar VAR_0x8004, 1 setvar VAR_0x8004, 1
special sub_81B9B80 special sub_81B9B80
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, FallarborTown_BattleTentLobby_EventScript_1FFF84 goto_if_ne FallarborTown_BattleTentLobby_EventScript_1FFF84
special SavePlayerParty special SavePlayerParty
msgbox FallarborTown_BattleTentLobby_Text_2C47EB, MSGBOX_DEFAULT msgbox FallarborTown_BattleTentLobby_Text_2C47EB, MSGBOX_DEFAULT
@@ -154,7 +154,7 @@ FallarborTown_BattleTentLobby_EventScript_20005D:: @ 820005D
setvar VAR_0x8004, 15 setvar VAR_0x8004, 15
special CallFrontierUtilFunc special CallFrontierUtilFunc
compare VAR_0x8004, 1 compare VAR_0x8004, 1
goto_eq FallarborTown_BattleTentLobby_EventScript_200176 goto_if_eq FallarborTown_BattleTentLobby_EventScript_200176
setvar VAR_0x8004, 2 setvar VAR_0x8004, 2
setvar VAR_0x8005, 1 setvar VAR_0x8005, 1
setvar VAR_0x8006, 2 setvar VAR_0x8006, 2
@@ -166,7 +166,7 @@ FallarborTown_BattleTentLobby_EventScript_20005D:: @ 820005D
special sub_80F9490 special sub_80F9490
waitstate waitstate
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FallarborTown_BattleTentLobby_EventScript_2001C2 goto_if_eq FallarborTown_BattleTentLobby_EventScript_2001C2
msgbox FallarborTown_BattleTentLobby_Text_2C4B35, MSGBOX_YESNO msgbox FallarborTown_BattleTentLobby_Text_2C4B35, MSGBOX_YESNO
switch VAR_RESULT switch VAR_RESULT
case 0, FallarborTown_BattleTentLobby_EventScript_2001C2 case 0, FallarborTown_BattleTentLobby_EventScript_2001C2
@@ -194,7 +194,7 @@ FallarborTown_BattleTentLobby_EventScript_2000E2:: @ 82000E2
call FallarborTown_BattleTentLobby_EventScript_27134F call FallarborTown_BattleTentLobby_EventScript_27134F
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FallarborTown_BattleTentLobby_EventScript_2001AB goto_if_eq FallarborTown_BattleTentLobby_EventScript_2001AB
FallarborTown_BattleTentLobby_EventScript_20013C:: @ 820013C FallarborTown_BattleTentLobby_EventScript_20013C:: @ 820013C
special SavePlayerParty special SavePlayerParty
@@ -294,8 +294,7 @@ FallarborTown_BattleTentLobby_EventScript_20021F:: @ 820021F
FallarborTown_BattleTentLobby_EventScript_200228:: @ 8200228 FallarborTown_BattleTentLobby_EventScript_200228:: @ 8200228
lock lock
faceplayer faceplayer
checkflag FLAG_0x1CD goto_if_set FLAG_0x1CD, FallarborTown_BattleTentLobby_EventScript_200245
goto_eq FallarborTown_BattleTentLobby_EventScript_200245
msgbox FallarborTown_BattleTentLobby_Text_200501, MSGBOX_DEFAULT msgbox FallarborTown_BattleTentLobby_Text_200501, MSGBOX_DEFAULT
addvar VAR_0x40D1, 1 addvar VAR_0x40D1, 1
setflag FLAG_0x1CD setflag FLAG_0x1CD
+8 -13
View File
@@ -4,26 +4,23 @@ FallarborTown_House1_MapScripts:: @ 8200F12
FallarborTown_House1_EventScript_200F13:: @ 8200F13 FallarborTown_House1_EventScript_200F13:: @ 8200F13
lock lock
faceplayer faceplayer
checkflag FLAG_0x0E5 goto_if_set FLAG_0x0E5, FallarborTown_House1_EventScript_200FB2
goto_eq FallarborTown_House1_EventScript_200FB2
checkitem ITEM_METEORITE, 1 checkitem ITEM_METEORITE, 1
compare VAR_RESULT, 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 msgbox FallarborTown_House1_Text_200FEE, MSGBOX_DEFAULT
release release
end end
FallarborTown_House1_EventScript_200F38:: @ 8200F38 FallarborTown_House1_EventScript_200F38:: @ 8200F38
checkflag FLAG_TEMP_2 call_if_unset FLAG_TEMP_2, FallarborTown_House1_EventScript_200F8B
call_if 0, FallarborTown_House1_EventScript_200F8B call_if_set FLAG_TEMP_2, FallarborTown_House1_EventScript_200F9C
checkflag FLAG_TEMP_2
call_if 1, FallarborTown_House1_EventScript_200F9C
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FallarborTown_House1_EventScript_200FA5 goto_if_eq FallarborTown_House1_EventScript_200FA5
msgbox FallarborTown_House1_Text_201159, MSGBOX_DEFAULT msgbox FallarborTown_House1_Text_201159, MSGBOX_DEFAULT
giveitem_std ITEM_TM27 giveitem_std ITEM_TM27
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FallarborTown_House1_EventScript_272054 goto_if_eq FallarborTown_House1_EventScript_272054
setvar VAR_0x8004, 280 setvar VAR_0x8004, 280
call FallarborTown_House1_EventScript_2723E4 call FallarborTown_House1_EventScript_2723E4
setflag FLAG_0x0E5 setflag FLAG_0x0E5
@@ -54,10 +51,8 @@ FallarborTown_House1_EventScript_200FB2:: @ 8200FB2
FallarborTown_House1_EventScript_200FBC:: @ 8200FBC FallarborTown_House1_EventScript_200FBC:: @ 8200FBC
lock lock
faceplayer faceplayer
checkflag FLAG_0x0E5 goto_if_set FLAG_0x0E5, FallarborTown_House1_EventScript_200FE4
goto_eq FallarborTown_House1_EventScript_200FE4 goto_if_set FLAG_0x08B, FallarborTown_House1_EventScript_200FDA
checkflag FLAG_0x08B
goto_eq FallarborTown_House1_EventScript_200FDA
msgbox FallarborTown_House1_Text_2012BC, MSGBOX_DEFAULT msgbox FallarborTown_House1_Text_2012BC, MSGBOX_DEFAULT
release release
end end
+6 -7
View File
@@ -5,8 +5,7 @@ FallarborTown_House2_EventScript_201383:: @ 8201383
lockall lockall
applymovement 1, FallarborTown_House2_Movement_27259E applymovement 1, FallarborTown_House2_Movement_27259E
waitmovement 0 waitmovement 0
checkflag FLAG_TEMP_1 goto_if_set FLAG_TEMP_1, FallarborTown_House2_EventScript_2013A8
goto_eq FallarborTown_House2_EventScript_2013A8
msgbox FallarborTown_House2_Text_20145C, MSGBOX_DEFAULT msgbox FallarborTown_House2_Text_20145C, MSGBOX_DEFAULT
setflag FLAG_TEMP_1 setflag FLAG_TEMP_1
goto FallarborTown_House2_EventScript_2013A8 goto FallarborTown_House2_EventScript_2013A8
@@ -15,7 +14,7 @@ FallarborTown_House2_EventScript_201383:: @ 8201383
FallarborTown_House2_EventScript_2013A8:: @ 82013A8 FallarborTown_House2_EventScript_2013A8:: @ 82013A8
checkitem ITEM_HEART_SCALE, 1 checkitem ITEM_HEART_SCALE, 1
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FallarborTown_House2_EventScript_201452 goto_if_eq FallarborTown_House2_EventScript_201452
msgbox FallarborTown_House2_Text_201541, MSGBOX_YESNO msgbox FallarborTown_House2_Text_201541, MSGBOX_YESNO
switch VAR_RESULT switch VAR_RESULT
case 0, FallarborTown_House2_EventScript_201452 case 0, FallarborTown_House2_EventScript_201452
@@ -27,12 +26,12 @@ FallarborTown_House2_EventScript_2013D6:: @ 82013D6
special sub_81B951C special sub_81B951C
waitstate waitstate
compare VAR_0x8004, 255 compare VAR_0x8004, 255
goto_eq FallarborTown_House2_EventScript_201452 goto_if_eq FallarborTown_House2_EventScript_201452
special sub_81B98DC special sub_81B98DC
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq FallarborTown_House2_EventScript_201444 goto_if_eq FallarborTown_House2_EventScript_201444
compare VAR_0x8005, 0 compare VAR_0x8005, 0
goto_eq FallarborTown_House2_EventScript_201436 goto_if_eq FallarborTown_House2_EventScript_201436
goto FallarborTown_House2_EventScript_20140C goto FallarborTown_House2_EventScript_20140C
end end
@@ -41,7 +40,7 @@ FallarborTown_House2_EventScript_20140C:: @ 820140C
special TeachMoveTutorMove special TeachMoveTutorMove
waitstate waitstate
compare VAR_0x8004, 0 compare VAR_0x8004, 0
goto_eq FallarborTown_House2_EventScript_2013D6 goto_if_eq FallarborTown_House2_EventScript_2013D6
msgbox FallarborTown_House2_Text_201627, MSGBOX_DEFAULT msgbox FallarborTown_House2_Text_201627, MSGBOX_DEFAULT
takeitem ITEM_HEART_SCALE, 1 takeitem ITEM_HEART_SCALE, 1
goto FallarborTown_House2_EventScript_201452 goto FallarborTown_House2_EventScript_201452
+1 -1
View File
@@ -21,7 +21,7 @@ FarawayIsland_Entrance_EventScript_267CA2:: @ 8267CA2
faceplayer faceplayer
msgbox FarawayIsland_Entrance_Text_2C6B42, MSGBOX_YESNO msgbox FarawayIsland_Entrance_Text_2C6B42, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FarawayIsland_Entrance_EventScript_267CE7 goto_if_eq FarawayIsland_Entrance_EventScript_267CE7
msgbox FarawayIsland_Entrance_Text_2A6A5D, MSGBOX_DEFAULT msgbox FarawayIsland_Entrance_Text_2A6A5D, MSGBOX_DEFAULT
closemessage closemessage
applymovement VAR_LAST_TALKED, FarawayIsland_Entrance_Movement_2725AA applymovement VAR_LAST_TALKED, FarawayIsland_Entrance_Movement_2725AA
+17 -21
View File
@@ -6,20 +6,19 @@ FarawayIsland_Interior_MapScripts:: @ 8267CFA
.byte 0 .byte 0
FarawayIsland_Interior_MapScript1_267D0F: @ 8267D0F FarawayIsland_Interior_MapScript1_267D0F: @ 8267D0F
checkflag FLAG_SYS_CTRL_OBJ_DELETE call_if_set FLAG_SYS_CTRL_OBJ_DELETE, FarawayIsland_Interior_EventScript_267D19
call_if 1, FarawayIsland_Interior_EventScript_267D19
end end
FarawayIsland_Interior_EventScript_267D19:: @ 8267D19 FarawayIsland_Interior_EventScript_267D19:: @ 8267D19
specialvar VAR_RESULT, GetBattleOutcome specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq FarawayIsland_Interior_EventScript_267D4B goto_if_eq FarawayIsland_Interior_EventScript_267D4B
compare VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq FarawayIsland_Interior_EventScript_267D4B goto_if_eq FarawayIsland_Interior_EventScript_267D4B
compare VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq FarawayIsland_Interior_EventScript_267D4B goto_if_eq FarawayIsland_Interior_EventScript_267D4B
compare VAR_RESULT, 10 compare VAR_RESULT, 10
goto_eq FarawayIsland_Interior_EventScript_267D4B goto_if_eq FarawayIsland_Interior_EventScript_267D4B
return return
FarawayIsland_Interior_EventScript_267D4B:: @ 8267D4B FarawayIsland_Interior_EventScript_267D4B:: @ 8267D4B
@@ -28,27 +27,24 @@ FarawayIsland_Interior_EventScript_267D4B:: @ 8267D4B
return return
FarawayIsland_Interior_MapScript1_267D54: @ 8267D54 FarawayIsland_Interior_MapScript1_267D54: @ 8267D54
checkflag FLAG_SYS_CTRL_OBJ_DELETE call_if_set FLAG_SYS_CTRL_OBJ_DELETE, FarawayIsland_Interior_EventScript_267D5E
call_if 1, FarawayIsland_Interior_EventScript_267D5E
end end
FarawayIsland_Interior_EventScript_267D5E:: @ 8267D5E FarawayIsland_Interior_EventScript_267D5E:: @ 8267D5E
specialvar VAR_RESULT, GetBattleOutcome specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 7 compare VAR_RESULT, 7
goto_if 5, FarawayIsland_Interior_EventScript_27374E goto_if_ne FarawayIsland_Interior_EventScript_27374E
removeobject VAR_LAST_TALKED removeobject VAR_LAST_TALKED
return return
FarawayIsland_Interior_MapScript1_267D72: @ 8267D72 FarawayIsland_Interior_MapScript1_267D72: @ 8267D72
setvar VAR_0x403A, 0 setvar VAR_0x403A, 0
setvar VAR_TEMP_1, 1 setvar VAR_TEMP_1, 1
checkflag FLAG_0x1CA call_if_unset FLAG_0x1CA, FarawayIsland_Interior_EventScript_267D86
call_if 0, FarawayIsland_Interior_EventScript_267D86
end end
FarawayIsland_Interior_EventScript_267D86:: @ 8267D86 FarawayIsland_Interior_EventScript_267D86:: @ 8267D86
checkflag FLAG_0x1C7 goto_if_set FLAG_0x1C7, FarawayIsland_Interior_EventScript_27374E
goto_eq FarawayIsland_Interior_EventScript_27374E
clearflag FLAG_HIDE_MEW clearflag FLAG_HIDE_MEW
setvar VAR_TEMP_1, 0 setvar VAR_TEMP_1, 0
return return
@@ -130,13 +126,13 @@ FarawayIsland_Interior_EventScript_267DF2:: @ 8267DF2
waitse waitse
playmoncry SPECIES_MEW, 2 playmoncry SPECIES_MEW, 2
compare VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, FarawayIsland_Interior_EventScript_267EAF call_if_eq FarawayIsland_Interior_EventScript_267EAF
compare VAR_FACING, 1 compare VAR_FACING, 1
call_if 1, FarawayIsland_Interior_EventScript_267EBA call_if_eq FarawayIsland_Interior_EventScript_267EBA
compare VAR_FACING, 3 compare VAR_FACING, 3
call_if 1, FarawayIsland_Interior_EventScript_267EC5 call_if_eq FarawayIsland_Interior_EventScript_267EC5
compare VAR_FACING, 4 compare VAR_FACING, 4
call_if 1, FarawayIsland_Interior_EventScript_267ED0 call_if_eq FarawayIsland_Interior_EventScript_267ED0
special sub_81D4BEC special sub_81D4BEC
delay 40 delay 40
waitmoncry waitmoncry
@@ -150,13 +146,13 @@ FarawayIsland_Interior_EventScript_267DF2:: @ 8267DF2
clearflag FLAG_SYS_CTRL_OBJ_DELETE clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq FarawayIsland_Interior_EventScript_267E96 goto_if_eq FarawayIsland_Interior_EventScript_267E96
compare VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq FarawayIsland_Interior_EventScript_267EA4 goto_if_eq FarawayIsland_Interior_EventScript_267EA4
compare VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq FarawayIsland_Interior_EventScript_267EA4 goto_if_eq FarawayIsland_Interior_EventScript_267EA4
compare VAR_RESULT, 10 compare VAR_RESULT, 10
goto_eq FarawayIsland_Interior_EventScript_267EA4 goto_if_eq FarawayIsland_Interior_EventScript_267EA4
setflag FLAG_0x1CA setflag FLAG_0x1CA
release release
end end
+1 -2
View File
@@ -3,8 +3,7 @@ FieryPath_MapScripts:: @ 8230F24
.byte 0 .byte 0
FieryPath_MapScript1_230F2A: @ 8230F2A FieryPath_MapScript1_230F2A: @ 8230F2A
checkflag FLAG_LANDMARK_FIERY_PATH call_if_unset FLAG_LANDMARK_FIERY_PATH, FieryPath_EventScript_230F37
call_if 0, FieryPath_EventScript_230F37
setflag FLAG_LANDMARK_FIERY_PATH setflag FLAG_LANDMARK_FIERY_PATH
end end
+3 -4
View File
@@ -18,8 +18,7 @@ FortreeCity_EventScript_1E25B6:: @ 81E25B6
FortreeCity_EventScript_1E25BF:: @ 81E25BF FortreeCity_EventScript_1E25BF:: @ 81E25BF
lock lock
faceplayer faceplayer
checkflag FLAG_0x127 goto_if_set FLAG_0x127, FortreeCity_EventScript_1E25D4
goto_eq FortreeCity_EventScript_1E25D4
msgbox FortreeCity_Text_1E2738, MSGBOX_DEFAULT msgbox FortreeCity_Text_1E2738, MSGBOX_DEFAULT
release release
end end
@@ -58,7 +57,7 @@ FortreeCity_EventScript_1E2614:: @ 81E2614
faceplayer faceplayer
checkitem ITEM_DEVON_SCOPE, 1 checkitem ITEM_DEVON_SCOPE, 1
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq FortreeCity_EventScript_1E2630 goto_if_eq FortreeCity_EventScript_1E2630
msgbox FortreeCity_Text_1E29E5, MSGBOX_DEFAULT msgbox FortreeCity_Text_1E29E5, MSGBOX_DEFAULT
release release
end end
@@ -66,7 +65,7 @@ FortreeCity_EventScript_1E2614:: @ 81E2614
FortreeCity_EventScript_1E2630:: @ 81E2630 FortreeCity_EventScript_1E2630:: @ 81E2630
msgbox FortreeCity_Text_1E2A08, MSGBOX_YESNO msgbox FortreeCity_Text_1E2A08, MSGBOX_YESNO
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq FortreeCity_EventScript_1E2645 goto_if_eq FortreeCity_EventScript_1E2645
release release
end end
+7 -11
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 trainerbattle_single TRAINER_WINONA_1, FortreeCity_Gym_Text_216D75, FortreeCity_Gym_Text_216E60, FortreeCity_Gym_EventScript_2165FD, NO_MUSIC
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq FortreeCity_Gym_EventScript_21668D goto_if_eq FortreeCity_Gym_EventScript_21668D
checkflag FLAG_0x0AA goto_if_unset FLAG_0x0AA, FortreeCity_Gym_EventScript_216646
goto_if 0, FortreeCity_Gym_EventScript_216646
msgbox FortreeCity_Gym_Text_217071, MSGBOX_DEFAULT msgbox FortreeCity_Gym_Text_217071, MSGBOX_DEFAULT
release release
end end
@@ -52,7 +51,7 @@ FortreeCity_Gym_EventScript_2165FD:: @ 82165FD
FortreeCity_Gym_EventScript_216646:: @ 8216646 FortreeCity_Gym_EventScript_216646:: @ 8216646
giveitem_std ITEM_TM40 giveitem_std ITEM_TM40
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FortreeCity_Gym_EventScript_272054 goto_if_eq FortreeCity_Gym_EventScript_272054
msgbox FortreeCity_Gym_Text_216FEC, MSGBOX_DEFAULT msgbox FortreeCity_Gym_Text_216FEC, MSGBOX_DEFAULT
setflag FLAG_0x0AA setflag FLAG_0x0AA
release release
@@ -61,7 +60,7 @@ FortreeCity_Gym_EventScript_216646:: @ 8216646
FortreeCity_Gym_EventScript_21666A:: @ 821666A FortreeCity_Gym_EventScript_21666A:: @ 821666A
giveitem_std ITEM_TM40 giveitem_std ITEM_TM40
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FortreeCity_Gym_EventScript_27205E goto_if_eq FortreeCity_Gym_EventScript_27205E
msgbox FortreeCity_Gym_Text_216FEC, MSGBOX_DEFAULT msgbox FortreeCity_Gym_Text_216FEC, MSGBOX_DEFAULT
setflag FLAG_0x0AA setflag FLAG_0x0AA
return return
@@ -104,8 +103,7 @@ FortreeCity_Gym_EventScript_21671B:: @ 821671B
FortreeCity_Gym_EventScript_216732:: @ 8216732 FortreeCity_Gym_EventScript_216732:: @ 8216732
lock lock
faceplayer faceplayer
checkflag FLAG_0x4F5 goto_if_set FLAG_0x4F5, FortreeCity_Gym_EventScript_216747
goto_eq FortreeCity_Gym_EventScript_216747
msgbox FortreeCity_Gym_Text_216785, MSGBOX_DEFAULT msgbox FortreeCity_Gym_Text_216785, MSGBOX_DEFAULT
release release
end end
@@ -117,15 +115,13 @@ FortreeCity_Gym_EventScript_216747:: @ 8216747
FortreeCity_Gym_EventScript_216751:: @ 8216751 FortreeCity_Gym_EventScript_216751:: @ 8216751
lockall lockall
checkflag FLAG_BADGE06_GET goto_if_set FLAG_BADGE06_GET, FortreeCity_Gym_EventScript_216771
goto_eq FortreeCity_Gym_EventScript_216771
goto FortreeCity_Gym_EventScript_21677B goto FortreeCity_Gym_EventScript_21677B
end end
FortreeCity_Gym_EventScript_216761:: @ 8216761 FortreeCity_Gym_EventScript_216761:: @ 8216761
lockall lockall
checkflag FLAG_BADGE06_GET goto_if_set FLAG_BADGE06_GET, FortreeCity_Gym_EventScript_216771
goto_eq FortreeCity_Gym_EventScript_216771
goto FortreeCity_Gym_EventScript_21677B goto FortreeCity_Gym_EventScript_21677B
end end
+4 -5
View File
@@ -4,25 +4,24 @@ FortreeCity_House1_MapScripts:: @ 82162BA
FortreeCity_House1_EventScript_2162BB:: @ 82162BB FortreeCity_House1_EventScript_2162BB:: @ 82162BB
lock lock
faceplayer faceplayer
checkflag FLAG_0x09B goto_if_set FLAG_0x09B, FortreeCity_House1_EventScript_216355
goto_eq FortreeCity_House1_EventScript_216355
setvar VAR_0x8008, 1 setvar VAR_0x8008, 1
copyvar VAR_0x8004, VAR_0x8008 copyvar VAR_0x8004, VAR_0x8008
specialvar VAR_RESULT, sub_807E73C specialvar VAR_RESULT, sub_807E73C
copyvar VAR_0x8009, VAR_RESULT copyvar VAR_0x8009, VAR_RESULT
msgbox FortreeCity_House1_Text_21637B, MSGBOX_YESNO msgbox FortreeCity_House1_Text_21637B, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FortreeCity_House1_EventScript_21633D goto_if_eq FortreeCity_House1_EventScript_21633D
special sub_81B94B0 special sub_81B94B0
waitstate waitstate
copyvar VAR_0x800A, VAR_0x8004 copyvar VAR_0x800A, VAR_0x8004
compare VAR_0x8004, 255 compare VAR_0x8004, 255
goto_eq FortreeCity_House1_EventScript_21633D goto_if_eq FortreeCity_House1_EventScript_21633D
copyvar VAR_0x8005, VAR_0x800A copyvar VAR_0x8005, VAR_0x800A
specialvar VAR_RESULT, sub_807E9D4 specialvar VAR_RESULT, sub_807E9D4
copyvar VAR_0x800B, VAR_RESULT copyvar VAR_0x800B, VAR_RESULT
compare VAR_RESULT, VAR_0x8009 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_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A copyvar VAR_0x8005, VAR_0x800A
special sub_807EA10 special sub_807EA10
+3 -5
View File
@@ -4,10 +4,8 @@ FortreeCity_House2_MapScripts:: @ 82177CA
FortreeCity_House2_EventScript_2177CB:: @ 82177CB FortreeCity_House2_EventScript_2177CB:: @ 82177CB
lock lock
faceplayer faceplayer
checkflag FLAG_0x108 goto_if_set FLAG_0x108, FortreeCity_House2_EventScript_21786E
goto_eq FortreeCity_House2_EventScript_21786E call_if_unset FLAG_0x076, FortreeCity_House2_EventScript_217862
checkflag FLAG_0x076
call_if 0, FortreeCity_House2_EventScript_217862
msgbox FortreeCity_House2_Text_2178D6, MSGBOX_DEFAULT msgbox FortreeCity_House2_Text_2178D6, MSGBOX_DEFAULT
multichoice 21, 8, 54, 1 multichoice 21, 8, 54, 1
switch VAR_RESULT switch VAR_RESULT
@@ -23,7 +21,7 @@ FortreeCity_House2_EventScript_2177CB:: @ 82177CB
msgbox FortreeCity_House2_Text_217A28, MSGBOX_DEFAULT msgbox FortreeCity_House2_Text_217A28, MSGBOX_DEFAULT
giveitem_std ITEM_TM10 giveitem_std ITEM_TM10
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FortreeCity_House2_EventScript_272054 goto_if_eq FortreeCity_House2_EventScript_272054
setflag FLAG_0x108 setflag FLAG_0x108
msgbox FortreeCity_House2_Text_217A91, MSGBOX_DEFAULT msgbox FortreeCity_House2_Text_217A91, MSGBOX_DEFAULT
release release
+4 -7
View File
@@ -7,12 +7,9 @@ FortreeCity_House4_EventScript_217C81:: @ 8217C81
FortreeCity_House4_EventScript_217C8A:: @ 8217C8A FortreeCity_House4_EventScript_217C8A:: @ 8217C8A
lockall lockall
checkflag FLAG_0x0DF goto_if_set FLAG_0x0DF, FortreeCity_House4_EventScript_217D06
goto_eq FortreeCity_House4_EventScript_217D06 goto_if_set FLAG_0x0E0, FortreeCity_House4_EventScript_217CD8
checkflag FLAG_0x0E0 goto_if_set FLAG_0x0DE, FortreeCity_House4_EventScript_217CC4
goto_eq FortreeCity_House4_EventScript_217CD8
checkflag FLAG_0x0DE
goto_eq FortreeCity_House4_EventScript_217CC4
msgbox FortreeCity_House4_Text_217DB9, MSGBOX_DEFAULT msgbox FortreeCity_House4_Text_217DB9, MSGBOX_DEFAULT
closemessage closemessage
setflag FLAG_0x0DE setflag FLAG_0x0DE
@@ -36,7 +33,7 @@ FortreeCity_House4_EventScript_217CD8:: @ 8217CD8
msgbox FortreeCity_House4_Text_217E05, MSGBOX_DEFAULT msgbox FortreeCity_House4_Text_217E05, MSGBOX_DEFAULT
giveitem_std ITEM_MENTAL_HERB giveitem_std ITEM_MENTAL_HERB
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq FortreeCity_House4_EventScript_272054 goto_if_eq FortreeCity_House4_EventScript_272054
setflag FLAG_0x0DF setflag FLAG_0x0DF
releaseall releaseall
end end
+1 -2
View File
@@ -4,8 +4,7 @@ GraniteCave_1F_MapScripts:: @ 822DA5D
GraniteCave_1F_EventScript_22DA5E:: @ 822DA5E GraniteCave_1F_EventScript_22DA5E:: @ 822DA5E
lock lock
faceplayer faceplayer
checkflag FLAG_0x06D goto_if_set FLAG_0x06D, GraniteCave_1F_EventScript_22DA8A
goto_eq GraniteCave_1F_EventScript_22DA8A
msgbox GraniteCave_1F_Text_22DA94, MSGBOX_DEFAULT msgbox GraniteCave_1F_Text_22DA94, MSGBOX_DEFAULT
giveitem_std ITEM_HM05 giveitem_std ITEM_HM05
setflag FLAG_0x06D setflag FLAG_0x06D
@@ -11,7 +11,7 @@ GraniteCave_StevensRoom_EventScript_22DC7B:: @ 822DC7B
msgbox GraniteCave_StevensRoom_Text_22DDBD, MSGBOX_DEFAULT msgbox GraniteCave_StevensRoom_Text_22DDBD, MSGBOX_DEFAULT
giveitem_std ITEM_TM47 giveitem_std ITEM_TM47
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, GraniteCave_StevensRoom_EventScript_22DD3C call_if_eq GraniteCave_StevensRoom_EventScript_22DD3C
msgbox GraniteCave_StevensRoom_Text_22DE6B, MSGBOX_DEFAULT msgbox GraniteCave_StevensRoom_Text_22DE6B, MSGBOX_DEFAULT
closemessage closemessage
delay 30 delay 30
@@ -24,13 +24,13 @@ GraniteCave_StevensRoom_EventScript_22DC7B:: @ 822DC7B
msgbox GraniteCave_StevensRoom_Text_22DF8C, MSGBOX_DEFAULT msgbox GraniteCave_StevensRoom_Text_22DF8C, MSGBOX_DEFAULT
closemessage closemessage
compare VAR_FACING, 2 compare VAR_FACING, 2
call_if 1, GraniteCave_StevensRoom_EventScript_22DD0D call_if_eq GraniteCave_StevensRoom_EventScript_22DD0D
compare VAR_FACING, 1 compare VAR_FACING, 1
call_if 1, GraniteCave_StevensRoom_EventScript_22DD2A call_if_eq GraniteCave_StevensRoom_EventScript_22DD2A
compare VAR_FACING, 3 compare VAR_FACING, 3
call_if 1, GraniteCave_StevensRoom_EventScript_22DD18 call_if_eq GraniteCave_StevensRoom_EventScript_22DD18
compare VAR_FACING, 4 compare VAR_FACING, 4
call_if 1, GraniteCave_StevensRoom_EventScript_22DD18 call_if_eq GraniteCave_StevensRoom_EventScript_22DD18
playse SE_KAIDAN playse SE_KAIDAN
removeobject 1 removeobject 1
release release
+2 -2
View File
@@ -18,9 +18,9 @@ InsideOfTruck_EventScript_23BF04:: @ 823BF04
setflag FLAG_SPECIAL_FLAG_0x4000 setflag FLAG_SPECIAL_FLAG_0x4000
checkplayergender checkplayergender
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq InsideOfTruck_EventScript_23BF20 goto_if_eq InsideOfTruck_EventScript_23BF20
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq InsideOfTruck_EventScript_23BF46 goto_if_eq InsideOfTruck_EventScript_23BF46
end end
InsideOfTruck_EventScript_23BF20:: @ 823BF20 InsideOfTruck_EventScript_23BF20:: @ 823BF20
+11 -18
View File
@@ -5,20 +5,18 @@ IslandCave_MapScripts:: @ 8238E2A
.byte 0 .byte 0
IslandCave_MapScript1_238E3A: @ 8238E3A IslandCave_MapScript1_238E3A: @ 8238E3A
checkflag FLAG_SYS_CTRL_OBJ_DELETE call_if_set FLAG_SYS_CTRL_OBJ_DELETE, IslandCave_EventScript_238E44
call_if 1, IslandCave_EventScript_238E44
end end
IslandCave_EventScript_238E44:: @ 8238E44 IslandCave_EventScript_238E44:: @ 8238E44
specialvar VAR_RESULT, GetBattleOutcome specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 7 compare VAR_RESULT, 7
goto_if 5, IslandCave_EventScript_27374E goto_if_ne IslandCave_EventScript_27374E
removeobject VAR_LAST_TALKED removeobject VAR_LAST_TALKED
return return
IslandCave_MapScript1_238E58: @ 8238E58 IslandCave_MapScript1_238E58: @ 8238E58
checkflag FLAG_SYS_BRAILLE_WAIT call_if_unset FLAG_SYS_BRAILLE_WAIT, IslandCave_EventScript_238E62
call_if 0, IslandCave_EventScript_238E62
end end
IslandCave_EventScript_238E62:: @ 8238E62 IslandCave_EventScript_238E62:: @ 8238E62
@@ -33,8 +31,7 @@ IslandCave_EventScript_238E62:: @ 8238E62
IslandCave_MapScript1_238E99: @ 8238E99 IslandCave_MapScript1_238E99: @ 8238E99
setflag FLAG_LANDMARK_ISLAND_CAVE setflag FLAG_LANDMARK_ISLAND_CAVE
call IslandCave_EventScript_238F45 call IslandCave_EventScript_238F45
checkflag FLAG_0x1BC call_if_unset FLAG_0x1BC, IslandCave_EventScript_238EAB
call_if 0, IslandCave_EventScript_238EAB
end end
IslandCave_EventScript_238EAB:: @ 8238EAB IslandCave_EventScript_238EAB:: @ 8238EAB
@@ -55,10 +52,8 @@ IslandCave_EventScript_238EAF:: @ 8238EAF
IslandCave_EventScript_238EEF:: @ 8238EEF IslandCave_EventScript_238EEF:: @ 8238EEF
lockall lockall
checkflag FLAG_TEMP_3 call_if_set FLAG_TEMP_3, IslandCave_EventScript_238F45
call_if 1, IslandCave_EventScript_238F45 goto_if_set FLAG_SYS_BRAILLE_WAIT, IslandCave_EventScript_238F13
checkflag FLAG_SYS_BRAILLE_WAIT
goto_eq IslandCave_EventScript_238F13
braillemessage IslandCave_Braille_2A6CD4 braillemessage IslandCave_Braille_2A6CD4
setflag FLAG_TEMP_2 setflag FLAG_TEMP_2
special ShouldDoBrailleRegicePuzzle special ShouldDoBrailleRegicePuzzle
@@ -72,11 +67,9 @@ IslandCave_EventScript_238F13:: @ 8238F13
IslandCave_EventScript_238F1D:: @ 8238F1D IslandCave_EventScript_238F1D:: @ 8238F1D
lockall lockall
checkflag FLAG_TEMP_3 call_if_set FLAG_TEMP_3, IslandCave_EventScript_238F45
call_if 1, IslandCave_EventScript_238F45
braillemessage IslandCave_Braille_2A6CD4 braillemessage IslandCave_Braille_2A6CD4
checkflag FLAG_SYS_BRAILLE_WAIT goto_if_set FLAG_SYS_BRAILLE_WAIT, IslandCave_EventScript_238F41
goto_eq IslandCave_EventScript_238F41
setflag FLAG_TEMP_2 setflag FLAG_TEMP_2
special ShouldDoBrailleRegicePuzzle special ShouldDoBrailleRegicePuzzle
goto IslandCave_EventScript_238F41 goto IslandCave_EventScript_238F41
@@ -109,11 +102,11 @@ IslandCave_EventScript_238F58:: @ 8238F58
clearflag FLAG_SYS_CTRL_OBJ_DELETE clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq IslandCave_EventScript_238F9F goto_if_eq IslandCave_EventScript_238F9F
compare VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq IslandCave_EventScript_238FA8 goto_if_eq IslandCave_EventScript_238FA8
compare VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq IslandCave_EventScript_238FA8 goto_if_eq IslandCave_EventScript_238FA8
setflag FLAG_0x1BC setflag FLAG_0x1BC
release release
end end
+7 -8
View File
@@ -7,13 +7,13 @@ JaggedPass_MapScripts:: @ 8230656
JaggedPass_MapScript1_230666: @ 8230666 JaggedPass_MapScript1_230666: @ 8230666
setstepcallback 1 setstepcallback 1
compare VAR_0x40C8, 0 compare VAR_0x40C8, 0
call_if 1, JaggedPass_EventScript_230674 call_if_eq JaggedPass_EventScript_230674
end end
JaggedPass_EventScript_230674:: @ 8230674 JaggedPass_EventScript_230674:: @ 8230674
checkitem ITEM_MAGMA_EMBLEM, 1 checkitem ITEM_MAGMA_EMBLEM, 1
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq JaggedPass_EventScript_230685 goto_if_eq JaggedPass_EventScript_230685
return return
JaggedPass_EventScript_230685:: @ 8230685 JaggedPass_EventScript_230685:: @ 8230685
@@ -22,7 +22,7 @@ JaggedPass_EventScript_230685:: @ 8230685
JaggedPass_MapScript1_23068B: @ 823068B JaggedPass_MapScript1_23068B: @ 823068B
compare VAR_0x40BD, 1 compare VAR_0x40BD, 1
call_if 1, JaggedPass_EventScript_230697 call_if_eq JaggedPass_EventScript_230697
end end
JaggedPass_EventScript_230697:: @ 8230697 JaggedPass_EventScript_230697:: @ 8230697
@@ -32,7 +32,7 @@ JaggedPass_EventScript_230697:: @ 8230697
JaggedPass_MapScript1_23069C: @ 823069C JaggedPass_MapScript1_23069C: @ 823069C
compare VAR_0x40C8, 1 compare VAR_0x40C8, 1
goto_if 3, JaggedPass_EventScript_2306A8 goto_if_le JaggedPass_EventScript_2306A8
end end
JaggedPass_EventScript_2306A8:: @ 82306A8 JaggedPass_EventScript_2306A8:: @ 82306A8
@@ -68,8 +68,7 @@ JaggedPass_EventScript_2306BB:: @ 82306BB
JaggedPass_EventScript_230718:: @ 8230718 JaggedPass_EventScript_230718:: @ 8230718
lockall lockall
checkflag FLAG_0x139 goto_if_set FLAG_0x139, JaggedPass_EventScript_230766
goto_eq JaggedPass_EventScript_230766
waitse waitse
playse SE_PIN playse SE_PIN
applymovement 5, JaggedPass_Movement_272598 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 trainerbattle_single TRAINER_DIANA_1, JaggedPass_Text_230974, JaggedPass_Text_2309B5, JaggedPass_EventScript_2307C8
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq JaggedPass_EventScript_2307E4 goto_if_eq JaggedPass_EventScript_2307E4
msgbox JaggedPass_Text_2309D8, MSGBOX_DEFAULT msgbox JaggedPass_Text_2309D8, MSGBOX_DEFAULT
release release
end end
@@ -127,7 +126,7 @@ JaggedPass_EventScript_2307FB:: @ 82307FB
trainerbattle_single TRAINER_ETHAN_1, JaggedPass_Text_230B10, JaggedPass_Text_230B50, JaggedPass_EventScript_230827 trainerbattle_single TRAINER_ETHAN_1, JaggedPass_Text_230B10, JaggedPass_Text_230B50, JaggedPass_EventScript_230827
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq JaggedPass_EventScript_230843 goto_if_eq JaggedPass_EventScript_230843
msgbox JaggedPass_Text_230B93, MSGBOX_DEFAULT msgbox JaggedPass_Text_230B93, MSGBOX_DEFAULT
release release
end end
+19 -22
View File
@@ -5,16 +5,14 @@ LavaridgeTown_MapScripts:: @ 81EA4D3
LavaridgeTown_MapScript1_1EA4DE: @ 81EA4DE LavaridgeTown_MapScript1_1EA4DE: @ 81EA4DE
setflag FLAG_VISITED_LAVARIDGE_TOWN setflag FLAG_VISITED_LAVARIDGE_TOWN
checkflag FLAG_0x06C call_if_set FLAG_0x06C, LavaridgeTown_EventScript_1EA514
call_if 1, LavaridgeTown_EventScript_1EA514 call_if_set FLAG_0x08B, LavaridgeTown_EventScript_1EA53F
checkflag FLAG_0x08B
call_if 1, LavaridgeTown_EventScript_1EA53F
call LavaridgeTown_EventScript_271ED7 call LavaridgeTown_EventScript_271ED7
call LavaridgeTown_EventScript_271EFB call LavaridgeTown_EventScript_271EFB
compare VAR_0x4053, 1 compare VAR_0x4053, 1
call_if 1, LavaridgeTown_EventScript_1EA518 call_if_eq LavaridgeTown_EventScript_1EA518
compare VAR_0x4053, 1 compare VAR_0x4053, 1
call_if 1, LavaridgeTown_EventScript_1EA543 call_if_eq LavaridgeTown_EventScript_1EA543
end end
LavaridgeTown_EventScript_1EA514:: @ 81EA514 LavaridgeTown_EventScript_1EA514:: @ 81EA514
@@ -24,7 +22,7 @@ LavaridgeTown_EventScript_1EA514:: @ 81EA514
LavaridgeTown_EventScript_1EA518:: @ 81EA518 LavaridgeTown_EventScript_1EA518:: @ 81EA518
getplayerxy VAR_0x8004, VAR_0x8005 getplayerxy VAR_0x8004, VAR_0x8005
compare VAR_0x8004, 9 compare VAR_0x8004, 9
goto_eq LavaridgeTown_EventScript_1EA529 goto_if_eq LavaridgeTown_EventScript_1EA529
return return
LavaridgeTown_EventScript_1EA529:: @ 81EA529 LavaridgeTown_EventScript_1EA529:: @ 81EA529
@@ -50,24 +48,24 @@ LavaridgeTown_EventScript_1EA551:: @ 81EA551
lockall lockall
getplayerxy VAR_0x8008, VAR_0x8009 getplayerxy VAR_0x8008, VAR_0x8009
compare VAR_0x8008, 9 compare VAR_0x8008, 9
call_if 1, LavaridgeTown_EventScript_1EA63A call_if_eq LavaridgeTown_EventScript_1EA63A
compare VAR_0x8008, 9 compare VAR_0x8008, 9
call_if 5, LavaridgeTown_EventScript_1EA65C call_if_ne LavaridgeTown_EventScript_1EA65C
delay 20 delay 20
checkplayergender checkplayergender
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, LavaridgeTown_EventScript_1EA630 call_if_eq LavaridgeTown_EventScript_1EA630
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, LavaridgeTown_EventScript_1EA635 call_if_eq LavaridgeTown_EventScript_1EA635
compare VAR_0x8008, 9 compare VAR_0x8008, 9
call_if 1, LavaridgeTown_EventScript_1EA6A1 call_if_eq LavaridgeTown_EventScript_1EA6A1
compare VAR_0x8008, 9 compare VAR_0x8008, 9
call_if 5, LavaridgeTown_EventScript_1EA6AC call_if_ne LavaridgeTown_EventScript_1EA6AC
checkplayergender checkplayergender
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LavaridgeTown_EventScript_1EA5B5 goto_if_eq LavaridgeTown_EventScript_1EA5B5
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LavaridgeTown_EventScript_1EA5DA goto_if_eq LavaridgeTown_EventScript_1EA5DA
end end
LavaridgeTown_EventScript_1EA5B5:: @ 81EA5B5 LavaridgeTown_EventScript_1EA5B5:: @ 81EA5B5
@@ -92,9 +90,9 @@ LavaridgeTown_EventScript_1EA5FF:: @ 81EA5FF
addobject 7 addobject 7
delay 30 delay 30
compare VAR_0x8008, 9 compare VAR_0x8008, 9
call_if 1, LavaridgeTown_EventScript_1EA6B7 call_if_eq LavaridgeTown_EventScript_1EA6B7
compare VAR_0x8008, 9 compare VAR_0x8008, 9
call_if 5, LavaridgeTown_EventScript_1EA6C9 call_if_ne LavaridgeTown_EventScript_1EA6C9
removeobject 7 removeobject 7
setvar VAR_0x4053, 2 setvar VAR_0x4053, 2
clearflag FLAG_SPECIAL_FLAG_0x4000 clearflag FLAG_SPECIAL_FLAG_0x4000
@@ -214,7 +212,7 @@ LavaridgeTown_Movement_1EA6F8: @ 81EA6F8
LavaridgeTown_EventScript_1EA6FA:: @ 81EA6FA LavaridgeTown_EventScript_1EA6FA:: @ 81EA6FA
specialvar VAR_RESULT, GetPlayerFacingDirection specialvar VAR_RESULT, GetPlayerFacingDirection
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LavaridgeTown_EventScript_1EA70B goto_if_eq LavaridgeTown_EventScript_1EA70B
end end
LavaridgeTown_EventScript_1EA70B:: @ 81EA70B LavaridgeTown_EventScript_1EA70B:: @ 81EA70B
@@ -248,14 +246,13 @@ LavaridgeTown_EventScript_1EA73B:: @ 81EA73B
LavaridgeTown_EventScript_1EA744:: @ 81EA744 LavaridgeTown_EventScript_1EA744:: @ 81EA744
lock lock
faceplayer faceplayer
checkflag FLAG_0x10A goto_if_set FLAG_0x10A, LavaridgeTown_EventScript_1EA787
goto_eq LavaridgeTown_EventScript_1EA787
msgbox LavaridgeTown_Text_1EAB80, MSGBOX_YESNO msgbox LavaridgeTown_Text_1EAB80, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LavaridgeTown_EventScript_1EA79B goto_if_eq LavaridgeTown_EventScript_1EA79B
getpartysize getpartysize
compare VAR_RESULT, 6 compare VAR_RESULT, 6
goto_eq LavaridgeTown_EventScript_1EA791 goto_if_eq LavaridgeTown_EventScript_1EA791
msgbox LavaridgeTown_Text_1EACC0, MSGBOX_DEFAULT msgbox LavaridgeTown_Text_1EACC0, MSGBOX_DEFAULT
setflag FLAG_0x10A setflag FLAG_0x10A
playfanfare MUS_FANFA4 playfanfare MUS_FANFA4
+17 -21
View File
@@ -14,22 +14,22 @@ LavaridgeTown_Gym_1F_EventScript_1FE705:: @ 81FE705
setvar VAR_TEMP_E, 0 setvar VAR_TEMP_E, 0
setvar VAR_TEMP_F, 0 setvar VAR_TEMP_F, 0
checktrainerflag TRAINER_COLE checktrainerflag TRAINER_COLE
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE72C goto_if_eq LavaridgeTown_Gym_1F_EventScript_1FE72C
setvar VAR_TEMP_B, 1 setvar VAR_TEMP_B, 1
LavaridgeTown_Gym_1F_EventScript_1FE72C:: @ 81FE72C LavaridgeTown_Gym_1F_EventScript_1FE72C:: @ 81FE72C
checktrainerflag TRAINER_GERALD checktrainerflag TRAINER_GERALD
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE73A goto_if_eq LavaridgeTown_Gym_1F_EventScript_1FE73A
setvar VAR_TEMP_C, 1 setvar VAR_TEMP_C, 1
LavaridgeTown_Gym_1F_EventScript_1FE73A:: @ 81FE73A LavaridgeTown_Gym_1F_EventScript_1FE73A:: @ 81FE73A
checktrainerflag TRAINER_AXLE checktrainerflag TRAINER_AXLE
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE748 goto_if_eq LavaridgeTown_Gym_1F_EventScript_1FE748
setvar VAR_TEMP_D, 1 setvar VAR_TEMP_D, 1
LavaridgeTown_Gym_1F_EventScript_1FE748:: @ 81FE748 LavaridgeTown_Gym_1F_EventScript_1FE748:: @ 81FE748
checktrainerflag TRAINER_DANIELLE checktrainerflag TRAINER_DANIELLE
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE756 goto_if_eq LavaridgeTown_Gym_1F_EventScript_1FE756
setvar VAR_TEMP_E, 1 setvar VAR_TEMP_E, 1
LavaridgeTown_Gym_1F_EventScript_1FE756:: @ 81FE756 LavaridgeTown_Gym_1F_EventScript_1FE756:: @ 81FE756
@@ -37,22 +37,22 @@ LavaridgeTown_Gym_1F_EventScript_1FE756:: @ 81FE756
LavaridgeTown_Gym_1F_EventScript_1FE757:: @ 81FE757 LavaridgeTown_Gym_1F_EventScript_1FE757:: @ 81FE757
checktrainerflag TRAINER_COLE checktrainerflag TRAINER_COLE
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE764 goto_if_eq LavaridgeTown_Gym_1F_EventScript_1FE764
setobjectmovementtype 2, 63 setobjectmovementtype 2, 63
LavaridgeTown_Gym_1F_EventScript_1FE764:: @ 81FE764 LavaridgeTown_Gym_1F_EventScript_1FE764:: @ 81FE764
checktrainerflag TRAINER_GERALD checktrainerflag TRAINER_GERALD
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE771 goto_if_eq LavaridgeTown_Gym_1F_EventScript_1FE771
setobjectmovementtype 3, 63 setobjectmovementtype 3, 63
LavaridgeTown_Gym_1F_EventScript_1FE771:: @ 81FE771 LavaridgeTown_Gym_1F_EventScript_1FE771:: @ 81FE771
checktrainerflag TRAINER_AXLE checktrainerflag TRAINER_AXLE
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE77E goto_if_eq LavaridgeTown_Gym_1F_EventScript_1FE77E
setobjectmovementtype 4, 63 setobjectmovementtype 4, 63
LavaridgeTown_Gym_1F_EventScript_1FE77E:: @ 81FE77E LavaridgeTown_Gym_1F_EventScript_1FE77E:: @ 81FE77E
checktrainerflag TRAINER_DANIELLE checktrainerflag TRAINER_DANIELLE
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE78B goto_if_eq LavaridgeTown_Gym_1F_EventScript_1FE78B
setobjectmovementtype 5, 63 setobjectmovementtype 5, 63
LavaridgeTown_Gym_1F_EventScript_1FE78B:: @ 81FE78B 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 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 specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE864 goto_if_eq LavaridgeTown_Gym_1F_EventScript_1FE864
checkflag FLAG_0x0A8 goto_if_unset FLAG_0x0A8, LavaridgeTown_Gym_1F_EventScript_1FE81D
goto_if 0, LavaridgeTown_Gym_1F_EventScript_1FE81D
msgbox LavaridgeTown_Gym_1F_Text_1FF546, MSGBOX_DEFAULT msgbox LavaridgeTown_Gym_1F_Text_1FF546, MSGBOX_DEFAULT
release release
end end
@@ -79,7 +78,7 @@ LavaridgeTown_Gym_1F_EventScript_1FE7C1:: @ 81FE7C1
setflag FLAG_BADGE04_GET setflag FLAG_BADGE04_GET
addvar VAR_0x4085, 1 addvar VAR_0x4085, 1
compare VAR_0x4085, 6 compare VAR_0x4085, 6
call_if 1, LavaridgeTown_Gym_1F_EventScript_271E84 call_if_eq LavaridgeTown_Gym_1F_EventScript_271E84
setvar VAR_0x8008, 4 setvar VAR_0x8008, 4
call LavaridgeTown_Gym_1F_EventScript_271F43 call LavaridgeTown_Gym_1F_EventScript_271F43
setflag FLAG_HIDE_VERDANTURF_TOWN_WANDAS_HOUSE_WALLY setflag FLAG_HIDE_VERDANTURF_TOWN_WANDAS_HOUSE_WALLY
@@ -99,7 +98,7 @@ LavaridgeTown_Gym_1F_EventScript_1FE7C1:: @ 81FE7C1
LavaridgeTown_Gym_1F_EventScript_1FE81D:: @ 81FE81D LavaridgeTown_Gym_1F_EventScript_1FE81D:: @ 81FE81D
giveitem_std ITEM_TM50 giveitem_std ITEM_TM50
compare VAR_RESULT, 0 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 msgbox LavaridgeTown_Gym_1F_Text_1FF45C, MSGBOX_DEFAULT
setflag FLAG_0x0A8 setflag FLAG_0x0A8
release release
@@ -108,7 +107,7 @@ LavaridgeTown_Gym_1F_EventScript_1FE81D:: @ 81FE81D
LavaridgeTown_Gym_1F_EventScript_1FE841:: @ 81FE841 LavaridgeTown_Gym_1F_EventScript_1FE841:: @ 81FE841
giveitem_std ITEM_TM50 giveitem_std ITEM_TM50
compare VAR_RESULT, 0 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 msgbox LavaridgeTown_Gym_1F_Text_1FF45C, MSGBOX_DEFAULT
setflag FLAG_0x0A8 setflag FLAG_0x0A8
return return
@@ -129,7 +128,7 @@ LavaridgeTown_Gym_B1F_EventScript_1FE89A:: @ 81FE89A
release release
special ShouldTryGetTrainerScript special ShouldTryGetTrainerScript
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq EventScript_GotoTrainerScript goto_if_eq EventScript_GotoTrainerScript
end end
LavaridgeTown_Gym_1F_EventScript_1FE8AF:: @ 81FE8AF LavaridgeTown_Gym_1F_EventScript_1FE8AF:: @ 81FE8AF
@@ -170,8 +169,7 @@ LavaridgeTown_Gym_B1F_EventScript_1FE951:: @ 81FE951
LavaridgeTown_Gym_1F_EventScript_1FE96C:: @ 81FE96C LavaridgeTown_Gym_1F_EventScript_1FE96C:: @ 81FE96C
lock lock
faceplayer faceplayer
checkflag FLAG_0x4F3 goto_if_set FLAG_0x4F3, LavaridgeTown_Gym_1F_EventScript_1FE981
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE981
msgbox LavaridgeTown_Gym_1F_Text_1FE9BF, MSGBOX_DEFAULT msgbox LavaridgeTown_Gym_1F_Text_1FE9BF, MSGBOX_DEFAULT
release release
end end
@@ -183,15 +181,13 @@ LavaridgeTown_Gym_1F_EventScript_1FE981:: @ 81FE981
LavaridgeTown_Gym_1F_EventScript_1FE98B:: @ 81FE98B LavaridgeTown_Gym_1F_EventScript_1FE98B:: @ 81FE98B
lockall lockall
checkflag FLAG_BADGE04_GET goto_if_set FLAG_BADGE04_GET, LavaridgeTown_Gym_1F_EventScript_1FE9AB
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE9AB
goto LavaridgeTown_Gym_1F_EventScript_1FE9B5 goto LavaridgeTown_Gym_1F_EventScript_1FE9B5
end end
LavaridgeTown_Gym_1F_EventScript_1FE99B:: @ 81FE99B LavaridgeTown_Gym_1F_EventScript_1FE99B:: @ 81FE99B
lockall lockall
checkflag FLAG_BADGE04_GET goto_if_set FLAG_BADGE04_GET, LavaridgeTown_Gym_1F_EventScript_1FE9AB
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE9AB
goto LavaridgeTown_Gym_1F_EventScript_1FE9B5 goto LavaridgeTown_Gym_1F_EventScript_1FE9B5
end end
+8 -8
View File
@@ -13,22 +13,22 @@ LavaridgeTown_Gym_B1F_EventScript_1FF88F:: @ 81FF88F
setvar VAR_TEMP_9, 0 setvar VAR_TEMP_9, 0
setvar VAR_TEMP_A, 0 setvar VAR_TEMP_A, 0
checktrainerflag TRAINER_KEEGAN checktrainerflag TRAINER_KEEGAN
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8B1 goto_if_eq LavaridgeTown_Gym_B1F_EventScript_1FF8B1
setvar VAR_TEMP_7, 1 setvar VAR_TEMP_7, 1
LavaridgeTown_Gym_B1F_EventScript_1FF8B1:: @ 81FF8B1 LavaridgeTown_Gym_B1F_EventScript_1FF8B1:: @ 81FF8B1
checktrainerflag TRAINER_JACE checktrainerflag TRAINER_JACE
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8BF goto_if_eq LavaridgeTown_Gym_B1F_EventScript_1FF8BF
setvar VAR_TEMP_8, 1 setvar VAR_TEMP_8, 1
LavaridgeTown_Gym_B1F_EventScript_1FF8BF:: @ 81FF8BF LavaridgeTown_Gym_B1F_EventScript_1FF8BF:: @ 81FF8BF
checktrainerflag TRAINER_JEFF checktrainerflag TRAINER_JEFF
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8CD goto_if_eq LavaridgeTown_Gym_B1F_EventScript_1FF8CD
setvar VAR_TEMP_9, 1 setvar VAR_TEMP_9, 1
LavaridgeTown_Gym_B1F_EventScript_1FF8CD:: @ 81FF8CD LavaridgeTown_Gym_B1F_EventScript_1FF8CD:: @ 81FF8CD
checktrainerflag TRAINER_ELI checktrainerflag TRAINER_ELI
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8DB goto_if_eq LavaridgeTown_Gym_B1F_EventScript_1FF8DB
setvar VAR_TEMP_A, 1 setvar VAR_TEMP_A, 1
LavaridgeTown_Gym_B1F_EventScript_1FF8DB:: @ 81FF8DB LavaridgeTown_Gym_B1F_EventScript_1FF8DB:: @ 81FF8DB
@@ -36,22 +36,22 @@ LavaridgeTown_Gym_B1F_EventScript_1FF8DB:: @ 81FF8DB
LavaridgeTown_Gym_B1F_EventScript_1FF8DC:: @ 81FF8DC LavaridgeTown_Gym_B1F_EventScript_1FF8DC:: @ 81FF8DC
checktrainerflag TRAINER_KEEGAN checktrainerflag TRAINER_KEEGAN
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8E9 goto_if_eq LavaridgeTown_Gym_B1F_EventScript_1FF8E9
setobjectmovementtype 2, 63 setobjectmovementtype 2, 63
LavaridgeTown_Gym_B1F_EventScript_1FF8E9:: @ 81FF8E9 LavaridgeTown_Gym_B1F_EventScript_1FF8E9:: @ 81FF8E9
checktrainerflag TRAINER_JACE checktrainerflag TRAINER_JACE
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8F6 goto_if_eq LavaridgeTown_Gym_B1F_EventScript_1FF8F6
setobjectmovementtype 1, 63 setobjectmovementtype 1, 63
LavaridgeTown_Gym_B1F_EventScript_1FF8F6:: @ 81FF8F6 LavaridgeTown_Gym_B1F_EventScript_1FF8F6:: @ 81FF8F6
checktrainerflag TRAINER_JEFF checktrainerflag TRAINER_JEFF
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF903 goto_if_eq LavaridgeTown_Gym_B1F_EventScript_1FF903
setobjectmovementtype 3, 63 setobjectmovementtype 3, 63
LavaridgeTown_Gym_B1F_EventScript_1FF903:: @ 81FF903 LavaridgeTown_Gym_B1F_EventScript_1FF903:: @ 81FF903
checktrainerflag TRAINER_ELI checktrainerflag TRAINER_ELI
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF910 goto_if_eq LavaridgeTown_Gym_B1F_EventScript_1FF910
setobjectmovementtype 4, 63 setobjectmovementtype 4, 63
LavaridgeTown_Gym_B1F_EventScript_1FF910:: @ 81FF910 LavaridgeTown_Gym_B1F_EventScript_1FF910:: @ 81FF910
+2 -3
View File
@@ -28,12 +28,11 @@ LavaridgeTown_HerbShop_EventScript_1FE4FC:: @ 81FE4FC
LavaridgeTown_HerbShop_EventScript_1FE505:: @ 81FE505 LavaridgeTown_HerbShop_EventScript_1FE505:: @ 81FE505
lock lock
faceplayer faceplayer
checkflag FLAG_0x0FE goto_if_set FLAG_0x0FE, LavaridgeTown_HerbShop_EventScript_1FE534
goto_eq LavaridgeTown_HerbShop_EventScript_1FE534
msgbox LavaridgeTown_HerbShop_Text_1FE584, MSGBOX_DEFAULT msgbox LavaridgeTown_HerbShop_Text_1FE584, MSGBOX_DEFAULT
giveitem_std ITEM_CHARCOAL giveitem_std ITEM_CHARCOAL
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LavaridgeTown_HerbShop_EventScript_272054 goto_if_eq LavaridgeTown_HerbShop_EventScript_272054
setflag FLAG_0x0FE setflag FLAG_0x0FE
release release
end end
+29 -47
View File
@@ -7,14 +7,12 @@ LilycoveCity_MapScript1_1E2B47: @ 81E2B47
setflag FLAG_VISITED_LILYCOVE_CITY setflag FLAG_VISITED_LILYCOVE_CITY
setvar VAR_0x4086, 0 setvar VAR_0x4086, 0
setflag FLAG_HIDE_LILYCOVE_CONTEST_HALL_REPORTER setflag FLAG_HIDE_LILYCOVE_CONTEST_HALL_REPORTER
checkflag FLAG_SYS_WEATHER_CTRL call_if_set FLAG_SYS_WEATHER_CTRL, LilycoveCity_EventScript_27207A
call_if 1, LilycoveCity_EventScript_27207A
call LilycoveCity_EventScript_271ED7 call LilycoveCity_EventScript_271ED7
end end
LilycoveCity_MapScript1_1E2B61: @ 81E2B61 LilycoveCity_MapScript1_1E2B61: @ 81E2B61
checkflag FLAG_0x070 call_if_unset FLAG_0x070, LilycoveCity_EventScript_1E2B6B
call_if 0, LilycoveCity_EventScript_1E2B6B
end end
LilycoveCity_EventScript_1E2B6B:: @ 81E2B6B LilycoveCity_EventScript_1E2B6B:: @ 81E2B6B
@@ -36,14 +34,13 @@ LilycoveCity_EventScript_1E2BD8:: @ 81E2BD8
lock lock
faceplayer faceplayer
dodailyevents dodailyevents
checkflag FLAG_0x92F goto_if_set FLAG_0x92F, LilycoveCity_EventScript_1E2C18
goto_eq LilycoveCity_EventScript_1E2C18
msgbox LilycoveCity_Text_2A7244, MSGBOX_DEFAULT msgbox LilycoveCity_Text_2A7244, MSGBOX_DEFAULT
random 10 random 10
addvar VAR_RESULT, 133 addvar VAR_RESULT, 133
giveitem_std VAR_RESULT giveitem_std VAR_RESULT
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_EventScript_272054 goto_if_eq LilycoveCity_EventScript_272054
setflag FLAG_0x92F setflag FLAG_0x92F
msgbox LilycoveCity_Text_2A72E3, MSGBOX_DEFAULT msgbox LilycoveCity_Text_2A72E3, MSGBOX_DEFAULT
release release
@@ -61,8 +58,7 @@ LilycoveCity_EventScript_1E2C22:: @ 81E2C22
LilycoveCity_EventScript_1E2C2B:: @ 81E2C2B LilycoveCity_EventScript_1E2C2B:: @ 81E2C2B
lock lock
faceplayer faceplayer
checkflag FLAG_BADGE07_GET goto_if_set FLAG_BADGE07_GET, LilycoveCity_EventScript_1E2C40
goto_eq LilycoveCity_EventScript_1E2C40
msgbox LilycoveCity_Text_1E3E3C, MSGBOX_DEFAULT msgbox LilycoveCity_Text_1E3E3C, MSGBOX_DEFAULT
release release
end end
@@ -79,8 +75,7 @@ LilycoveCity_EventScript_1E2C4A:: @ 81E2C4A
LilycoveCity_EventScript_1E2C53:: @ 81E2C53 LilycoveCity_EventScript_1E2C53:: @ 81E2C53
lock lock
faceplayer faceplayer
checkflag FLAG_0x070 goto_if_set FLAG_0x070, LilycoveCity_EventScript_1E2C68
goto_eq LilycoveCity_EventScript_1E2C68
msgbox LilycoveCity_Text_1E3FAB, MSGBOX_DEFAULT msgbox LilycoveCity_Text_1E3FAB, MSGBOX_DEFAULT
release release
end end
@@ -93,8 +88,7 @@ LilycoveCity_EventScript_1E2C68:: @ 81E2C68
LilycoveCity_EventScript_1E2C72:: @ 81E2C72 LilycoveCity_EventScript_1E2C72:: @ 81E2C72
lock lock
faceplayer faceplayer
checkflag FLAG_0x070 goto_if_set FLAG_0x070, LilycoveCity_EventScript_1E2C87
goto_eq LilycoveCity_EventScript_1E2C87
msgbox LilycoveCity_Text_1E40AD, MSGBOX_DEFAULT msgbox LilycoveCity_Text_1E40AD, MSGBOX_DEFAULT
release release
end end
@@ -119,8 +113,7 @@ LilycoveCity_EventScript_1E2CA3:: @ 81E2CA3
LilycoveCity_EventScript_1E2CAC:: @ 81E2CAC LilycoveCity_EventScript_1E2CAC:: @ 81E2CAC
lock lock
faceplayer faceplayer
checkflag FLAG_BADGE07_GET goto_if_set FLAG_BADGE07_GET, LilycoveCity_EventScript_1E2CC1
goto_eq LilycoveCity_EventScript_1E2CC1
msgbox LilycoveCity_Text_1E42FC, MSGBOX_DEFAULT msgbox LilycoveCity_Text_1E42FC, MSGBOX_DEFAULT
release release
end end
@@ -178,8 +171,7 @@ LilycoveCity_EventScript_1E2D3A:: @ 81E2D3A
LilycoveCity_EventScript_1E2D44:: @ 81E2D44 LilycoveCity_EventScript_1E2D44:: @ 81E2D44
lockall lockall
checkflag FLAG_SYS_GAME_CLEAR goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_EventScript_1E2D58
goto_eq LilycoveCity_EventScript_1E2D58
msgbox LilycoveCity_Text_1E45A7, MSGBOX_DEFAULT msgbox LilycoveCity_Text_1E45A7, MSGBOX_DEFAULT
releaseall releaseall
end end
@@ -203,8 +195,7 @@ LilycoveCity_EventScript_1E2D74:: @ 81E2D74
LilycoveCity_EventScript_1E2D7D:: @ 81E2D7D LilycoveCity_EventScript_1E2D7D:: @ 81E2D7D
lockall lockall
checkflag FLAG_0x0DA goto_if_set FLAG_0x0DA, LilycoveCity_EventScript_1E2DB0
goto_eq LilycoveCity_EventScript_1E2DB0
msgbox LilycoveCity_Text_1E3D1F, MSGBOX_DEFAULT msgbox LilycoveCity_Text_1E3D1F, MSGBOX_DEFAULT
applymovement VAR_LAST_TALKED, LilycoveCity_Movement_27259E applymovement VAR_LAST_TALKED, LilycoveCity_Movement_27259E
waitmovement 0 waitmovement 0
@@ -241,19 +232,17 @@ LilycoveCity_EventScript_1E2DDE:: @ 81E2DDE
faceplayer faceplayer
checkplayergender checkplayergender
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_EventScript_1E2DF8 goto_if_eq LilycoveCity_EventScript_1E2DF8
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_EventScript_1E2E6B goto_if_eq LilycoveCity_EventScript_1E2E6B
end end
LilycoveCity_EventScript_1E2DF8:: @ 81E2DF8 LilycoveCity_EventScript_1E2DF8:: @ 81E2DF8
playbgm MUS_GIRL_SUP, 1 playbgm MUS_GIRL_SUP, 1
checkflag FLAG_0x11E call_if_set FLAG_0x11E, LilycoveCity_EventScript_1E2E48
call_if 1, LilycoveCity_EventScript_1E2E48 call_if_unset FLAG_0x11E, LilycoveCity_EventScript_1E2E51
checkflag FLAG_0x11E
call_if 0, LilycoveCity_EventScript_1E2E51
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_EventScript_1E2E5A goto_if_eq LilycoveCity_EventScript_1E2E5A
msgbox LilycoveCity_Text_1E3234, MSGBOX_DEFAULT msgbox LilycoveCity_Text_1E3234, MSGBOX_DEFAULT
switch VAR_STARTER_MON switch VAR_STARTER_MON
case 0, LilycoveCity_EventScript_1E2EDE case 0, LilycoveCity_EventScript_1E2EDE
@@ -279,12 +268,10 @@ LilycoveCity_EventScript_1E2E5A:: @ 81E2E5A
LilycoveCity_EventScript_1E2E6B:: @ 81E2E6B LilycoveCity_EventScript_1E2E6B:: @ 81E2E6B
playbgm MUS_BOY_SUP, 1 playbgm MUS_BOY_SUP, 1
checkflag FLAG_0x11E call_if_set FLAG_0x11E, LilycoveCity_EventScript_1E2EBB
call_if 1, LilycoveCity_EventScript_1E2EBB call_if_unset FLAG_0x11E, LilycoveCity_EventScript_1E2EC4
checkflag FLAG_0x11E
call_if 0, LilycoveCity_EventScript_1E2EC4
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_EventScript_1E2ECD goto_if_eq LilycoveCity_EventScript_1E2ECD
msgbox LilycoveCity_Text_1E373C, MSGBOX_DEFAULT msgbox LilycoveCity_Text_1E373C, MSGBOX_DEFAULT
switch VAR_STARTER_MON switch VAR_STARTER_MON
case 0, LilycoveCity_EventScript_1E2F0E case 0, LilycoveCity_EventScript_1E2F0E
@@ -341,20 +328,18 @@ LilycoveCity_EventScript_1E2F2E:: @ 81E2F2E
LilycoveCity_EventScript_1E2F3E:: @ 81E2F3E LilycoveCity_EventScript_1E2F3E:: @ 81E2F3E
msgbox LilycoveCity_Text_1E32FB, MSGBOX_DEFAULT msgbox LilycoveCity_Text_1E32FB, MSGBOX_DEFAULT
setvar VAR_RESULT, 0 setvar VAR_RESULT, 0
checkflag FLAG_BADGE06_GET call_if_set FLAG_BADGE06_GET, LilycoveCity_EventScript_1E2F76
call_if 1, LilycoveCity_EventScript_1E2F76
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, LilycoveCity_EventScript_1E2F86 call_if_eq LilycoveCity_EventScript_1E2F86
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, LilycoveCity_EventScript_1E2F8F call_if_eq LilycoveCity_EventScript_1E2F8F
clearflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_BEDROOM clearflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_BEDROOM
clearflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_2F_PICHU_DOLL clearflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_2F_PICHU_DOLL
goto LilycoveCity_EventScript_1E3006 goto LilycoveCity_EventScript_1E3006
end end
LilycoveCity_EventScript_1E2F76:: @ 81E2F76 LilycoveCity_EventScript_1E2F76:: @ 81E2F76
checkflag FLAG_BADGE08_GET goto_if_set FLAG_BADGE08_GET, LilycoveCity_EventScript_1E2F80
goto_eq LilycoveCity_EventScript_1E2F80
return return
LilycoveCity_EventScript_1E2F80:: @ 81E2F80 LilycoveCity_EventScript_1E2F80:: @ 81E2F80
@@ -366,8 +351,7 @@ LilycoveCity_EventScript_1E2F86:: @ 81E2F86
return return
LilycoveCity_EventScript_1E2F8F:: @ 81E2F8F LilycoveCity_EventScript_1E2F8F:: @ 81E2F8F
checkflag FLAG_SYS_GAME_CLEAR goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_EventScript_1E2FA1
goto_eq LilycoveCity_EventScript_1E2FA1
msgbox LilycoveCity_Text_1E346D, MSGBOX_DEFAULT msgbox LilycoveCity_Text_1E346D, MSGBOX_DEFAULT
return return
@@ -378,12 +362,11 @@ LilycoveCity_EventScript_1E2FA1:: @ 81E2FA1
LilycoveCity_EventScript_1E2FAA:: @ 81E2FAA LilycoveCity_EventScript_1E2FAA:: @ 81E2FAA
msgbox LilycoveCity_Text_1E37D7, MSGBOX_DEFAULT msgbox LilycoveCity_Text_1E37D7, MSGBOX_DEFAULT
setvar VAR_RESULT, 0 setvar VAR_RESULT, 0
checkflag FLAG_BADGE06_GET call_if_set FLAG_BADGE06_GET, LilycoveCity_EventScript_1E2F76
call_if 1, LilycoveCity_EventScript_1E2F76
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, LilycoveCity_EventScript_1E2FE2 call_if_eq LilycoveCity_EventScript_1E2FE2
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, LilycoveCity_EventScript_1E2FEB call_if_eq LilycoveCity_EventScript_1E2FEB
clearflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_BEDROOM clearflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_BEDROOM
clearflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F_SWABLU_DOLL clearflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F_SWABLU_DOLL
goto LilycoveCity_EventScript_1E3006 goto LilycoveCity_EventScript_1E3006
@@ -394,8 +377,7 @@ LilycoveCity_EventScript_1E2FE2:: @ 81E2FE2
return return
LilycoveCity_EventScript_1E2FEB:: @ 81E2FEB LilycoveCity_EventScript_1E2FEB:: @ 81E2FEB
checkflag FLAG_SYS_GAME_CLEAR goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_EventScript_1E2FFD
goto_eq LilycoveCity_EventScript_1E2FFD
msgbox LilycoveCity_Text_1E390C, MSGBOX_DEFAULT msgbox LilycoveCity_Text_1E390C, MSGBOX_DEFAULT
return return
@@ -424,9 +406,9 @@ LilycoveCity_EventScript_1E302D:: @ 81E302D
faceplayer faceplayer
msgbox LilycoveCity_Text_1E4774, MSGBOX_YESNO msgbox LilycoveCity_Text_1E4774, MSGBOX_YESNO
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, LilycoveCity_EventScript_1E304F call_if_eq LilycoveCity_EventScript_1E304F
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, LilycoveCity_EventScript_1E3058 call_if_eq LilycoveCity_EventScript_1E3058
release release
end end
+43 -46
View File
@@ -11,7 +11,7 @@ LilycoveCity_ContestLobby_MapScript1_21A21C: @ 821A21C
LilycoveCity_ContestLobby_EventScript_21A227:: @ 821A227 LilycoveCity_ContestLobby_EventScript_21A227:: @ 821A227
getpricereduction 4 getpricereduction 4
compare VAR_RESULT, 1 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 clearflag FLAG_HIDE_LILYCOVE_CONTEST_HALL_POKEBLOCK_EXPERT
setflag FLAG_HIDE_LILYCOVE_CONTEST_HALL_BLEND_MASTER_ONLOOKERS setflag FLAG_HIDE_LILYCOVE_CONTEST_HALL_BLEND_MASTER_ONLOOKERS
return return
@@ -27,8 +27,7 @@ LilycoveCity_ContestLobby_MapScript2_21A243: @ 821A243
.2byte 0 .2byte 0
LilycoveCity_ContestLobby_EventScript_21A255:: @ 821A255 LilycoveCity_ContestLobby_EventScript_21A255:: @ 821A255
checkflag FLAG_HIDE_LILYCOVE_MUSEUM_CURATOR goto_if_set FLAG_HIDE_LILYCOVE_MUSEUM_CURATOR, LilycoveCity_ContestLobby_EventScript_21A264
goto_eq LilycoveCity_ContestLobby_EventScript_21A264
setvar VAR_0x4099, 0 setvar VAR_0x4099, 0
end end
@@ -46,9 +45,9 @@ LilycoveCity_ContestLobby_EventScript_21A264:: @ 821A264
lockall lockall
msgbox LilycoveCity_ContestLobby_Text_21AE78, MSGBOX_YESNO msgbox LilycoveCity_ContestLobby_Text_21AE78, MSGBOX_YESNO
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A2AA goto_if_eq LilycoveCity_ContestLobby_EventScript_21A2AA
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_21A2E4 goto_if_eq LilycoveCity_ContestLobby_EventScript_21A2E4
releaseall releaseall
end end
@@ -59,7 +58,7 @@ LilycoveCity_ContestLobby_EventScript_21A2AA:: @ 821A2AA
setvar VAR_0x4099, 0 setvar VAR_0x4099, 0
specialvar VAR_RESULT, GiveMonArtistRibbon specialvar VAR_RESULT, GiveMonArtistRibbon
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, LilycoveCity_ContestLobby_EventScript_21A314 call_if_eq LilycoveCity_ContestLobby_EventScript_21A314
applymovement 4, LilycoveCity_ContestLobby_Movement_21A40F applymovement 4, LilycoveCity_ContestLobby_Movement_21A40F
waitmovement 0 waitmovement 0
removeobject 4 removeobject 4
@@ -71,7 +70,7 @@ LilycoveCity_ContestLobby_EventScript_21A2AA:: @ 821A2AA
LilycoveCity_ContestLobby_EventScript_21A2E4:: @ 821A2E4 LilycoveCity_ContestLobby_EventScript_21A2E4:: @ 821A2E4
msgbox LilycoveCity_ContestLobby_Text_21B0BC, MSGBOX_YESNO msgbox LilycoveCity_ContestLobby_Text_21B0BC, MSGBOX_YESNO
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A2AA goto_if_eq LilycoveCity_ContestLobby_EventScript_21A2AA
msgbox LilycoveCity_ContestLobby_Text_21B132, MSGBOX_DEFAULT msgbox LilycoveCity_ContestLobby_Text_21B132, MSGBOX_DEFAULT
closemessage closemessage
applymovement 4, LilycoveCity_ContestLobby_Movement_21A40F applymovement 4, LilycoveCity_ContestLobby_Movement_21A40F
@@ -202,8 +201,7 @@ LilycoveCity_ContestLobby_Movement_21A41E: @ 821A41E
step_end step_end
LilycoveCity_ContestLobby_EventScript_21A427:: @ 821A427 LilycoveCity_ContestLobby_EventScript_21A427:: @ 821A427
checkflag FLAG_HIDE_LILYCOVE_MUSEUM_CURATOR goto_if_set FLAG_HIDE_LILYCOVE_MUSEUM_CURATOR, LilycoveCity_ContestLobby_EventScript_21A436
goto_eq LilycoveCity_ContestLobby_EventScript_21A436
setvar VAR_0x4099, 0 setvar VAR_0x4099, 0
end end
@@ -220,9 +218,9 @@ LilycoveCity_ContestLobby_EventScript_21A436:: @ 821A436
drawcontestwinner 0 drawcontestwinner 0
msgbox LilycoveCity_ContestLobby_Text_21AE78, MSGBOX_YESNO msgbox LilycoveCity_ContestLobby_Text_21AE78, MSGBOX_YESNO
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A47A goto_if_eq LilycoveCity_ContestLobby_EventScript_21A47A
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_21A4B4 goto_if_eq LilycoveCity_ContestLobby_EventScript_21A4B4
end end
LilycoveCity_ContestLobby_EventScript_21A47A:: @ 821A47A LilycoveCity_ContestLobby_EventScript_21A47A:: @ 821A47A
@@ -232,7 +230,7 @@ LilycoveCity_ContestLobby_EventScript_21A47A:: @ 821A47A
setvar VAR_0x4099, 0 setvar VAR_0x4099, 0
specialvar VAR_RESULT, GiveMonArtistRibbon specialvar VAR_RESULT, GiveMonArtistRibbon
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, LilycoveCity_ContestLobby_EventScript_21A4E4 call_if_eq LilycoveCity_ContestLobby_EventScript_21A4E4
applymovement 11, LilycoveCity_ContestLobby_Movement_21A53C applymovement 11, LilycoveCity_ContestLobby_Movement_21A53C
waitmovement 0 waitmovement 0
removeobject 11 removeobject 11
@@ -244,7 +242,7 @@ LilycoveCity_ContestLobby_EventScript_21A47A:: @ 821A47A
LilycoveCity_ContestLobby_EventScript_21A4B4:: @ 821A4B4 LilycoveCity_ContestLobby_EventScript_21A4B4:: @ 821A4B4
msgbox LilycoveCity_ContestLobby_Text_21B0BC, MSGBOX_YESNO msgbox LilycoveCity_ContestLobby_Text_21B0BC, MSGBOX_YESNO
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A47A goto_if_eq LilycoveCity_ContestLobby_EventScript_21A47A
msgbox LilycoveCity_ContestLobby_Text_21B132, MSGBOX_DEFAULT msgbox LilycoveCity_ContestLobby_Text_21B132, MSGBOX_DEFAULT
closemessage closemessage
applymovement 11, LilycoveCity_ContestLobby_Movement_21A53C applymovement 11, LilycoveCity_ContestLobby_Movement_21A53C
@@ -321,7 +319,7 @@ LilycoveCity_ContestLobby_EventScript_21A554:: @ 821A554
special sub_80F9154 special sub_80F9154
specialvar VAR_RESULT, sub_80F8D24 specialvar VAR_RESULT, sub_80F8D24
compare VAR_RESULT, 1 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_279CC5
call LilycoveCity_ContestLobby_EventScript_21A670 call LilycoveCity_ContestLobby_EventScript_21A670
special SetContestTrainerGfxIds special SetContestTrainerGfxIds
@@ -643,10 +641,10 @@ LilycoveCity_ContestLobby_EventScript_21A819:: @ 821A819
LilycoveCity_ContestLobby_EventScript_21A856:: @ 821A856 LilycoveCity_ContestLobby_EventScript_21A856:: @ 821A856
msgbox LilycoveCity_ContestLobby_Text_27BD17, MSGBOX_YESNO msgbox LilycoveCity_ContestLobby_Text_27BD17, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_21A97F goto_if_eq LilycoveCity_ContestLobby_EventScript_21A97F
call LilycoveCity_ContestLobby_EventScript_27134F call LilycoveCity_ContestLobby_EventScript_27134F
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_21A97F goto_if_eq LilycoveCity_ContestLobby_EventScript_21A97F
message LilycoveCity_ContestLobby_Text_27C8FD message LilycoveCity_ContestLobby_Text_27C8FD
waitmessage waitmessage
specialvar VAR_TEMP_D, IsWirelessAdapterConnected specialvar VAR_TEMP_D, IsWirelessAdapterConnected
@@ -666,7 +664,7 @@ LilycoveCity_ContestLobby_EventScript_21A8BB:: @ 821A8BB
LilycoveCity_ContestLobby_EventScript_21A8C6:: @ 821A8C6 LilycoveCity_ContestLobby_EventScript_21A8C6:: @ 821A8C6
setvar VAR_TEMP_C, 1 setvar VAR_TEMP_C, 1
compare VAR_TEMP_D, 1 compare VAR_TEMP_D, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21AAFC goto_if_eq LilycoveCity_ContestLobby_EventScript_21AAFC
goto LilycoveCity_ContestLobby_EventScript_21A8DC goto LilycoveCity_ContestLobby_EventScript_21A8DC
end end
@@ -719,18 +717,18 @@ LilycoveCity_ContestLobby_EventScript_21A98C:: @ 821A98C
setvar VAR_CONTEST_RANK, 0 setvar VAR_CONTEST_RANK, 0
choosecontestmon choosecontestmon
compare VAR_0x8004, 255 compare VAR_0x8004, 255
goto_eq LilycoveCity_ContestLobby_EventScript_21A97F goto_if_eq LilycoveCity_ContestLobby_EventScript_21A97F
special sub_80F7F30 special sub_80F7F30
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_21A9E0 goto_if_eq LilycoveCity_ContestLobby_EventScript_21A9E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21AA0A goto_if_eq LilycoveCity_ContestLobby_EventScript_21AA0A
compare VAR_RESULT, 2 compare VAR_RESULT, 2
goto_eq LilycoveCity_ContestLobby_EventScript_21AA0A goto_if_eq LilycoveCity_ContestLobby_EventScript_21AA0A
compare VAR_RESULT, 3 compare VAR_RESULT, 3
goto_eq LilycoveCity_ContestLobby_EventScript_21A9EE goto_if_eq LilycoveCity_ContestLobby_EventScript_21A9EE
compare VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq LilycoveCity_ContestLobby_EventScript_21A9FC goto_if_eq LilycoveCity_ContestLobby_EventScript_21A9FC
end end
LilycoveCity_ContestLobby_EventScript_21A9E0:: @ 821A9E0 LilycoveCity_ContestLobby_EventScript_21A9E0:: @ 821A9E0
@@ -755,28 +753,28 @@ LilycoveCity_ContestLobby_EventScript_21AA0A:: @ 821AA0A
LilycoveCity_ContestLobby_EventScript_21AA15:: @ 821AA15 LilycoveCity_ContestLobby_EventScript_21AA15:: @ 821AA15
compare VAR_TEMP_D, 1 compare VAR_TEMP_D, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21AB4B goto_if_eq LilycoveCity_ContestLobby_EventScript_21AB4B
compare VAR_TEMP_D, 2 compare VAR_TEMP_D, 2
goto_if 4, LilycoveCity_ContestLobby_EventScript_21A97F goto_if_ge LilycoveCity_ContestLobby_EventScript_21A97F
message LilycoveCity_ContestLobby_Text_27BF85 message LilycoveCity_ContestLobby_Text_27BF85
waitmessage waitmessage
copyvar VAR_0x8004, VAR_RESULT copyvar VAR_0x8004, VAR_RESULT
compare VAR_TEMP_C, 0 compare VAR_TEMP_C, 0
call_if 1, LilycoveCity_ContestLobby_EventScript_21AABB call_if_eq LilycoveCity_ContestLobby_EventScript_21AABB
compare VAR_TEMP_C, 1 compare VAR_TEMP_C, 1
call_if 1, LilycoveCity_ContestLobby_EventScript_21AAC0 call_if_eq LilycoveCity_ContestLobby_EventScript_21AAC0
compare VAR_TEMP_C, 2 compare VAR_TEMP_C, 2
goto_if 4, LilycoveCity_ContestLobby_EventScript_21A97F goto_if_ge LilycoveCity_ContestLobby_EventScript_21A97F
compare VAR_RESULT, 4 compare VAR_RESULT, 4
goto_eq LilycoveCity_ContestLobby_EventScript_21AAD3 goto_if_eq LilycoveCity_ContestLobby_EventScript_21AAD3
compare VAR_RESULT, 3 compare VAR_RESULT, 3
goto_eq LilycoveCity_ContestLobby_EventScript_21AAD3 goto_if_eq LilycoveCity_ContestLobby_EventScript_21AAD3
compare VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq LilycoveCity_ContestLobby_EventScript_21A97F goto_if_eq LilycoveCity_ContestLobby_EventScript_21A97F
compare VAR_RESULT, 6 compare VAR_RESULT, 6
goto_eq LilycoveCity_ContestLobby_EventScript_21AAEF goto_if_eq LilycoveCity_ContestLobby_EventScript_21AAEF
compare VAR_RESULT, 10 compare VAR_RESULT, 10
goto_eq LilycoveCity_ContestLobby_EventScript_21AAE1 goto_if_eq LilycoveCity_ContestLobby_EventScript_21AAE1
message3 LilycoveCity_ContestLobby_Text_27BEEC message3 LilycoveCity_ContestLobby_Text_27BEEC
contestlinktransfer contestlinktransfer
switch VAR_0x8004 switch VAR_0x8004
@@ -844,15 +842,15 @@ LilycoveCity_ContestLobby_EventScript_21AB17:: @ 821AB17
LilycoveCity_ContestLobby_EventScript_21AB4B:: @ 821AB4B LilycoveCity_ContestLobby_EventScript_21AB4B:: @ 821AB4B
compare VAR_CONTEST_CATEGORY, 0 compare VAR_CONTEST_CATEGORY, 0
call_if 1, LilycoveCity_ContestLobby_EventScript_21AB88 call_if_eq LilycoveCity_ContestLobby_EventScript_21AB88
compare VAR_CONTEST_CATEGORY, 1 compare VAR_CONTEST_CATEGORY, 1
call_if 1, LilycoveCity_ContestLobby_EventScript_21AB8E call_if_eq LilycoveCity_ContestLobby_EventScript_21AB8E
compare VAR_CONTEST_CATEGORY, 2 compare VAR_CONTEST_CATEGORY, 2
call_if 1, LilycoveCity_ContestLobby_EventScript_21AB94 call_if_eq LilycoveCity_ContestLobby_EventScript_21AB94
compare VAR_CONTEST_CATEGORY, 3 compare VAR_CONTEST_CATEGORY, 3
call_if 1, LilycoveCity_ContestLobby_EventScript_21AB9A call_if_eq LilycoveCity_ContestLobby_EventScript_21AB9A
compare VAR_CONTEST_CATEGORY, 4 compare VAR_CONTEST_CATEGORY, 4
call_if 1, LilycoveCity_ContestLobby_EventScript_21ABA0 call_if_eq LilycoveCity_ContestLobby_EventScript_21ABA0
goto LilycoveCity_ContestLobby_EventScript_21ABA6 goto LilycoveCity_ContestLobby_EventScript_21ABA6
end end
@@ -890,22 +888,22 @@ LilycoveCity_ContestLobby_EventScript_21ABA6:: @ 821ABA6
LilycoveCity_ContestLobby_EventScript_21ABE3:: @ 821ABE3 LilycoveCity_ContestLobby_EventScript_21ABE3:: @ 821ABE3
call LilycoveCity_ContestLobby_EventScript_21AC33 call LilycoveCity_ContestLobby_EventScript_21AC33
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21AC3D goto_if_eq LilycoveCity_ContestLobby_EventScript_21AC3D
compare VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq LilycoveCity_ContestLobby_EventScript_21ABA6 goto_if_eq LilycoveCity_ContestLobby_EventScript_21ABA6
compare VAR_RESULT, 8 compare VAR_RESULT, 8
goto_eq LilycoveCity_ContestLobby_EventScript_21ABE3 goto_if_eq LilycoveCity_ContestLobby_EventScript_21ABE3
release release
end end
LilycoveCity_ContestLobby_EventScript_21AC0B:: @ 821AC0B LilycoveCity_ContestLobby_EventScript_21AC0B:: @ 821AC0B
call LilycoveCity_ContestLobby_EventScript_21AC38 call LilycoveCity_ContestLobby_EventScript_21AC38
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21AC3D goto_if_eq LilycoveCity_ContestLobby_EventScript_21AC3D
compare VAR_RESULT, 5 compare VAR_RESULT, 5
goto_eq LilycoveCity_ContestLobby_EventScript_21ABA6 goto_if_eq LilycoveCity_ContestLobby_EventScript_21ABA6
compare VAR_RESULT, 8 compare VAR_RESULT, 8
goto_eq LilycoveCity_ContestLobby_EventScript_21AC0B goto_if_eq LilycoveCity_ContestLobby_EventScript_21AC0B
release release
end end
@@ -1006,8 +1004,7 @@ LilycoveCity_ContestLobby_Movement_21ACEF: @ 821ACEF
LilycoveCity_ContestLobby_EventScript_21ACF1:: @ 821ACF1 LilycoveCity_ContestLobby_EventScript_21ACF1:: @ 821ACF1
lock lock
faceplayer faceplayer
checkflag FLAG_0x05F goto_if_set FLAG_0x05F, LilycoveCity_ContestLobby_EventScript_21AD06
goto_eq LilycoveCity_ContestLobby_EventScript_21AD06
msgbox LilycoveCity_ContestLobby_Text_21AD10, MSGBOX_DEFAULT msgbox LilycoveCity_ContestLobby_Text_21AD10, MSGBOX_DEFAULT
release release
end end
@@ -3,10 +3,8 @@ LilycoveCity_CoveLilyMotel_1F_MapScripts:: @ 8218188
LilycoveCity_CoveLilyMotel_1F_EventScript_218189:: @ 8218189 LilycoveCity_CoveLilyMotel_1F_EventScript_218189:: @ 8218189
lockall lockall
checkflag FLAG_SYS_GAME_CLEAR goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_CoveLilyMotel_1F_EventScript_2181EA
goto_eq LilycoveCity_CoveLilyMotel_1F_EventScript_2181EA goto_if_set FLAG_BADGE07_GET, LilycoveCity_CoveLilyMotel_1F_EventScript_2181C3
checkflag FLAG_BADGE07_GET
goto_eq LilycoveCity_CoveLilyMotel_1F_EventScript_2181C3
msgbox LilycoveCity_CoveLilyMotel_1F_Text_218264, MSGBOX_DEFAULT msgbox LilycoveCity_CoveLilyMotel_1F_Text_218264, MSGBOX_DEFAULT
applymovement 1, LilycoveCity_CoveLilyMotel_1F_Movement_27259E applymovement 1, LilycoveCity_CoveLilyMotel_1F_Movement_27259E
waitmovement 0 waitmovement 0
@@ -4,13 +4,11 @@ LilycoveCity_CoveLilyMotel_2F_MapScripts:: @ 82186D2
LilycoveCity_CoveLilyMotel_2F_EventScript_2186D3:: @ 82186D3 LilycoveCity_CoveLilyMotel_2F_EventScript_2186D3:: @ 82186D3
lock lock
faceplayer faceplayer
checkflag FLAG_TEMP_2 call_if_unset FLAG_TEMP_2, LilycoveCity_CoveLilyMotel_2F_EventScript_2186F9
call_if 0, LilycoveCity_CoveLilyMotel_2F_EventScript_2186F9 call_if_set FLAG_TEMP_2, LilycoveCity_CoveLilyMotel_2F_EventScript_21870F
checkflag FLAG_TEMP_2
call_if 1, LilycoveCity_CoveLilyMotel_2F_EventScript_21870F
specialvar VAR_RESULT, sub_80C08E4 specialvar VAR_RESULT, sub_80C08E4
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_eq LilycoveCity_CoveLilyMotel_2F_EventScript_218702 goto_if_eq LilycoveCity_CoveLilyMotel_2F_EventScript_218702
release release
end end
@@ -57,8 +55,7 @@ LilycoveCity_CoveLilyMotel_2F_EventScript_218744:: @ 8218744
LilycoveCity_CoveLilyMotel_2F_EventScript_21874D:: @ 821874D LilycoveCity_CoveLilyMotel_2F_EventScript_21874D:: @ 821874D
lock lock
faceplayer faceplayer
checkflag FLAG_0x1CE goto_if_set FLAG_0x1CE, LilycoveCity_CoveLilyMotel_2F_EventScript_21876A
goto_eq LilycoveCity_CoveLilyMotel_2F_EventScript_21876A
msgbox LilycoveCity_CoveLilyMotel_2F_Text_218ACF, MSGBOX_DEFAULT msgbox LilycoveCity_CoveLilyMotel_2F_Text_218ACF, MSGBOX_DEFAULT
addvar VAR_0x40D1, 1 addvar VAR_0x40D1, 1
setflag FLAG_0x1CE setflag FLAG_0x1CE
@@ -5,8 +5,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_220624:: @ 8220624
lock lock
faceplayer faceplayer
setvar VAR_0x8004, 0 setvar VAR_0x8004, 0
checkflag FLAG_TEMP_2 call_if_unset FLAG_TEMP_2, LilycoveCity_DepartmentStoreElevator_EventScript_2207FC
call_if 0, LilycoveCity_DepartmentStoreElevator_EventScript_2207FC
copyvar VAR_0x8005, VAR_DEPT_STORE_FLOOR copyvar VAR_0x8005, VAR_DEPT_STORE_FLOOR
special sub_8139B60 special sub_8139B60
message gUnknown_08272C1D message gUnknown_08272C1D
@@ -61,7 +60,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_220718:: @ 8220718
setvar VAR_0x8006, 4 setvar VAR_0x8006, 4
setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_1F, 255, 2, 1 setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_1F, 255, 2, 1
compare VAR_DEPT_STORE_FLOOR, 4 compare VAR_DEPT_STORE_FLOOR, 4
goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0 goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5 call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
setvar VAR_DEPT_STORE_FLOOR, 4 setvar VAR_DEPT_STORE_FLOOR, 4
goto LilycoveCity_DepartmentStoreElevator_EventScript_2207E0 goto LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
@@ -71,7 +70,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_220740:: @ 8220740
setvar VAR_0x8006, 5 setvar VAR_0x8006, 5
setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_2F, 255, 2, 1 setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_2F, 255, 2, 1
compare VAR_DEPT_STORE_FLOOR, 5 compare VAR_DEPT_STORE_FLOOR, 5
goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0 goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5 call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
setvar VAR_DEPT_STORE_FLOOR, 5 setvar VAR_DEPT_STORE_FLOOR, 5
goto LilycoveCity_DepartmentStoreElevator_EventScript_2207E0 goto LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
@@ -81,7 +80,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_220768:: @ 8220768
setvar VAR_0x8006, 6 setvar VAR_0x8006, 6
setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_3F, 255, 2, 1 setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_3F, 255, 2, 1
compare VAR_DEPT_STORE_FLOOR, 6 compare VAR_DEPT_STORE_FLOOR, 6
goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0 goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5 call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
setvar VAR_DEPT_STORE_FLOOR, 6 setvar VAR_DEPT_STORE_FLOOR, 6
goto LilycoveCity_DepartmentStoreElevator_EventScript_2207E0 goto LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
@@ -91,7 +90,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_220790:: @ 8220790
setvar VAR_0x8006, 7 setvar VAR_0x8006, 7
setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_4F, 255, 2, 1 setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_4F, 255, 2, 1
compare VAR_DEPT_STORE_FLOOR, 7 compare VAR_DEPT_STORE_FLOOR, 7
goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0 goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5 call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
setvar VAR_DEPT_STORE_FLOOR, 7 setvar VAR_DEPT_STORE_FLOOR, 7
goto LilycoveCity_DepartmentStoreElevator_EventScript_2207E0 goto LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
@@ -101,7 +100,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_2207B8:: @ 82207B8
setvar VAR_0x8006, 8 setvar VAR_0x8006, 8
setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_5F, 255, 2, 1 setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_5F, 255, 2, 1
compare VAR_DEPT_STORE_FLOOR, 8 compare VAR_DEPT_STORE_FLOOR, 8
goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0 goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5 call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
setvar VAR_DEPT_STORE_FLOOR, 8 setvar VAR_DEPT_STORE_FLOOR, 8
goto LilycoveCity_DepartmentStoreElevator_EventScript_2207E0 goto LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
@@ -5,9 +5,9 @@ LilycoveCity_DepartmentStoreRooftop_MapScripts:: @ 8220207
LilycoveCity_DepartmentStoreRooftop_MapScript1_22020D: @ 822020D LilycoveCity_DepartmentStoreRooftop_MapScript1_22020D: @ 822020D
getpricereduction 3 getpricereduction 3
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220227 call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220227
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_22022B call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_22022B
end end
LilycoveCity_DepartmentStoreRooftop_EventScript_220227:: @ 8220227 LilycoveCity_DepartmentStoreRooftop_EventScript_220227:: @ 8220227
@@ -53,7 +53,7 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_220268:: @ 8220268
faceplayer faceplayer
getpricereduction 3 getpricereduction 3
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220282 call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220282
msgbox LilycoveCity_DepartmentStoreRooftop_Text_220463, MSGBOX_DEFAULT msgbox LilycoveCity_DepartmentStoreRooftop_Text_220463, MSGBOX_DEFAULT
release release
end end
@@ -127,22 +127,22 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_220328:: @ 8220328
LilycoveCity_DepartmentStoreRooftop_EventScript_22032F:: @ 822032F LilycoveCity_DepartmentStoreRooftop_EventScript_22032F:: @ 822032F
compare VAR_TEMP_1, 0 compare VAR_TEMP_1, 0
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220305 call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220305
compare VAR_TEMP_1, 1 compare VAR_TEMP_1, 1
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_22030C call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_22030C
compare VAR_TEMP_1, 2 compare VAR_TEMP_1, 2
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220313 call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220313
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220442 goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220442
checkitemspace VAR_TEMP_0, 1 checkitemspace VAR_TEMP_0, 1
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450 goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450
compare VAR_TEMP_1, 0 compare VAR_TEMP_1, 0
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_22031A call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_22031A
compare VAR_TEMP_1, 1 compare VAR_TEMP_1, 1
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220321 call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220321
compare VAR_TEMP_1, 2 compare VAR_TEMP_1, 2
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220328 call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220328
updatemoneybox 0, 0 updatemoneybox 0, 0
nop nop
bufferitemname 0, VAR_TEMP_0 bufferitemname 0, VAR_TEMP_0
@@ -154,10 +154,10 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_22032F:: @ 822032F
msgbox gUnknown_08272A9A, MSGBOX_DEFAULT msgbox gUnknown_08272A9A, MSGBOX_DEFAULT
random 64 random 64
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, LilycoveCity_DepartmentStoreRooftop_EventScript_220436 goto_if_ne LilycoveCity_DepartmentStoreRooftop_EventScript_220436
checkitemspace VAR_TEMP_0, 1 checkitemspace VAR_TEMP_0, 1
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450 goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450
playse SE_JIHANKI playse SE_JIHANKI
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2205C2, MSGBOX_DEFAULT msgbox LilycoveCity_DepartmentStoreRooftop_Text_2205C2, MSGBOX_DEFAULT
giveitem VAR_TEMP_0, 1 giveitem VAR_TEMP_0, 1
@@ -166,10 +166,10 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_22032F:: @ 822032F
msgbox gUnknown_08272A9A, MSGBOX_DEFAULT msgbox gUnknown_08272A9A, MSGBOX_DEFAULT
random 64 random 64
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if 5, LilycoveCity_DepartmentStoreRooftop_EventScript_220436 goto_if_ne LilycoveCity_DepartmentStoreRooftop_EventScript_220436
checkitemspace VAR_TEMP_0, 1 checkitemspace VAR_TEMP_0, 1
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450 goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450
playse SE_JIHANKI playse SE_JIHANKI
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2205C2, MSGBOX_DEFAULT msgbox LilycoveCity_DepartmentStoreRooftop_Text_2205C2, MSGBOX_DEFAULT
giveitem VAR_TEMP_0, 1 giveitem VAR_TEMP_0, 1
@@ -10,12 +10,11 @@ LilycoveCity_DepartmentStore_1F_EventScript_21F69C:: @ 821F69C
faceplayer faceplayer
dodailyevents dodailyevents
compare VAR_POKELOT_PRIZE, 0 compare VAR_POKELOT_PRIZE, 0
goto_if 5, LilycoveCity_DepartmentStore_1F_EventScript_21F7F7 goto_if_ne LilycoveCity_DepartmentStore_1F_EventScript_21F7F7
checkflag FLAG_0x92A goto_if_set FLAG_0x92A, LilycoveCity_DepartmentStore_1F_EventScript_21F78D
goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F78D
msgbox LilycoveCity_DepartmentStore_1F_Text_2A6390, MSGBOX_YESNO msgbox LilycoveCity_DepartmentStore_1F_Text_2A6390, MSGBOX_YESNO
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F797 goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F797
setflag FLAG_0x92A setflag FLAG_0x92A
message LilycoveCity_DepartmentStore_1F_Text_2A64C8 message LilycoveCity_DepartmentStore_1F_Text_2A64C8
waitmessage waitmessage
@@ -34,24 +33,24 @@ LilycoveCity_DepartmentStore_1F_EventScript_21F69C:: @ 821F69C
applymovement 2, LilycoveCity_DepartmentStore_1F_Movement_27259E applymovement 2, LilycoveCity_DepartmentStore_1F_Movement_27259E
waitmovement 0 waitmovement 0
compare VAR_0x8004, 0 compare VAR_0x8004, 0
goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7A1 goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7A1
incrementgamestat 46 incrementgamestat 46
compare VAR_0x8006, 0 compare VAR_0x8006, 0
call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F77B call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F77B
compare VAR_0x8006, 1 compare VAR_0x8006, 1
call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F784 call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F784
bufferitemname 0, VAR_0x8005 bufferitemname 0, VAR_0x8005
compare VAR_0x8004, 1 compare VAR_0x8004, 1
call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F7B9 call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7B9
compare VAR_0x8004, 2 compare VAR_0x8004, 2
call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F7C2 call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7C2
compare VAR_0x8004, 3 compare VAR_0x8004, 3
call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F7CB call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7CB
compare VAR_0x8004, 4 compare VAR_0x8004, 4
call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F7D4 call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7D4
giveitem_std VAR_0x8005 giveitem_std VAR_0x8005
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7DD goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7DD
special sub_80EE2CC special sub_80EE2CC
goto LilycoveCity_DepartmentStore_1F_EventScript_21F7AF goto LilycoveCity_DepartmentStore_1F_EventScript_21F7AF
end end
@@ -115,7 +114,7 @@ LilycoveCity_DepartmentStore_1F_EventScript_21F7F7:: @ 821F7F7
msgbox LilycoveCity_DepartmentStore_1F_Text_2A67E1, MSGBOX_DEFAULT msgbox LilycoveCity_DepartmentStore_1F_Text_2A67E1, MSGBOX_DEFAULT
giveitem_std VAR_POKELOT_PRIZE giveitem_std VAR_POKELOT_PRIZE
compare VAR_RESULT, 0 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_0x8004, VAR_0x404D
copyvar VAR_0x8005, VAR_POKELOT_PRIZE copyvar VAR_0x8005, VAR_POKELOT_PRIZE
special sub_80EE2CC special sub_80EE2CC
@@ -126,9 +126,9 @@ LilycoveCity_DepartmentStore_5F_EventScript_220075:: @ 8220075
applymovement 7, LilycoveCity_DepartmentStore_5F_Movement_27259E applymovement 7, LilycoveCity_DepartmentStore_5F_Movement_27259E
waitmovement 0 waitmovement 0
compare VAR_0x405E, 0 compare VAR_0x405E, 0
goto_eq LilycoveCity_DepartmentStore_5F_EventScript_22009C goto_if_eq LilycoveCity_DepartmentStore_5F_EventScript_22009C
compare VAR_0x405E, 4 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 goto LilycoveCity_DepartmentStore_5F_EventScript_2200A7
end end

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