Merge branch 'master' into link

This commit is contained in:
scnorton
2018-01-18 12:53:31 -05:00
3620 changed files with 632656 additions and 52484 deletions

View File

@@ -22,7 +22,7 @@ Route102_EventScript_274359:: @ 8274359
lock
faceplayer
specialvar VAR_RESULT, PlayerHasBerries
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq Route102_EventScript_274374
message Route102_Text_2744F0
waitmessage
@@ -32,9 +32,9 @@ Route102_EventScript_274359:: @ 8274359
Route102_EventScript_274374:: @ 8274374
msgbox Route102_Text_274507, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq Route102_EventScript_274393
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq Route102_EventScript_2743AF
end
@@ -43,7 +43,7 @@ Route102_EventScript_274393:: @ 8274393
closemessage
special Bag_ChooseBerry
waitstate
compare_var_to_value VAR_ITEM_ID, 0
compare VAR_ITEM_ID, 0
goto_eq Route102_EventScript_2743AF
takeitem VAR_ITEM_ID, 1
call Route102_EventScript_2744DD
@@ -86,9 +86,9 @@ Route102_EventScript_2743E1:: @ 82743E1
goto Route102_EventScript_27448D
Route102_EventScript_2743F6:: @ 82743F6
compare_var_to_value VAR_0x8005, 0
compare VAR_0x8005, 0
goto_eq Route102_EventScript_27441A
compare_var_to_value VAR_0x8005, 4
compare VAR_0x8005, 4
goto_eq Route102_EventScript_274413
bufferstring 1, Route102_Text_2745E5
return
@@ -107,19 +107,19 @@ Route102_EventScript_274421:: @ 8274421
faceplayer
special FieldObjectInteractionGetBerryCountString
msgbox Route102_Text_2745EE, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq Route102_EventScript_274448
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq Route102_EventScript_274479
Route102_EventScript_274448:: @ 8274448
special FieldObjectInteractionPickBerryTree
compare_var_to_value VAR_0x8004, 0
compare VAR_0x8004, 0
goto_eq Route102_EventScript_274470
special sub_80EED34
special FieldObjectInteractionRemoveBerryTree
message Route102_Text_27461B
playfanfare BGM_ME_KINOMI
playfanfare MUS_ME_KINOMI
waitmessage
waitfanfare
waitbuttonpress
@@ -152,13 +152,13 @@ Route102_EventScript_274482:: @ 8274482
Route102_EventScript_27448D:: @ 827448D
checkitem ITEM_WAILMER_PAIL, 1
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq Route102_EventScript_2744BE
special FieldObjectInteractionGetBerryName
msgbox Route102_Text_2746E4, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq Route102_EventScript_2744C4
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq Route102_EventScript_2744BE
Route102_EventScript_2744BE:: @ 82744BE

View File

@@ -20,10 +20,10 @@ VerdanturfTown_PokemonCenter_2F_MapScript1_276ACF: @ 8276ACF
OldaleTown_PokemonCenter_2F_EventScript_276AD5:: @ 8276AD5
specialvar VAR_RESULT, sub_813B514
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276AFB
specialvar VAR_RESULT, sub_801B27C
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276AFF
goto OldaleTown_PokemonCenter_2F_EventScript_276AFB
end
@@ -54,7 +54,7 @@ SlateportCity_PokemonCenter_2F_EventScript_276B03:: @ 8276B03
SootopolisCity_PokemonCenter_2F_EventScript_276B03:: @ 8276B03
VerdanturfTown_PokemonCenter_2F_EventScript_276B03:: @ 8276B03
specialvar VAR_RESULT, sub_813B514
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276B23
goto OldaleTown_PokemonCenter_2F_EventScript_276B19
end
@@ -68,7 +68,7 @@ OldaleTown_PokemonCenter_2F_EventScript_276B1A:: @ 8276B1A
OldaleTown_PokemonCenter_2F_EventScript_276B23:: @ 8276B23
checkitem ITEM_EON_TICKET, 1
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276B19
checkflag FLAG_SYS_HAS_EON_TICKET
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276B19
@@ -114,7 +114,7 @@ VerdanturfTown_PokemonCenter_2F_MapScript2_276B6C: @ 8276B6C
MossdeepCity_GameCorner_1F_EventScript_276BAE:: @ 8276BAE
OldaleTown_PokemonCenter_2F_EventScript_276BAE:: @ 8276BAE
compare_var_to_value VAR_0x8007, 0
compare VAR_0x8007, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276BBD
turnobject VAR_0x8007, 3
@@ -139,21 +139,21 @@ RustboroCity_PokemonCenter_2F_MapScript1_276BBE: @ 8276BBE
SlateportCity_PokemonCenter_2F_MapScript1_276BBE: @ 8276BBE
SootopolisCity_PokemonCenter_2F_MapScript1_276BBE: @ 8276BBE
VerdanturfTown_PokemonCenter_2F_MapScript1_276BBE: @ 8276BBE
compare_var_to_value VAR_0x4087, 1
compare VAR_0x4087, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C17
compare_var_to_value VAR_0x4087, 2
compare VAR_0x4087, 2
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C17
compare_var_to_value VAR_0x4087, 5
compare VAR_0x4087, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C17
compare_var_to_value VAR_0x4087, 3
compare VAR_0x4087, 3
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C1D
compare_var_to_value VAR_0x4087, 4
compare VAR_0x4087, 4
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C23
compare_var_to_value VAR_0x4087, 6
compare VAR_0x4087, 6
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C29
compare_var_to_value VAR_0x4087, 7
compare VAR_0x4087, 7
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C2F
compare_var_to_value VAR_0x4087, 8
compare VAR_0x4087, 8
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276C35
end
@@ -233,7 +233,7 @@ OldaleTown_PokemonCenter_2F_EventScript_276C9D:: @ 8276C9D
OldaleTown_PokemonCenter_2F_EventScript_276CB5:: @ 8276CB5
special CloseLink
setvar VAR_0x4087, 0
compare_var_to_value VAR_0x8007, 0
compare VAR_0x8007, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276DD5
applymovement VAR_0x8007, OldaleTown_PokemonCenter_2F_Movement_27734D
waitmovement 0
@@ -256,7 +256,7 @@ OldaleTown_PokemonCenter_2F_EventScript_276CE7:: @ 8276CE7
OldaleTown_PokemonCenter_2F_EventScript_276CFF:: @ 8276CFF
special CloseLink
setvar VAR_0x4087, 0
compare_var_to_value VAR_0x8007, 0
compare VAR_0x8007, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276DD5
applymovement 255, OldaleTown_PokemonCenter_2F_Movement_27735E
waitmovement 0
@@ -280,7 +280,7 @@ OldaleTown_PokemonCenter_2F_EventScript_276D44:: @ 8276D44
setvar VAR_0x4087, 0
applymovement 255, OldaleTown_PokemonCenter_2F_Movement_27734F
waitmovement 0
compare_var_to_value VAR_0x8007, 0
compare VAR_0x8007, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276D6B
applymovement VAR_0x8007, OldaleTown_PokemonCenter_2F_Movement_277349
waitmovement 0
@@ -300,7 +300,7 @@ OldaleTown_PokemonCenter_2F_EventScript_276D6C:: @ 8276D6C
OldaleTown_PokemonCenter_2F_EventScript_276D84:: @ 8276D84
setvar VAR_0x4087, 0
compare_var_to_value VAR_0x8007, 0
compare VAR_0x8007, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276DD5
applymovement 255, OldaleTown_PokemonCenter_2F_Movement_27735E
waitmovement 0
@@ -409,8 +409,8 @@ OldaleTown_PokemonCenter_2F_EventScript_276F23:: @ 8276F23
end
OldaleTown_PokemonCenter_2F_EventScript_276F2E:: @ 8276F2E
special sub_80F92F8
compare_var_to_value VAR_RESULT, 0
special HasEnoughMonsForDoubleBattle
compare VAR_RESULT, 0
goto_if 5, OldaleTown_PokemonCenter_2F_EventScript_276F47
setvar VAR_0x8004, 2
goto OldaleTown_PokemonCenter_2F_EventScript_276F60
@@ -428,28 +428,28 @@ OldaleTown_PokemonCenter_2F_EventScript_276F55:: @ 8276F55
OldaleTown_PokemonCenter_2F_EventScript_276F60:: @ 8276F60
call OldaleTown_PokemonCenter_2F_EventScript_27134F
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
message OldaleTown_PokemonCenter_2F_Text_278091
waitmessage
special sub_80B2DA4
waitstate
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276FBD
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772D2
compare_var_to_value VAR_RESULT, 3
compare VAR_RESULT, 3
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772DF
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277046
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
compare_var_to_value VAR_RESULT, 6
compare VAR_RESULT, 6
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772C5
end
OldaleTown_PokemonCenter_2F_EventScript_276FBD:: @ 8276FBD
special sp000_heal_pokemon
special HealPlayerParty
special copy_player_party_to_sav1
special copy_bags_and_unk_data_from_save_blocks
copyvar VAR_0x4087, VAR_0x8004
@@ -472,7 +472,7 @@ OldaleTown_PokemonCenter_2F_EventScript_276FBD:: @ 8276FBD
closedoor 9, 1
waitdooranim
release
compare_var_to_value VAR_0x8004, 5
compare VAR_0x8004, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277036
special sub_809D2BC
warp SINGLE_BATTLE_COLOSSEUM, 255, 6, 8
@@ -527,30 +527,30 @@ OldaleTown_PokemonCenter_2F_EventScript_2770A5:: @ 82770A5
OldaleTown_PokemonCenter_2F_EventScript_2770B2:: @ 82770B2
copyvar VAR_0x8007, VAR_LAST_TALKED
call OldaleTown_PokemonCenter_2F_EventScript_277199
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
call OldaleTown_PokemonCenter_2F_EventScript_27134F
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
message OldaleTown_PokemonCenter_2F_Text_278091
waitmessage
special sub_80B2E4C
waitstate
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_27713A
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772D2
compare_var_to_value VAR_RESULT, 3
compare VAR_RESULT, 3
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772DF
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
goto_eq OldaleTown_PokemonCenter_2F_EventScript_27730E
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
compare_var_to_value VAR_RESULT, 6
compare VAR_RESULT, 6
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772C5
compare_var_to_value VAR_RESULT, 7
compare VAR_RESULT, 7
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772AB
compare_var_to_value VAR_RESULT, 9
compare VAR_RESULT, 9
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772B8
end
@@ -584,10 +584,10 @@ OldaleTown_PokemonCenter_2F_EventScript_27713A:: @ 827713A
OldaleTown_PokemonCenter_2F_EventScript_277199:: @ 8277199
specialvar VAR_RESULT, CalculatePlayerPartyCount
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_if 0, OldaleTown_PokemonCenter_2F_EventScript_2771BF
specialvar VAR_RESULT, sub_80F9370
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2771CD
setvar VAR_RESULT, 1
return
@@ -605,7 +605,7 @@ OldaleTown_PokemonCenter_2F_EventScript_2771CD:: @ 82771CD
OldaleTown_PokemonCenter_2F_EventScript_2771DB:: @ 82771DB
copyvar VAR_0x8007, VAR_LAST_TALKED
call OldaleTown_PokemonCenter_2F_EventScript_27134F
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
message OldaleTown_PokemonCenter_2F_Text_278091
waitmessage
@@ -613,19 +613,19 @@ OldaleTown_PokemonCenter_2F_EventScript_2771DB:: @ 82771DB
waitstate
special sub_80B2EA8
waitstate
compare_var_to_value VAR_RESULT, 12
compare VAR_RESULT, 12
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277328
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_27724C
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772D2
compare_var_to_value VAR_RESULT, 3
compare VAR_RESULT, 3
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772DF
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
goto_eq OldaleTown_PokemonCenter_2F_EventScript_27730E
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
compare_var_to_value VAR_RESULT, 6
compare VAR_RESULT, 6
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772C5
end
@@ -809,7 +809,7 @@ gUnknown_08277388:: @ 8277388
fadescreen 1
special sub_80F9438
waitstate
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq DoubleBattleColosseum_EventScript_2773F4
setvar VAR_0x8005, 0
special sub_80B3968
@@ -820,7 +820,7 @@ gUnknown_082773A3:: @ 82773A3
fadescreen 1
special sub_80F9438
waitstate
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq DoubleBattleColosseum_EventScript_2773F4
setvar VAR_0x8005, 1
special sub_80B3968
@@ -831,7 +831,7 @@ gUnknown_082773BE:: @ 82773BE
fadescreen 1
special sub_80F9438
waitstate
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq DoubleBattleColosseum_EventScript_2773F4
setvar VAR_0x8005, 2
special sub_80B3968
@@ -842,7 +842,7 @@ gUnknown_082773D9:: @ 82773D9
fadescreen 1
special sub_80F9438
waitstate
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq DoubleBattleColosseum_EventScript_2773F4
setvar VAR_0x8005, 3
special sub_80B3968
@@ -880,7 +880,7 @@ gUnknown_0827741D:: @ 827741D
setvar VAR_0x8005, 0
special sub_80E6BE8
waitstate
compare_var_to_value VAR_0x4001, 0
compare VAR_0x4001, 0
goto_if 5, RecordCorner_EventScript_277471
end
@@ -888,7 +888,7 @@ gUnknown_08277432:: @ 8277432
setvar VAR_0x8005, 1
special sub_80E6BE8
waitstate
compare_var_to_value VAR_0x4001, 0
compare VAR_0x4001, 0
goto_if 5, RecordCorner_EventScript_277471
end
@@ -896,7 +896,7 @@ gUnknown_08277447:: @ 8277447
setvar VAR_0x8005, 2
special sub_80E6BE8
waitstate
compare_var_to_value VAR_0x4001, 0
compare VAR_0x4001, 0
goto_if 5, RecordCorner_EventScript_277471
end
@@ -904,7 +904,7 @@ gUnknown_0827745C:: @ 827745C
setvar VAR_0x8005, 3
special sub_80E6BE8
waitstate
compare_var_to_value VAR_0x4001, 0
compare VAR_0x4001, 0
goto_if 5, RecordCorner_EventScript_277471
end
@@ -950,7 +950,7 @@ TradeCenter_EventScript_2774B6:: @ 82774B6
end
RecordCorner_EventScript_2774C6:: @ 82774C6
compare_var_to_value VAR_0x4000, 0
compare VAR_0x4000, 0
goto_if 5, RecordCorner_EventScript_2774E0
special sub_8098574
message RecordCorner_Text_27861C
@@ -971,7 +971,7 @@ RecordCorner_EventScript_2774E0:: @ 82774E0
gUnknown_082774EF:: @ 82774EF
msgbox Text_2783A8, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq gUnknown_08277509
erasebox 0, 0, 29, 19
releaseall
@@ -996,11 +996,11 @@ OldaleTown_PokemonCenter_2F_EventScript_27751B:: @ 827751B
checkflag FLAG_SYS_POKEDEX_GET
goto_if 0, OldaleTown_PokemonCenter_2F_EventScript_277335
specialvar VAR_RESULT, sub_813990C
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_27731B
copyvar VAR_0x8007, VAR_LAST_TALKED
specialvar VAR_RESULT, sub_80093CC
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277668
message OldaleTown_PokemonCenter_2F_Text_27940D
waitmessage
@@ -1024,14 +1024,14 @@ OldaleTown_PokemonCenter_2F_EventScript_277593:: @ 8277593
OldaleTown_PokemonCenter_2F_EventScript_27759F:: @ 827759F
call OldaleTown_PokemonCenter_2F_EventScript_277626
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
call OldaleTown_PokemonCenter_2F_EventScript_27134F
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
msgbox OldaleTown_PokemonCenter_2F_Text_27961C, 4
closemessage
special sp000_heal_pokemon
special HealPlayerParty
setvar VAR_0x8004, 6
copyvar VAR_0x4087, VAR_0x8004
call OldaleTown_PokemonCenter_2F_EventScript_277BBE
@@ -1059,10 +1059,10 @@ OldaleTown_PokemonCenter_2F_EventScript_27759F:: @ 827759F
OldaleTown_PokemonCenter_2F_EventScript_277626:: @ 8277626
specialvar VAR_RESULT, CountPartyNonEggMons
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_if 0, OldaleTown_PokemonCenter_2F_EventScript_27764C
specialvar VAR_RESULT, sub_80F9370
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_27765A
setvar VAR_RESULT, 1
return
@@ -1088,7 +1088,7 @@ OldaleTown_PokemonCenter_2F_EventScript_277672:: @ 8277672
checkflag FLAG_SYS_POKEDEX_GET
goto_if 0, OldaleTown_PokemonCenter_2F_EventScript_277335
msgbox OldaleTown_PokemonCenter_2F_Text_279937, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_27769A
msgbox OldaleTown_PokemonCenter_2F_Text_2799AA, 4
release
@@ -1106,10 +1106,10 @@ OldaleTown_PokemonCenter_2F_EventScript_2776A4:: @ 82776A4
checkflag FLAG_SYS_POKEDEX_GET
goto_if 0, OldaleTown_PokemonCenter_2F_EventScript_277335
specialvar VAR_RESULT, sub_813990C
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_27731B
specialvar VAR_RESULT, sub_80093CC
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_276E13
message OldaleTown_PokemonCenter_2F_Text_279013
waitmessage
@@ -1119,7 +1119,7 @@ OldaleTown_PokemonCenter_2F_EventScript_2776A4:: @ 82776A4
OldaleTown_PokemonCenter_2F_EventScript_2776E3:: @ 82776E3
checkitem ITEM_POWDER_JAR, 1
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_27778B
checkflag FLAG_VISITED_MAUVILLE_CITY
goto_eq OldaleTown_PokemonCenter_2F_EventScript_27773E
@@ -1166,10 +1166,10 @@ OldaleTown_PokemonCenter_2F_EventScript_2777CB:: @ 82777CB
OldaleTown_PokemonCenter_2F_EventScript_27780D:: @ 827780D
msgbox OldaleTown_PokemonCenter_2F_Text_27909D, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
call OldaleTown_PokemonCenter_2F_EventScript_277199
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
setvar VAR_0x8004, 3
goto OldaleTown_PokemonCenter_2F_EventScript_277931
@@ -1194,8 +1194,8 @@ OldaleTown_PokemonCenter_2F_EventScript_27788E:: @ 827788E
end
OldaleTown_PokemonCenter_2F_EventScript_277899:: @ 8277899
special sub_80F92F8
compare_var_to_value VAR_RESULT, 0
special HasEnoughMonsForDoubleBattle
compare VAR_RESULT, 0
goto_if 5, OldaleTown_PokemonCenter_2F_EventScript_2778B2
setvar VAR_0x8004, 1
goto OldaleTown_PokemonCenter_2F_EventScript_277931
@@ -1218,7 +1218,7 @@ OldaleTown_PokemonCenter_2F_EventScript_2778CB:: @ 82778CB
OldaleTown_PokemonCenter_2F_EventScript_2778D9:: @ 82778D9
msgbox OldaleTown_PokemonCenter_2F_Text_2790E8, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
setvar VAR_0x8004, 12
goto OldaleTown_PokemonCenter_2F_EventScript_277931
@@ -1226,10 +1226,10 @@ OldaleTown_PokemonCenter_2F_EventScript_2778D9:: @ 82778D9
OldaleTown_PokemonCenter_2F_EventScript_2778F7:: @ 82778F7
msgbox OldaleTown_PokemonCenter_2F_Text_279114, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
special HasAtLeastOneBerry
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277923
setvar VAR_0x8004, 5
goto OldaleTown_PokemonCenter_2F_EventScript_277931
@@ -1242,7 +1242,7 @@ OldaleTown_PokemonCenter_2F_EventScript_277923:: @ 8277923
OldaleTown_PokemonCenter_2F_EventScript_277931:: @ 8277931
call OldaleTown_PokemonCenter_2F_EventScript_27134F
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
switch VAR_0x8004
case 3, OldaleTown_PokemonCenter_2F_EventScript_277989
@@ -1266,22 +1266,22 @@ OldaleTown_PokemonCenter_2F_EventScript_277989:: @ 8277989
OldaleTown_PokemonCenter_2F_EventScript_2779C6:: @ 82779C6
call OldaleTown_PokemonCenter_2F_EventScript_277B30
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277B3A
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277989
compare_var_to_value VAR_RESULT, 8
compare VAR_RESULT, 8
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2779C6
release
return
OldaleTown_PokemonCenter_2F_EventScript_2779EE:: @ 82779EE
call OldaleTown_PokemonCenter_2F_EventScript_277B35
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277B3A
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277989
compare_var_to_value VAR_RESULT, 8
compare VAR_RESULT, 8
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2779EE
release
return
@@ -1299,22 +1299,22 @@ OldaleTown_PokemonCenter_2F_EventScript_277A16:: @ 8277A16
OldaleTown_PokemonCenter_2F_EventScript_277A53:: @ 8277A53
call OldaleTown_PokemonCenter_2F_EventScript_277B30
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277B3A
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277A16
compare_var_to_value VAR_RESULT, 8
compare VAR_RESULT, 8
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277A53
release
return
OldaleTown_PokemonCenter_2F_EventScript_277A7B:: @ 8277A7B
call OldaleTown_PokemonCenter_2F_EventScript_277B35
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277B3A
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277A16
compare_var_to_value VAR_RESULT, 8
compare VAR_RESULT, 8
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277A7B
release
return
@@ -1332,22 +1332,22 @@ OldaleTown_PokemonCenter_2F_EventScript_277AA3:: @ 8277AA3
OldaleTown_PokemonCenter_2F_EventScript_277AE0:: @ 8277AE0
call OldaleTown_PokemonCenter_2F_EventScript_277B30
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277B3A
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277AA3
compare_var_to_value VAR_RESULT, 8
compare VAR_RESULT, 8
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277AE0
release
return
OldaleTown_PokemonCenter_2F_EventScript_277B08:: @ 8277B08
call OldaleTown_PokemonCenter_2F_EventScript_277B35
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277B3A
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277AA3
compare_var_to_value VAR_RESULT, 8
compare VAR_RESULT, 8
goto_eq OldaleTown_PokemonCenter_2F_EventScript_277B08
release
return
@@ -1397,7 +1397,7 @@ OldaleTown_PokemonCenter_2F_EventScript_277B8A:: @ 8277B8A
checkflag FLAG_SYS_POKEDEX_GET
goto_if 0, OldaleTown_PokemonCenter_2F_EventScript_27733F
specialvar VAR_RESULT, sub_80093CC
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq EventScript_277BB4
fadescreen 1
special sub_801A42C
@@ -1496,7 +1496,7 @@ MossdeepCity_GameCorner_1F_EventScript_277C91:: @ 8277C91
message MossdeepCity_GameCorner_1F_Text_278CEB
waitmessage
specialvar VAR_RESULT, sub_80093CC
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq MossdeepCity_GameCorner_1F_EventScript_277E48
delay 60
message MossdeepCity_GameCorner_1F_Text_278DAD
@@ -1512,17 +1512,17 @@ MossdeepCity_GameCorner_1F_EventScript_277C91:: @ 8277C91
MossdeepCity_GameCorner_1F_EventScript_277CE9:: @ 8277CE9
setvar VAR_0x8005, 0
special sub_802C920
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq MossdeepCity_GameCorner_1F_EventScript_277E55
msgbox MossdeepCity_GameCorner_1F_Text_278DD9, 4
fadescreen 1
setvar VAR_0x8005, 0
special sub_81B8958
waitstate
compare_var_to_value VAR_0x8004, 6
compare VAR_0x8004, 6
goto_if 4, MossdeepCity_GameCorner_1F_EventScript_2772F9
call MossdeepCity_GameCorner_1F_EventScript_27134F
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq MossdeepCity_GameCorner_1F_EventScript_2772F9
setvar VAR_0x8004, 4
goto MossdeepCity_GameCorner_1F_EventScript_277D81
@@ -1531,17 +1531,17 @@ MossdeepCity_GameCorner_1F_EventScript_277CE9:: @ 8277CE9
MossdeepCity_GameCorner_1F_EventScript_277D35:: @ 8277D35
setvar VAR_0x8005, 1
special sub_8027A5C
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq MossdeepCity_GameCorner_1F_EventScript_277E55
msgbox MossdeepCity_GameCorner_1F_Text_278DD9, 4
fadescreen 1
setvar VAR_0x8005, 1
special sub_81B8958
waitstate
compare_var_to_value VAR_0x8004, 6
compare VAR_0x8004, 6
goto_if 4, MossdeepCity_GameCorner_1F_EventScript_2772F9
call MossdeepCity_GameCorner_1F_EventScript_27134F
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq MossdeepCity_GameCorner_1F_EventScript_2772F9
setvar VAR_0x8004, 6
goto MossdeepCity_GameCorner_1F_EventScript_277D81
@@ -1560,22 +1560,22 @@ MossdeepCity_GameCorner_1F_EventScript_277D81:: @ 8277D81
MossdeepCity_GameCorner_1F_EventScript_277DBE:: @ 8277DBE
call MossdeepCity_GameCorner_1F_EventScript_277B30
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq MossdeepCity_GameCorner_1F_EventScript_277E0E
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq MossdeepCity_GameCorner_1F_EventScript_277D81
compare_var_to_value VAR_RESULT, 8
compare VAR_RESULT, 8
goto_eq MossdeepCity_GameCorner_1F_EventScript_277DBE
release
return
MossdeepCity_GameCorner_1F_EventScript_277DE6:: @ 8277DE6
call MossdeepCity_GameCorner_1F_EventScript_277B35
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq MossdeepCity_GameCorner_1F_EventScript_277E0E
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq MossdeepCity_GameCorner_1F_EventScript_277D81
compare_var_to_value VAR_RESULT, 8
compare VAR_RESULT, 8
goto_eq MossdeepCity_GameCorner_1F_EventScript_277DE6
release
return
@@ -1608,11 +1608,11 @@ MossdeepCity_GameCorner_1F_EventScript_277E48:: @ 8277E48
MossdeepCity_GameCorner_1F_EventScript_277E55:: @ 8277E55
msgbox MossdeepCity_GameCorner_1F_Text_278E60, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq MossdeepCity_GameCorner_1F_EventScript_2772F9
compare_var_to_value VAR_0x8005, 0
compare VAR_0x8005, 0
call_if 1, MossdeepCity_GameCorner_1F_EventScript_277E84
compare_var_to_value VAR_0x8005, 1
compare VAR_0x8005, 1
call_if 1, MossdeepCity_GameCorner_1F_EventScript_277E8D
goto MossdeepCity_GameCorner_1F_EventScript_2772F9
end

View File

@@ -1,7 +1,7 @@
LilycoveCity_ContestLobby_EventScript_279CC5:: @ 8279CC5
lock
faceplayer
compare_var_to_value VAR_0x408A, 0
compare VAR_0x408A, 0
goto_if 5, LilycoveCity_ContestLobby_EventScript_279D13
checkflag FLAG_0x05F
call_if 1, LilycoveCity_ContestLobby_EventScript_279CEA
@@ -29,7 +29,7 @@ LilycoveCity_ContestLobby_EventScript_279D13:: @ 8279D13
LilycoveCity_ContestLobby_EventScript_279D2C:: @ 8279D2C
giveitem_std ITEM_LUXURY_BALL
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_279D4B
setvar VAR_0x408A, 0
closemessage
@@ -87,19 +87,19 @@ LilycoveCity_ContestLobby_EventScript_279E09:: @ 8279E09
LilycoveCity_ContestLobby_EventScript_279E13:: @ 8279E13
msgbox LilycoveCity_ContestLobby_Text_27B44A, 4
choosecontestpkmn
compare_var_to_value VAR_0x8004, 255
choosecontestmon
compare VAR_0x8004, 255
goto_eq LilycoveCity_ContestLobby_EventScript_279E09
special sub_80F7F30
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_279F12
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_279F87
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq LilycoveCity_ContestLobby_EventScript_279F45
compare_var_to_value VAR_RESULT, 3
compare VAR_RESULT, 3
goto_eq LilycoveCity_ContestLobby_EventScript_279F69
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
goto_eq LilycoveCity_ContestLobby_EventScript_279F78
end
@@ -273,7 +273,7 @@ LinkContestRoom1_EventScript_27A097:: @ 827A097
return
LinkContestRoom1_EventScript_27A0B1:: @ 827A0B1
compare_var_to_value VAR_0x4088, 5
compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27A0C7
lockall
msgbox LinkContestRoom1_Text_27B711, 4
@@ -282,7 +282,7 @@ LinkContestRoom1_EventScript_27A0B1:: @ 827A0B1
LinkContestRoom1_EventScript_27A0C7:: @ 827A0C7
specialvar VAR_RESULT, sub_80F9160
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LinkContestRoom1_EventScript_27A0DE
messageautoscroll LinkContestRoom1_Text_27B78F
waitmessage
@@ -306,7 +306,7 @@ LinkContestRoom1_EventScript_27A0F5:: @ 827A0F5
call LinkContestRoom1_EventScript_27A133
call LinkContestRoom1_EventScript_27A133
addvar VAR_0x8006, 1
compare_var_to_value VAR_0x8006, 4
compare VAR_0x8006, 4
goto_if 5, LinkContestRoom1_EventScript_27A0F5
call LinkContestRoom1_EventScript_27A230
setvar VAR_0x4001, 6
@@ -314,7 +314,7 @@ LinkContestRoom1_EventScript_27A0F5:: @ 827A0F5
LinkContestRoom1_EventScript_27A133:: @ 827A133
specialvar VAR_RESULT, sub_80F9160
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LinkContestRoom1_EventScript_27A144
return
@@ -324,13 +324,13 @@ LinkContestRoom1_EventScript_27A144:: @ 827A144
return
LinkContestRoom1_EventScript_27A149:: @ 827A149
compare_var_to_value VAR_0x8006, 0
compare VAR_0x8006, 0
goto_eq LinkContestRoom1_EventScript_27A176
compare_var_to_value VAR_0x8006, 1
compare VAR_0x8006, 1
goto_eq LinkContestRoom1_EventScript_27A18D
compare_var_to_value VAR_0x8006, 2
compare VAR_0x8006, 2
goto_eq LinkContestRoom1_EventScript_27A1A4
compare_var_to_value VAR_0x8006, 3
compare VAR_0x8006, 3
goto_eq LinkContestRoom1_EventScript_27A1BB
return
@@ -393,7 +393,7 @@ LinkContestRoom1_EventScript_27A1D2:: @ 827A1D2
return
LinkContestRoom1_EventScript_27A217:: @ 827A217
compare_var_to_value VAR_0x4088, 5
compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27A229
message LinkContestRoom1_Text_27B815
waitmessage
@@ -421,14 +421,14 @@ LinkContestRoom1_EventScript_27A230:: @ 827A230
return
LinkContestRoom1_EventScript_27A26C:: @ 827A26C
compare_var_to_value VAR_0x4088, 5
compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27A280
msgbox LinkContestRoom1_Text_27B830, 4
return
LinkContestRoom1_EventScript_27A280:: @ 827A280
specialvar VAR_RESULT, sub_80F9160
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LinkContestRoom1_EventScript_27A297
messageautoscroll LinkContestRoom1_Text_27B830
waitmessage
@@ -447,7 +447,7 @@ LinkContestRoom1_EventScript_27A297:: @ 827A297
return
LinkContestRoom1_EventScript_27A2B9:: @ 827A2B9
compare_var_to_value VAR_0x4088, 5
compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27A2CA
message LinkContestRoom1_Text_27B8F2
return
@@ -485,15 +485,15 @@ LinkContestRoom1_EventScript_27A2D5:: @ 827A2D5
LinkContestRoom1_EventScript_27A34F:: @ 827A34F
special sub_80F82FC
compare_var_to_value VAR_0x4088, 1
compare VAR_0x4088, 1
call_if 1, LinkContestRoom1_EventScript_27A454
compare_var_to_value VAR_0x4088, 2
compare VAR_0x4088, 2
call_if 1, LinkContestRoom1_EventScript_27A4B2
compare_var_to_value VAR_0x4088, 3
compare VAR_0x4088, 3
call_if 1, LinkContestRoom1_EventScript_27A510
compare_var_to_value VAR_0x4088, 4
compare VAR_0x4088, 4
call_if 1, LinkContestRoom1_EventScript_27A56E
compare_var_to_value VAR_0x4088, 5
compare VAR_0x4088, 5
call_if 1, LinkContestRoom1_EventScript_27A5CC
setvar VAR_0x4001, 9
setvar VAR_0x4002, 9
@@ -503,7 +503,7 @@ LinkContestRoom1_EventScript_27A34F:: @ 827A34F
setvar VAR_0x4006, 9
setvar VAR_0x4007, 9
setvar VAR_0x4008, 9
compare_var_to_value VAR_0x4000, 0
compare VAR_0x4000, 0
call_if 2, LinkContestRoom1_EventScript_27A3E5
setvar VAR_0x4001, 0
setvar VAR_0x4002, 0
@@ -518,123 +518,123 @@ LinkContestRoom1_EventScript_27A34F:: @ 827A34F
LinkContestRoom1_EventScript_27A3E5:: @ 827A3E5
setvar VAR_RESULT, 8
special sub_80F8FE8
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LinkContestRoom1_EventScript_27A65A
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, LinkContestRoom1_EventScript_27A67E
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
call_if 1, LinkContestRoom1_EventScript_27A6A2
compare_var_to_value VAR_RESULT, 3
compare VAR_RESULT, 3
call_if 1, LinkContestRoom1_EventScript_27A6C6
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
call_if 1, LinkContestRoom1_EventScript_27A6EA
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
call_if 1, LinkContestRoom1_EventScript_27A70E
compare_var_to_value VAR_RESULT, 6
compare VAR_RESULT, 6
call_if 1, LinkContestRoom1_EventScript_27A732
compare_var_to_value VAR_RESULT, 7
compare VAR_RESULT, 7
call_if 1, LinkContestRoom1_EventScript_27A756
compare_var_to_value VAR_0x4000, 0
compare VAR_0x4000, 0
goto_if 2, LinkContestRoom1_EventScript_27A3E5
waitmovement 0
return
LinkContestRoom1_EventScript_27A454:: @ 827A454
compare_var_to_value VAR_0x8004, 80
compare VAR_0x8004, 80
goto_if 2, LinkContestRoom1_EventScript_27A654
compare_var_to_value VAR_0x8004, 70
compare VAR_0x8004, 70
goto_if 2, LinkContestRoom1_EventScript_27A64E
compare_var_to_value VAR_0x8004, 60
compare VAR_0x8004, 60
goto_if 2, LinkContestRoom1_EventScript_27A648
compare_var_to_value VAR_0x8004, 50
compare VAR_0x8004, 50
goto_if 2, LinkContestRoom1_EventScript_27A642
compare_var_to_value VAR_0x8004, 40
compare VAR_0x8004, 40
goto_if 2, LinkContestRoom1_EventScript_27A63C
compare_var_to_value VAR_0x8004, 30
compare VAR_0x8004, 30
goto_if 2, LinkContestRoom1_EventScript_27A636
compare_var_to_value VAR_0x8004, 20
compare VAR_0x8004, 20
goto_if 2, LinkContestRoom1_EventScript_27A630
compare_var_to_value VAR_0x8004, 10
compare VAR_0x8004, 10
goto_if 2, LinkContestRoom1_EventScript_27A62A
setvar VAR_0x4000, 0
return
LinkContestRoom1_EventScript_27A4B2:: @ 827A4B2
compare_var_to_value VAR_0x8004, 230
compare VAR_0x8004, 230
goto_if 2, LinkContestRoom1_EventScript_27A654
compare_var_to_value VAR_0x8004, 210
compare VAR_0x8004, 210
goto_if 2, LinkContestRoom1_EventScript_27A64E
compare_var_to_value VAR_0x8004, 190
compare VAR_0x8004, 190
goto_if 2, LinkContestRoom1_EventScript_27A648
compare_var_to_value VAR_0x8004, 170
compare VAR_0x8004, 170
goto_if 2, LinkContestRoom1_EventScript_27A642
compare_var_to_value VAR_0x8004, 150
compare VAR_0x8004, 150
goto_if 2, LinkContestRoom1_EventScript_27A63C
compare_var_to_value VAR_0x8004, 130
compare VAR_0x8004, 130
goto_if 2, LinkContestRoom1_EventScript_27A636
compare_var_to_value VAR_0x8004, 110
compare VAR_0x8004, 110
goto_if 2, LinkContestRoom1_EventScript_27A630
compare_var_to_value VAR_0x8004, 90
compare VAR_0x8004, 90
goto_if 2, LinkContestRoom1_EventScript_27A62A
setvar VAR_0x4000, 0
return
LinkContestRoom1_EventScript_27A510:: @ 827A510
compare_var_to_value VAR_0x8004, 380
compare VAR_0x8004, 380
goto_if 2, LinkContestRoom1_EventScript_27A654
compare_var_to_value VAR_0x8004, 350
compare VAR_0x8004, 350
goto_if 2, LinkContestRoom1_EventScript_27A64E
compare_var_to_value VAR_0x8004, 320
compare VAR_0x8004, 320
goto_if 2, LinkContestRoom1_EventScript_27A648
compare_var_to_value VAR_0x8004, 290
compare VAR_0x8004, 290
goto_if 2, LinkContestRoom1_EventScript_27A642
compare_var_to_value VAR_0x8004, 260
compare VAR_0x8004, 260
goto_if 2, LinkContestRoom1_EventScript_27A63C
compare_var_to_value VAR_0x8004, 230
compare VAR_0x8004, 230
goto_if 2, LinkContestRoom1_EventScript_27A636
compare_var_to_value VAR_0x8004, 200
compare VAR_0x8004, 200
goto_if 2, LinkContestRoom1_EventScript_27A630
compare_var_to_value VAR_0x8004, 170
compare VAR_0x8004, 170
goto_if 2, LinkContestRoom1_EventScript_27A62A
setvar VAR_0x4000, 0
return
LinkContestRoom1_EventScript_27A56E:: @ 827A56E
compare_var_to_value VAR_0x8004, 600
compare VAR_0x8004, 600
goto_if 2, LinkContestRoom1_EventScript_27A654
compare_var_to_value VAR_0x8004, 560
compare VAR_0x8004, 560
goto_if 2, LinkContestRoom1_EventScript_27A64E
compare_var_to_value VAR_0x8004, 520
compare VAR_0x8004, 520
goto_if 2, LinkContestRoom1_EventScript_27A648
compare_var_to_value VAR_0x8004, 480
compare VAR_0x8004, 480
goto_if 2, LinkContestRoom1_EventScript_27A642
compare_var_to_value VAR_0x8004, 440
compare VAR_0x8004, 440
goto_if 2, LinkContestRoom1_EventScript_27A63C
compare_var_to_value VAR_0x8004, 400
compare VAR_0x8004, 400
goto_if 2, LinkContestRoom1_EventScript_27A636
compare_var_to_value VAR_0x8004, 360
compare VAR_0x8004, 360
goto_if 2, LinkContestRoom1_EventScript_27A630
compare_var_to_value VAR_0x8004, 320
compare VAR_0x8004, 320
goto_if 2, LinkContestRoom1_EventScript_27A62A
setvar VAR_0x4000, 0
return
LinkContestRoom1_EventScript_27A5CC:: @ 827A5CC
compare_var_to_value VAR_0x8004, 600
compare VAR_0x8004, 600
goto_if 2, LinkContestRoom1_EventScript_27A654
compare_var_to_value VAR_0x8004, 550
compare VAR_0x8004, 550
goto_if 2, LinkContestRoom1_EventScript_27A64E
compare_var_to_value VAR_0x8004, 500
compare VAR_0x8004, 500
goto_if 2, LinkContestRoom1_EventScript_27A648
compare_var_to_value VAR_0x8004, 450
compare VAR_0x8004, 450
goto_if 2, LinkContestRoom1_EventScript_27A642
compare_var_to_value VAR_0x8004, 400
compare VAR_0x8004, 400
goto_if 2, LinkContestRoom1_EventScript_27A63C
compare_var_to_value VAR_0x8004, 300
compare VAR_0x8004, 300
goto_if 2, LinkContestRoom1_EventScript_27A636
compare_var_to_value VAR_0x8004, 200
compare VAR_0x8004, 200
goto_if 2, LinkContestRoom1_EventScript_27A630
compare_var_to_value VAR_0x8004, 100
compare VAR_0x8004, 100
goto_if 2, LinkContestRoom1_EventScript_27A62A
setvar VAR_0x4000, 0
return
@@ -672,7 +672,7 @@ LinkContestRoom1_EventScript_27A654:: @ 827A654
return
LinkContestRoom1_EventScript_27A65A:: @ 827A65A
compare_var_to_value VAR_0x4001, 1
compare VAR_0x4001, 1
goto_eq LinkContestRoom1_EventScript_27A67D
applymovement 6, LinkContestRoom1_Movement_27AD11
playse SE_PIN
@@ -685,7 +685,7 @@ LinkContestRoom1_EventScript_27A67D:: @ 827A67D
return
LinkContestRoom1_EventScript_27A67E:: @ 827A67E
compare_var_to_value VAR_0x4002, 1
compare VAR_0x4002, 1
goto_eq LinkContestRoom1_EventScript_27A6A1
applymovement 12, LinkContestRoom1_Movement_27AD11
playse SE_PIN
@@ -698,7 +698,7 @@ LinkContestRoom1_EventScript_27A6A1:: @ 827A6A1
return
LinkContestRoom1_EventScript_27A6A2:: @ 827A6A2
compare_var_to_value VAR_0x4003, 1
compare VAR_0x4003, 1
goto_eq LinkContestRoom1_EventScript_27A6C5
applymovement 7, LinkContestRoom1_Movement_27AD11
playse SE_PIN
@@ -711,7 +711,7 @@ LinkContestRoom1_EventScript_27A6C5:: @ 827A6C5
return
LinkContestRoom1_EventScript_27A6C6:: @ 827A6C6
compare_var_to_value VAR_0x4004, 1
compare VAR_0x4004, 1
goto_eq LinkContestRoom1_EventScript_27A6E9
applymovement 8, LinkContestRoom1_Movement_27AD11
playse SE_PIN
@@ -724,7 +724,7 @@ LinkContestRoom1_EventScript_27A6E9:: @ 827A6E9
return
LinkContestRoom1_EventScript_27A6EA:: @ 827A6EA
compare_var_to_value VAR_0x4005, 1
compare VAR_0x4005, 1
goto_eq LinkContestRoom1_EventScript_27A70D
applymovement 9, LinkContestRoom1_Movement_27AD11
playse SE_PIN
@@ -737,7 +737,7 @@ LinkContestRoom1_EventScript_27A70D:: @ 827A70D
return
LinkContestRoom1_EventScript_27A70E:: @ 827A70E
compare_var_to_value VAR_0x4006, 1
compare VAR_0x4006, 1
goto_eq LinkContestRoom1_EventScript_27A731
applymovement 10, LinkContestRoom1_Movement_27AD11
playse SE_PIN
@@ -750,7 +750,7 @@ LinkContestRoom1_EventScript_27A731:: @ 827A731
return
LinkContestRoom1_EventScript_27A732:: @ 827A732
compare_var_to_value VAR_0x4007, 1
compare VAR_0x4007, 1
goto_eq LinkContestRoom1_EventScript_27A755
applymovement 11, LinkContestRoom1_Movement_27AD11
playse SE_PIN
@@ -763,7 +763,7 @@ LinkContestRoom1_EventScript_27A755:: @ 827A755
return
LinkContestRoom1_EventScript_27A756:: @ 827A756
compare_var_to_value VAR_0x4008, 1
compare VAR_0x4008, 1
goto_eq LinkContestRoom1_EventScript_27A779
applymovement 15, LinkContestRoom1_Movement_27AD11
playse SE_PIN
@@ -845,14 +845,14 @@ LinkContestRoom1_EventScript_27A801:: @ 827A801
return
LinkContestRoom1_EventScript_27A853:: @ 827A853
compare_var_to_value VAR_0x4088, 5
compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27A867
msgbox LinkContestRoom1_Text_27B904, 4
return
LinkContestRoom1_EventScript_27A867:: @ 827A867
specialvar VAR_RESULT, sub_80F9160
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LinkContestRoom1_EventScript_27A87E
messageautoscroll LinkContestRoom1_Text_27B904
waitmessage
@@ -891,11 +891,11 @@ LinkContestRoom1_EventScript_27A8A5:: @ 827A8A5
setvar VAR_0x4009, 1
showcontestresults
setvar VAR_0x4009, 0
playbgm BGM_CON_FAN, 0
playbgm MUS_CON_FAN, 0
return
LinkContestRoom1_EventScript_27A8FB:: @ 827A8FB
compare_var_to_value VAR_0x4088, 5
compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27A90F
msgbox LinkContestRoom1_Text_27BA15, 4
return
@@ -908,7 +908,7 @@ LinkContestRoom1_EventScript_27A90F:: @ 827A90F
return
LinkContestRoom1_EventScript_27A91E:: @ 827A91E
compare_var_to_value VAR_0x4088, 5
compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27A932
msgbox LinkContestRoom1_Text_27BA30, 4
return
@@ -921,7 +921,7 @@ LinkContestRoom1_EventScript_27A932:: @ 827A932
return
LinkContestRoom1_EventScript_27A941:: @ 827A941
compare_var_to_value VAR_0x4088, 5
compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27A955
msgbox LinkContestRoom1_Text_27BAAC, 4
return
@@ -934,7 +934,7 @@ LinkContestRoom1_EventScript_27A955:: @ 827A955
return
LinkContestRoom1_EventScript_27A964:: @ 827A964
compare_var_to_value VAR_0x4088, 5
compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27A978
msgbox LinkContestRoom1_Text_27BB25, 4
return
@@ -985,7 +985,7 @@ LinkContestRoom1_EventScript_27A9D4:: @ 827A9D4
return
LinkContestRoom1_EventScript_27AA00:: @ 827AA00
compare_var_to_value VAR_0x4088, 5
compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27AA14
msgbox LinkContestRoom1_Text_27BB4C, 4
return
@@ -998,7 +998,7 @@ LinkContestRoom1_EventScript_27AA14:: @ 827AA14
LinkContestRoom1_EventScript_27AA1B:: @ 827AA1B
addvar VAR_0x4001, 1
lockall
compare_var_to_value VAR_0x4088, 1
compare VAR_0x4088, 1
call_if 2, LinkContestRoom1_EventScript_27AA6F
applymovement 9, LinkContestRoom1_Movement_27AD3B
applymovement 12, LinkContestRoom1_Movement_27AD3F
@@ -1008,7 +1008,7 @@ LinkContestRoom1_EventScript_27AA1B:: @ 827AA1B
applymovement 11, LinkContestRoom1_Movement_27AD3F
applymovement 6, LinkContestRoom1_Movement_27AD37
applymovement 8, LinkContestRoom1_Movement_27AD33
compare_var_to_value VAR_0x4001, 4
compare VAR_0x4001, 4
goto_if 5, LinkContestRoom1_EventScript_27AA1B
delay 30
return
@@ -1083,7 +1083,7 @@ LinkContestRoom1_EventScript_27AA6F:: @ 827AA6F
return
LinkContestRoom1_EventScript_27AB36:: @ 827AB36
compare_var_to_value VAR_0x4088, 5
compare VAR_0x4088, 5
goto_eq LinkContestRoom1_EventScript_27ABD8
call LinkContestRoom1_EventScript_27AB9E
checkflag FLAG_0x002
@@ -1098,7 +1098,7 @@ LinkContestRoom1_EventScript_27AB36:: @ 827AB36
call LinkContestRoom1_EventScript_27AA1B
delay 30
special sub_80F88E8
compare_var_to_value VAR_0x8004, 1
compare VAR_0x8004, 1
goto_eq LinkContestRoom1_EventScript_27ABD2
return
@@ -1108,24 +1108,24 @@ LinkContestRoom1_EventScript_27AB82:: @ 827AB82
releaseall
delay 90
special sub_80F88E8
compare_var_to_value VAR_0x8004, 1
compare VAR_0x8004, 1
goto_eq LinkContestRoom1_EventScript_27ABD2
return
LinkContestRoom1_EventScript_27AB9E:: @ 827AB9E
specialvar VAR_RESULT, sub_80F7F7C
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LinkContestRoom1_EventScript_27ABAF
return
LinkContestRoom1_EventScript_27ABAF:: @ 827ABAF
special sub_80F831C
compare_var_to_value VAR_0x8005, 3
compare VAR_0x8005, 3
goto_eq LinkContestRoom1_EventScript_27ABBE
return
LinkContestRoom1_EventScript_27ABBE:: @ 827ABBE
compare_var_to_value VAR_CONTEST_RANK, 3
compare VAR_CONTEST_RANK, 3
goto_eq LinkContestRoom1_EventScript_27ABCD
setflag FLAG_0x002
return
@@ -1146,7 +1146,7 @@ LinkContestRoom1_EventScript_27ABD8:: @ 827ABD8
special sub_80F84B0
special sub_80F831C
special sub_80F88E8
compare_var_to_value VAR_0x8004, 1
compare VAR_0x8004, 1
goto_eq LinkContestRoom1_EventScript_27ABF1
closemessage
return
@@ -1196,7 +1196,7 @@ LinkContestRoom1_EventScript_27AC51:: @ 827AC51
LinkContestRoom1_EventScript_27AC5E:: @ 827AC5E
special sub_80F831C
compare_var_to_value VAR_0x8005, 3
compare VAR_0x8005, 3
goto_eq LinkContestRoom1_EventScript_27AC77
lockall
msgbox LinkContestRoom1_Text_27BB7A, 4
@@ -1204,12 +1204,12 @@ LinkContestRoom1_EventScript_27AC5E:: @ 827AC5E
return
LinkContestRoom1_EventScript_27AC77:: @ 827AC77
compare_var_to_value VAR_0x4088, 2
compare VAR_0x4088, 2
call_if 1, LinkContestRoom1_EventScript_27ABCE
specialvar VAR_RESULT, sub_80F7F7C
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LinkContestRoom1_EventScript_27ACDF
compare_var_to_value VAR_CONTEST_RANK, 3
compare VAR_CONTEST_RANK, 3
goto_eq LinkContestRoom1_EventScript_27ACBD
lockall
msgbox LinkContestRoom1_Text_27BB7A, 4
@@ -1226,7 +1226,7 @@ LinkContestRoom1_EventScript_27ACA8:: @ 827ACA8
LinkContestRoom1_EventScript_27ACBD:: @ 827ACBD
giveitem_std ITEM_LUXURY_BALL
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LinkContestRoom1_EventScript_27ACA8
lockall
msgbox LinkContestRoom1_Text_27BB7A, 4
@@ -1239,7 +1239,7 @@ LinkContestRoom1_EventScript_27ACDF:: @ 827ACDF
setflag FLAG_SYS_RIBBON_GET
lockall
msgbox LinkContestRoom1_Text_27BBD4, 4
playfanfare BGM_FANFA4
playfanfare MUS_FANFA4
msgbox LinkContestRoom1_Text_27BC00, 4
waitfanfare
special sub_80F8390
@@ -1432,7 +1432,7 @@ LinkContestRoom1_Movement_27AD7E: @ 827AD7E
LinkContestRoom1_EventScript_27AD80:: @ 827AD80
specialvar VAR_RESULT, sub_80F9134
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LinkContestRoom1_EventScript_27AD91
return
@@ -1441,7 +1441,7 @@ LinkContestRoom1_EventScript_27AD91:: @ 827AD91
LilycoveCity_ContestLobby_EventScript_27AD92:: @ 827AD92
specialvar VAR_RESULT, sub_80F9134
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_27ADA3
return

View File

@@ -3,11 +3,11 @@ Route117_EventScript_291C18:: @ 8291C18
faceplayer
special GetDaycareMonNicknames
specialvar VAR_RESULT, GetDaycareState
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq Route117_EventScript_291C4D
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq Route117_EventScript_291CD1
compare_var_to_value VAR_RESULT, 3
compare VAR_RESULT, 3
goto_eq Route117_EventScript_291CE8
msgbox Route117_Text_291FCF, 4
release
@@ -15,10 +15,10 @@ Route117_EventScript_291C18:: @ 8291C18
Route117_EventScript_291C4D:: @ 8291C4D
msgbox Route117_Text_29205D, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq Route117_EventScript_291C83
msgbox Route117_Text_2922C6, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq Route117_EventScript_291C83
msgbox Route117_Text_292149, 4
clearflag FLAG_PENDING_DAYCARE_EGG
@@ -28,7 +28,7 @@ Route117_EventScript_291C4D:: @ 8291C4D
Route117_EventScript_291C83:: @ 8291C83
specialvar VAR_RESULT, CalculatePlayerPartyCount
compare_var_to_value VAR_RESULT, 6
compare VAR_RESULT, 6
goto_if 5, Route117_EventScript_291C9D
msgbox Route117_Text_29216A, 4
release
@@ -36,7 +36,7 @@ Route117_EventScript_291C83:: @ 8291C83
Route117_EventScript_291C9D:: @ 8291C9D
message Route117_Text_2921A4
playfanfare BGM_FANFA1
playfanfare MUS_FANFA1
waitfanfare
waitbuttonpress
msgbox Route117_Text_2921CF, 4
@@ -47,7 +47,7 @@ Route117_EventScript_291C9D:: @ 8291C9D
Route117_EventScript_291CB7:: @ 8291CB7
specialvar VAR_RESULT, sub_8071614
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, Route117_EventScript_291CC8
return
@@ -67,7 +67,7 @@ Route117_EventScript_291CE8:: @ 8291CE8
special GetDaycareMonNicknames
msgbox Route117_Text_292299, 4
special SetDaycareCompatibilityString
special sub_8138AC0
special ShowFieldMessageStringVar4
waitmessage
waitbuttonpress
setvar VAR_0x8004, 0
@@ -81,14 +81,14 @@ Route117_PokemonDayCare_EventScript_291D11:: @ 8291D11
lock
faceplayer
specialvar VAR_RESULT, GetDaycareState
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq Route117_PokemonDayCare_EventScript_291E0B
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq Route117_PokemonDayCare_EventScript_291E2F
compare_var_to_value VAR_RESULT, 3
compare VAR_RESULT, 3
goto_eq Route117_PokemonDayCare_EventScript_291F5C
msgbox Route117_PokemonDayCare_Text_2922F4, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq Route117_PokemonDayCare_EventScript_291D56
msgbox Route117_PokemonDayCare_Text_292416, 4
release
@@ -96,19 +96,19 @@ Route117_PokemonDayCare_EventScript_291D11:: @ 8291D11
Route117_PokemonDayCare_EventScript_291D56:: @ 8291D56
specialvar VAR_RESULT, CountPartyNonEggMons
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq Route117_PokemonDayCare_EventScript_291DED
specialvar VAR_RESULT, sub_80722E0
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq Route117_PokemonDayCare_EventScript_291E01
msgbox Route117_PokemonDayCare_Text_292349, 4
fadescreen 1
special ChooseSendDaycareMon
waitstate
compare_var_to_value VAR_0x8004, 255
compare VAR_0x8004, 255
goto_eq Route117_PokemonDayCare_EventScript_291DCA
specialvar VAR_RESULT, CountPartyAliveNonEggMons_IgnoreVar0x8004Slot
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq Route117_PokemonDayCare_EventScript_291DF7
specialvar VAR_0x8005, GetSelectedMonNickAndSpecies
waitse
@@ -118,7 +118,7 @@ Route117_PokemonDayCare_EventScript_291D56:: @ 8291D56
special StoreSelectedPokemonInDaycare
incrementgamestat 47
specialvar VAR_RESULT, GetDaycareState
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq Route117_PokemonDayCare_EventScript_291DD4
release
end
@@ -130,7 +130,7 @@ Route117_PokemonDayCare_EventScript_291DCA:: @ 8291DCA
Route117_PokemonDayCare_EventScript_291DD4:: @ 8291DD4
msgbox Route117_PokemonDayCare_Text_2923AF, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq Route117_PokemonDayCare_EventScript_291D56
goto Route117_PokemonDayCare_EventScript_291DCA
end
@@ -161,7 +161,7 @@ Route117_PokemonDayCare_EventScript_291E15:: @ 8291E15
Route117_PokemonDayCare_EventScript_291E1E:: @ 8291E1E
specialvar VAR_RESULT, GetNumLevelsGainedFromDaycare
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 5, Route117_PokemonDayCare_EventScript_291E15
return
@@ -170,26 +170,26 @@ Route117_PokemonDayCare_EventScript_291E2F:: @ 8291E2F
setvar VAR_0x8004, 0
call Route117_PokemonDayCare_EventScript_291E1E
msgbox Route117_PokemonDayCare_Text_2923AF, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq Route117_PokemonDayCare_EventScript_291D56
msgbox Route117_PokemonDayCare_Text_2925F6, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq Route117_PokemonDayCare_EventScript_291E6D
goto Route117_PokemonDayCare_EventScript_291DCA
end
Route117_PokemonDayCare_EventScript_291E6D:: @ 8291E6D
specialvar VAR_RESULT, CalculatePlayerPartyCount
compare_var_to_value VAR_RESULT, 6
compare VAR_RESULT, 6
goto_eq Route117_PokemonDayCare_EventScript_291F3D
specialvar VAR_RESULT, GetDaycareState
setvar VAR_0x8004, 0
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq Route117_PokemonDayCare_EventScript_291EAC
special ShowDaycareLevelMenu
waitstate
copyvar VAR_0x8004, VAR_RESULT
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq Route117_PokemonDayCare_EventScript_291DCA
goto Route117_PokemonDayCare_EventScript_291EAC
end
@@ -197,14 +197,14 @@ Route117_PokemonDayCare_EventScript_291E6D:: @ 8291E6D
Route117_PokemonDayCare_EventScript_291EAC:: @ 8291EAC
special GetDaycareCost
msgbox Route117_PokemonDayCare_Text_292549, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq Route117_PokemonDayCare_EventScript_291EC8
goto Route117_PokemonDayCare_EventScript_291DCA
end
Route117_PokemonDayCare_EventScript_291EC8:: @ 8291EC8
specialvar VAR_RESULT, IsEnoughForCostInVar0x8005
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq Route117_PokemonDayCare_EventScript_291EE2
msgbox Route117_PokemonDayCare_Text_292432, 4
release
@@ -222,14 +222,14 @@ Route117_PokemonDayCare_EventScript_291EE2:: @ 8291EE2
msgbox Route117_PokemonDayCare_Text_292593, 4
waitmoncry
specialvar VAR_RESULT, GetDaycareState
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq Route117_PokemonDayCare_EventScript_291F24
goto Route117_PokemonDayCare_EventScript_291DCA
end
Route117_PokemonDayCare_EventScript_291F24:: @ 8291F24
msgbox Route117_PokemonDayCare_Text_29244F, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq Route117_PokemonDayCare_EventScript_291E6D
goto Route117_PokemonDayCare_EventScript_291DCA
end
@@ -271,7 +271,7 @@ Route117_PokemonDayCare_EventScript_291F5C:: @ 8291F5C
setvar VAR_0x8004, 1
call Route117_PokemonDayCare_EventScript_291E1E
msgbox Route117_PokemonDayCare_Text_2925F6, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq Route117_PokemonDayCare_EventScript_291E6D
msgbox Route117_PokemonDayCare_Text_292476, 4
release
@@ -280,7 +280,7 @@ Route117_PokemonDayCare_EventScript_291F5C:: @ 8291F5C
Route117_PokemonDayCare_EventScript_291F95:: @ 8291F95
special ShowDaycareLevelMenu
waitstate
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq Route117_PokemonDayCare_EventScript_291DCA
copyvar VAR_0x8004, VAR_RESULT
specialvar VAR_RESULT, TakePokemonFromDaycare

View File

@@ -13,13 +13,13 @@ Route123_EventScript_2906BB:: @ 82906BB
checkflag FLAG_BADGE01_GET
goto_if 0, Route103_EventScript_290721
checkpartymove MOVE_CUT
compare_var_to_value VAR_RESULT, 6
compare VAR_RESULT, 6
goto_eq Route103_EventScript_290721
setfieldeffectargument 0, VAR_RESULT
bufferpartymonnick 0, VAR_RESULT
buffermovename 1, MOVE_CUT
msgbox Route103_Text_29072E, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq Route103_EventScript_29072B
msgbox Route103_Text_290771, 4
closemessage
@@ -87,13 +87,13 @@ VictoryRoad_B1F_EventScript_2907A6:: @ 82907A6
checkflag FLAG_BADGE03_GET
goto_if 0, Route111_EventScript_29082D
checkpartymove MOVE_ROCK_SMASH
compare_var_to_value VAR_RESULT, 6
compare VAR_RESULT, 6
goto_eq Route111_EventScript_29082D
setfieldeffectargument 0, VAR_RESULT
bufferpartymonnick 0, VAR_RESULT
buffermovename 1, MOVE_ROCK_SMASH
msgbox Route111_Text_29083A, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq Route111_EventScript_290837
msgbox Route111_Text_290771, 4
closemessage
@@ -114,10 +114,10 @@ Route111_EventScript_2907FB:: @ 82907FB
waitmovement 0
removeobject VAR_LAST_TALKED
specialvar VAR_RESULT, sub_81393FC
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq Route111_EventScript_290829
special RockSmashWildEncounter
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq Route111_EventScript_290829
waitstate
releaseall
@@ -165,11 +165,11 @@ VictoryRoad_B1F_EventScript_2908BA:: @ 82908BA
checkflag FLAG_SYS_USE_STRENGTH
goto_eq FieryPath_EventScript_29091F
checkpartymove MOVE_STRENGTH
compare_var_to_value VAR_RESULT, 6
compare VAR_RESULT, 6
goto_eq FieryPath_EventScript_290915
setfieldeffectargument 0, VAR_RESULT
msgbox FieryPath_Text_29092C, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq FieryPath_EventScript_290929
closemessage
dofieldeffect 40
@@ -226,12 +226,12 @@ FieryPath_Text_290A16: @ 8290A16
EventScript_290A49:: @ 8290A49
lockall
checkpartymove MOVE_WATERFALL
compare_var_to_value VAR_RESULT, 6
compare VAR_RESULT, 6
goto_eq EventScript_290A84
bufferpartymonnick 0, VAR_RESULT
setfieldeffectargument 0, VAR_RESULT
msgbox Text_290AC3, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq EventScript_290A8C
msgbox Text_290AFC, 4
dofieldeffect 43
@@ -261,13 +261,13 @@ Text_290AFC: @ 8290AFC
EventScript_290B0F:: @ 8290B0F
lockall
checkpartymove MOVE_DIVE
compare_var_to_value VAR_RESULT, 6
compare VAR_RESULT, 6
goto_eq EventScript_290B4E
bufferpartymonnick 0, VAR_RESULT
setfieldeffectargument 0, VAR_RESULT
setfieldeffectargument 1, 1
msgbox Text_290BE8, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq EventScript_290B58
msgbox Text_290C1A, 4
dofieldeffect 44
@@ -286,13 +286,13 @@ EventScript_290B58:: @ 8290B58
EventScript_290B5A:: @ 8290B5A
lockall
checkpartymove MOVE_DIVE
compare_var_to_value VAR_RESULT, 6
compare VAR_RESULT, 6
goto_eq EventScript_290B99
bufferpartymonnick 0, VAR_RESULT
setfieldeffectargument 0, VAR_RESULT
setfieldeffectargument 1, 1
msgbox Text_290C6E, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq EventScript_290BA8
msgbox Text_290C1A, 4
dofieldeffect 44

View File

@@ -1,7 +1,7 @@
EventScript_28CCAA:: @ 828CCAA
setvar VAR_0x8005, 8
special InterviewBefore
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq EventScript_28CCC6
setvar VAR_0x8005, 8
special InterviewAfter
@@ -214,11 +214,11 @@ Route120_EventScript_28CF36:: @ 828CF36
Route111_EventScript_28CF56:: @ 828CF56
special GabbyAndTyBeforeInterview
special GabbyAndTySetScriptVarsToFieldObjectLocalIds
compare_var_to_value VAR_FACING, 2
compare VAR_FACING, 2
call_if 1, Route111_EventScript_28CF94
compare_var_to_value VAR_FACING, 1
compare VAR_FACING, 1
call_if 1, Route111_EventScript_28CF9F
compare_var_to_value VAR_FACING, 4
compare VAR_FACING, 4
call_if 1, Route111_EventScript_28CFB1
checkflag FLAG_0x001
goto_eq Route111_EventScript_28D0EE
@@ -248,16 +248,16 @@ Route118_EventScript_28CFC3:: @ 828CFC3
Route120_EventScript_28CFC3:: @ 828CFC3
special GabbyAndTyBeforeInterview
special GabbyAndTySetScriptVarsToFieldObjectLocalIds
compare_var_to_value VAR_FACING, 2
compare VAR_FACING, 2
call_if 1, Route111_EventScript_28CF94
compare_var_to_value VAR_FACING, 1
compare VAR_FACING, 1
call_if 1, Route111_EventScript_28CF9F
compare_var_to_value VAR_FACING, 4
compare VAR_FACING, 4
call_if 1, Route111_EventScript_28CFB1
checkflag FLAG_0x001
goto_eq Route111_EventScript_28D0EE
specialvar VAR_RESULT, GabbyAndTyGetLastQuote
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq Route111_EventScript_28D053
msgbox Route111_Text_28B137, 4
specialvar VAR_RESULT, GabbyAndTyGetLastBattleTrivia
@@ -312,14 +312,14 @@ Route111_EventScript_28D099:: @ 828D099
end
Route111_EventScript_28D0A7:: @ 828D0A7
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq Route111_EventScript_28D0E1
msgbox Route111_Text_28B433, 4
setvar VAR_0x8004, 10
call Route111_EventScript_271E7C
lock
faceplayer
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq Route111_EventScript_28D0E1
msgbox Route111_Text_28B4AB, 4
special GabbyAndTyAfterInterview

View File

@@ -7,7 +7,7 @@ AbandonedShip_CaptainsOffice_EventScript_2387E2:: @ 82387E2
checkflag FLAG_0x126
goto_eq AbandonedShip_CaptainsOffice_EventScript_23881A
checkitem ITEM_SCANNER, 1
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq AbandonedShip_CaptainsOffice_EventScript_238810
checkflag FLAG_0x436
goto_eq AbandonedShip_CaptainsOffice_EventScript_23881A

View File

@@ -31,7 +31,7 @@ AbandonedShip_Corridors_B1F_EventScript_237DC8:: @ 8237DC8
checkflag FLAG_0x0EF
goto_eq AbandonedShip_Corridors_B1F_EventScript_237E09
checkitem ITEM_STORAGE_KEY, 1
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq AbandonedShip_Corridors_B1F_EventScript_237DFF
msgbox AbandonedShip_Corridors_B1F_Text_237F4B, 4
playse SE_PIN

View File

@@ -3,6 +3,6 @@ AbandonedShip_Deck_MapScripts:: @ 823799A
.byte 0
AbandonedShip_Deck_MapScript1_2379A0: @ 82379A0
setflag FLAG_0x89E
setflag FLAG_LANDMARK_ABANDONED_SHIP
end

View File

@@ -63,7 +63,7 @@ AbandonedShip_HiddenFloorCorridors_EventScript_238A19:: @ 8238A19
checkflag FLAG_0x0F0
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
checkitem ITEM_ROOM_1_KEY, 1
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238AF5
msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, 4
playse SE_PIN
@@ -79,7 +79,7 @@ AbandonedShip_HiddenFloorCorridors_EventScript_238A50:: @ 8238A50
checkflag FLAG_0x0F1
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
checkitem ITEM_ROOM_2_KEY, 1
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238AFF
msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, 4
playse SE_PIN
@@ -95,7 +95,7 @@ AbandonedShip_HiddenFloorCorridors_EventScript_238A87:: @ 8238A87
checkflag FLAG_0x0F2
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
checkitem ITEM_ROOM_4_KEY, 1
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B09
msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, 4
playse SE_PIN
@@ -111,7 +111,7 @@ AbandonedShip_HiddenFloorCorridors_EventScript_238ABE:: @ 8238ABE
checkflag FLAG_0x0F3
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B1D
checkitem ITEM_ROOM_6_KEY, 1
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq AbandonedShip_HiddenFloorCorridors_EventScript_238B13
msgbox AbandonedShip_HiddenFloorCorridors_Text_238BF7, 4
playse SE_PIN

View File

@@ -10,11 +10,11 @@ AbandonedShip_HiddenFloorRooms_EventScript_238C59:: @ 8238C59
setvar VAR_0x4001, 1
getplayerxy VAR_0x4002, VAR_0x4003
setvar VAR_0x4004, 1
compare_var_to_value VAR_0x4002, 21
compare VAR_0x4002, 21
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238CD1
compare_var_to_value VAR_0x4002, 36
compare VAR_0x4002, 36
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238CD7
compare_var_to_value VAR_0x4003, 2
compare VAR_0x4003, 2
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238CDD
switch VAR_0x4004
case 1, AbandonedShip_HiddenFloorRooms_EventScript_238CE3
@@ -44,7 +44,7 @@ AbandonedShip_HiddenFloorRooms_EventScript_238CE3:: @ 8238CE3
setfieldeffectargument 2, 0
dofieldeffect 54
specialvar VAR_RESULT, sub_81392F8
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238DD3
waitfieldeffect 54
delay 10
@@ -55,10 +55,10 @@ AbandonedShip_HiddenFloorRooms_EventScript_238D0C:: @ 8238D0C
AbandonedShip_HiddenFloorRooms_EventScript_238D0D:: @ 8238D0D
specialvar VAR_RESULT, sub_81392AC
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq AbandonedShip_HiddenFloorRooms_EventScript_238D32
delay 20
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238DB3
waitfieldeffect 54
delay 10
@@ -78,7 +78,7 @@ AbandonedShip_HiddenFloorRooms_EventScript_238D33:: @ 8238D33
setfieldeffectargument 2, 0
dofieldeffect 54
specialvar VAR_RESULT, sub_8139320
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238DE3
waitfieldeffect 54
delay 10
@@ -99,7 +99,7 @@ AbandonedShip_HiddenFloorRooms_EventScript_238D6B:: @ 8238D6B
setfieldeffectargument 2, 0
dofieldeffect 54
specialvar VAR_RESULT, sub_81392D4
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, AbandonedShip_HiddenFloorRooms_EventScript_238DC3
waitfieldeffect 54
delay 10

View File

@@ -3,8 +3,8 @@ AbandonedShip_Rooms2_1F_MapScripts:: @ 82380A6
AbandonedShip_Rooms2_1F_EventScript_2380A7:: @ 82380A7
trainerbattle 6, TRAINER_KIRA_AND_DAN_1, 0, AbandonedShip_Rooms2_1F_Text_23819D, AbandonedShip_Rooms2_1F_Text_2381DA, AbandonedShip_Rooms2_1F_Text_238257, AbandonedShip_Rooms2_1F_EventScript_2380D7
specialvar VAR_RESULT, sub_80B226C
compare_var_to_value VAR_RESULT, 1
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq AbandonedShip_Rooms2_1F_EventScript_2380F0
msgbox AbandonedShip_Rooms2_1F_Text_23820F, 4
release
@@ -26,8 +26,8 @@ AbandonedShip_Rooms2_1F_EventScript_2380F0:: @ 82380F0
AbandonedShip_Rooms2_1F_EventScript_23810B:: @ 823810B
trainerbattle 6, TRAINER_KIRA_AND_DAN_1, 0, AbandonedShip_Rooms2_1F_Text_2382A4, AbandonedShip_Rooms2_1F_Text_2382F4, AbandonedShip_Rooms2_1F_Text_23836F, AbandonedShip_Rooms2_1F_EventScript_23813B
specialvar VAR_RESULT, sub_80B226C
compare_var_to_value VAR_RESULT, 1
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq AbandonedShip_Rooms2_1F_EventScript_238154
msgbox AbandonedShip_Rooms2_1F_Text_23830A, 4
release

View File

@@ -12,8 +12,8 @@ AbandonedShip_Rooms_1F_EventScript_237A9C:: @ 8237A9C
AbandonedShip_Rooms_1F_EventScript_237AB3:: @ 8237AB3
trainerbattle 2, TRAINER_THALIA_1, 0, AbandonedShip_Rooms_1F_Text_237B76, AbandonedShip_Rooms_1F_Text_237BB8, AbandonedShip_Rooms_1F_EventScript_237ADF
specialvar VAR_RESULT, sub_80B226C
compare_var_to_value VAR_RESULT, 1
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq AbandonedShip_Rooms_1F_EventScript_237AFE
msgbox AbandonedShip_Rooms_1F_Text_237BDB, 4
release

View File

@@ -3,6 +3,6 @@ AlteringCave_MapScripts:: @ 823B177
.byte 0
AlteringCave_MapScript1_23B17D: @ 823B17D
setflag FLAG_0x8DD
setflag FLAG_LANDMARK_ALTERING_CAVE
end

View File

@@ -11,13 +11,13 @@ AncientTomb_MapScript1_238FC3: @ 8238FC3
AncientTomb_EventScript_238FCD:: @ 8238FCD
specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 7
compare VAR_RESULT, 7
goto_if 5, AncientTomb_EventScript_27374E
removeobject VAR_LAST_TALKED
return
AncientTomb_MapScript1_238FE1: @ 8238FE1
setflag FLAG_0x8B9
setflag FLAG_LANDMARK_ANCIENT_TOMB
checkflag FLAG_0x1BD
call_if 0, AncientTomb_EventScript_238FEE
end
@@ -72,15 +72,15 @@ AncientTomb_EventScript_23905A:: @ 823905A
waitmoncry
setwildbattle SPECIES_REGISTEEL, 40, ITEM_NONE
setflag FLAG_SYS_CTRL_OBJ_DELETE
special sub_80B0A74
special StartRegiBattle
waitstate
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq AncientTomb_EventScript_2390A1
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
goto_eq AncientTomb_EventScript_2390AA
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq AncientTomb_EventScript_2390AA
setflag FLAG_0x1BD
release

View File

@@ -10,7 +10,7 @@ AquaHideout_B1F_MapScript1_2339B2: @ 82339B2
AquaHideout_B1F_EventScript_2339BC:: @ 82339BC
specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 7
compare VAR_RESULT, 7
goto_if 5, AquaHideout_B1F_EventScript_27374E
removeobject VAR_LAST_TALKED
return
@@ -42,11 +42,11 @@ AquaHideout_B1F_EventScript_2339EB:: @ 82339EB
dowildbattle
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq AquaHideout_B1F_EventScript_233A2F
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
goto_eq AquaHideout_B1F_EventScript_233A2F
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq AquaHideout_B1F_EventScript_233A2F
setflag FLAG_0x1C4
release
@@ -69,11 +69,11 @@ AquaHideout_B1F_EventScript_233A38:: @ 8233A38
dowildbattle
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq AquaHideout_B1F_EventScript_233A7C
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
goto_eq AquaHideout_B1F_EventScript_233A7C
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq AquaHideout_B1F_EventScript_233A7C
setflag FLAG_0x1C5
release

View File

@@ -17,9 +17,9 @@ BattleFrontier_BattleArenaBattleRoom_MapScript1_2574A0: @ 82574A0
BattleFrontier_BattleArenaBattleRoom_EventScript_2574AE:: @ 82574AE
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_2574C6
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_2574CC
return
@@ -43,7 +43,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_2574DC:: @ 82574DC
setvar VAR_0x8004, 1
setvar VAR_0x8005, 2
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_25752E
applymovement 5, BattleFrontier_BattleArenaBattleRoom_Movement_257C08
applymovement 8, BattleFrontier_BattleArenaBattleRoom_Movement_257BEB
@@ -141,33 +141,33 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257630:: @ 8257630
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3
special sub_81A1780
playfanfare BGM_ME_ASA
playfanfare MUS_ME_ASA
waitfanfare
special sp000_heal_pokemon
special HealPlayerParty
BattleFrontier_BattleArenaBattleRoom_EventScript_2576B0:: @ 82576B0
setvar VAR_0x8004, 9
special sub_81A1780
copyvar VAR_0x400F, VAR_RESULT
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleArenaBattleRoom_EventScript_2578BC
setvar VAR_0x8004, 1
setvar VAR_0x8005, 2
special sub_81A1780
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_257870
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_257877
compare_var_to_value VAR_RESULT, 3
compare VAR_RESULT, 3
call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_25787E
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_257885
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_25788C
compare_var_to_value VAR_RESULT, 6
compare VAR_RESULT, 6
call_if 1, BattleFrontier_BattleArenaBattleRoom_EventScript_257893
call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257768
multichoice 19, 4, 103, 1
switch VAR_RESULT
@@ -275,7 +275,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_25789A:: @ 825789A
end
BattleFrontier_BattleArenaBattleRoom_EventScript_2578BC:: @ 82578BC
compare_var_to_value VAR_0x4002, 1
compare VAR_0x4002, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_2578D4
msgbox BattleFrontier_BattleArenaBattleRoom_Text_257F45, 4
setvar VAR_0x4002, 1
@@ -284,7 +284,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_2578D4:: @ 82578D4
message BattleFrontier_BattleArenaBattleRoom_Text_257FBB
waitmessage
call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_25792B
multichoice 19, 4, 103, 1
switch VAR_RESULT
@@ -333,7 +333,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257961:: @ 8257961
setvar VAR_0x8004, 1
setvar VAR_0x8005, 7
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleArenaBattleRoom_EventScript_257A3F
msgbox BattleFrontier_BattleArenaBattleRoom_Text_25801C, 4
closemessage
@@ -351,7 +351,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257961:: @ 8257961
BattleFrontier_BattleArenaBattleRoom_EventScript_257A3F:: @ 8257A3F
msgbox BattleFrontier_BattleArenaBattleRoom_Text_25810D, 4
call BattleFrontier_BattleArenaBattleRoom_EventScript_257B5E
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257A5C
goto BattleFrontier_BattleArenaBattleRoom_EventScript_2575DB
@@ -359,12 +359,12 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257A5C:: @ 8257A5C
call BattleFrontier_BattleArenaBattleRoom_EventScript_257BA9
setvar VAR_0x8004, 12
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleArenaBattleRoom_EventScript_257852
applymovement 7, BattleFrontier_BattleArenaBattleRoom_Movement_257BF1
waitmovement 0
msgbox BattleFrontier_BattleArenaBattleRoom_Text_25813F, 4
playfanfare BGM_ME_BATTLE_SYMBOL
playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattleArenaBattleRoom_Text_25819C
waitmessage
waitfanfare
@@ -377,7 +377,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257AA5:: @ 8257AA5
setvar VAR_0x8004, 1
setvar VAR_0x8005, 7
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleArenaBattleRoom_EventScript_257AF8
msgbox BattleFrontier_BattleArenaBattleRoom_Text_258213, 4
closemessage
@@ -395,7 +395,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257AA5:: @ 8257AA5
BattleFrontier_BattleArenaBattleRoom_EventScript_257AF8:: @ 8257AF8
msgbox BattleFrontier_BattleArenaBattleRoom_Text_2582F9, 4
call BattleFrontier_BattleArenaBattleRoom_EventScript_257B5E
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257B15
goto BattleFrontier_BattleArenaBattleRoom_EventScript_2575DB
@@ -403,12 +403,12 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257B15:: @ 8257B15
call BattleFrontier_BattleArenaBattleRoom_EventScript_257BA9
setvar VAR_0x8004, 12
special sub_81A1780
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257852
applymovement 7, BattleFrontier_BattleArenaBattleRoom_Movement_257BF1
waitmovement 0
msgbox BattleFrontier_BattleArenaBattleRoom_Text_258323, 4
playfanfare BGM_ME_BATTLE_SYMBOL
playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattleArenaBattleRoom_Text_25835B
waitmessage
waitfanfare
@@ -430,14 +430,14 @@ FallarborTown_BattleTentBattleRoom_EventScript_257B6C:: @ 8257B6C
setvar VAR_0x8005, 6
setvar VAR_0x8006, 0
special sub_81A1780
special sp000_heal_pokemon
special HealPlayerParty
setvar VAR_0x8004, 5
setvar VAR_0x8005, 0
special sub_8163AC4
waitstate
setvar VAR_0x8004, 18
special sub_81A1780
special sp000_heal_pokemon
special HealPlayerParty
setvar VAR_0x8004, 21
special sub_81A1780
return

View File

@@ -49,7 +49,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255CCF:: @ 8255CCF
lockall
setvar VAR_0x8004, 10
special sub_81A1780
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaLobby_EventScript_255CF0
msgbox BattleFrontier_BattleArenaLobby_Text_2568E7, 4
goto BattleFrontier_BattleArenaLobby_EventScript_255CF8
@@ -90,14 +90,14 @@ BattleFrontier_BattleArenaLobby_EventScript_255D59:: @ 8255D59
setvar VAR_0x8004, 8
special sub_81A1780
special copy_player_party_from_sav1
special sp000_heal_pokemon
special HealPlayerParty
setvar VAR_0x8004, 3
setvar VAR_0x8005, 0
special sub_81A5238
playse SE_SAVE
waitse
call BattleFrontier_BattleArenaLobby_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleArenaLobby_EventScript_255DBF
message BattleFrontier_BattleArenaLobby_Text_256B19
waitmessage
@@ -156,7 +156,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255E47:: @ 8255E47
case 127, BattleFrontier_BattleArenaLobby_EventScript_255FFB
setvar VAR_0x8004, 15
special sub_81A1780
compare_var_to_value VAR_0x8004, 1
compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleArenaLobby_EventScript_255FAC
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
@@ -169,7 +169,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255E47:: @ 8255E47
setvar VAR_0x8005, 3
special sub_80F9490
waitstate
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleArenaLobby_EventScript_255FF8
msgbox BattleFrontier_BattleArenaLobby_Text_2564CE, 5
switch VAR_RESULT
@@ -201,7 +201,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255EE8:: @ 8255EE8
delay 2
call BattleFrontier_BattleArenaLobby_EventScript_27134F
setvar VAR_0x4000, 255
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleArenaLobby_EventScript_255FE1
BattleFrontier_BattleArenaLobby_EventScript_255F54:: @ 8255F54
@@ -214,9 +214,9 @@ BattleFrontier_BattleArenaLobby_EventScript_255F54:: @ 8255F54
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattleArenaLobby_EventScript_256005
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattleArenaLobby_EventScript_256050
warp BATTLE_FRONTIER_BATTLE_ARENA_CORRIDOR, 255, 9, 13
setvar VAR_0x4000, 0

View File

@@ -12,7 +12,7 @@ BattleFrontier_BattleDomeBattleRoom_MapScript1_24BCB1: @ 824BCB1
setvar VAR_0x8005, 2
special sub_81A1780
copyvar VAR_0x400F, VAR_RESULT
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C919
call BattleFrontier_BattleDomeBattleRoom_EventScript_24BCDC
end
@@ -20,9 +20,9 @@ BattleFrontier_BattleDomeBattleRoom_MapScript1_24BCB1: @ 824BCB1
BattleFrontier_BattleArenaBattleRoom_EventScript_24BCDC:: @ 824BCDC
BattleFrontier_BattleDomeBattleRoom_EventScript_24BCDC:: @ 824BCDC
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BCF4
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BCFA
return
@@ -41,7 +41,7 @@ BattleFrontier_BattleDomeBattleRoom_MapScript2_24BD00: @ 824BD00
BattleFrontier_BattleDomeBattleRoom_EventScript_24BD0A:: @ 824BD0A
lockall
call BattleFrontier_BattleDomeBattleRoom_EventScript_24C1BD
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C938
applymovement 1, BattleFrontier_BattleDomeBattleRoom_Movement_2725B4
waitmovement 0
@@ -49,9 +49,9 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BD0A:: @ 824BD0A
msgbox BattleFrontier_BattleDomeBattleRoom_Text_24C970, 4
closemessage
showobjectat 13, BATTLE_FRONTIER_BATTLE_DOME_BATTLE_ROOM
compare_var_to_value VAR_0x400F, 3
compare VAR_0x400F, 3
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BD4E
compare_var_to_value VAR_0x400E, 0
compare VAR_0x400E, 0
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BD5A
BattleFrontier_BattleDomeBattleRoom_EventScript_24BD4E:: @ 824BD4E
@@ -65,9 +65,9 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BD61:: @ 824BD61
playse SE_W227B
call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E
waitmovement 0
compare_var_to_value VAR_0x400F, 3
compare VAR_0x400F, 3
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BD82
compare_var_to_value VAR_0x400E, 0
compare VAR_0x400E, 0
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C1CB
BattleFrontier_BattleDomeBattleRoom_EventScript_24BD82:: @ 824BD82
@@ -106,7 +106,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BDF7:: @ 824BDF7
delay 180
applymovement 9, BattleFrontier_BattleDomeBattleRoom_Movement_24C96B
waitmovement 0
compare_var_to_value VAR_0x4002, 2
compare VAR_0x4002, 2
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BE4F
setvar VAR_0x8004, 19
special sub_818E9AC
@@ -118,11 +118,11 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BE4F:: @ 824BE4F
waitmovement 0
setvar VAR_0x8004, 4
special sub_818E9AC
compare_var_to_value VAR_0x4002, 0
compare VAR_0x4002, 0
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BEB1
compare_var_to_value VAR_0x4002, 1
compare VAR_0x4002, 1
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BEC5
compare_var_to_value VAR_0x4002, 2
compare VAR_0x4002, 2
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BED9
playse SE_W227B
call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E
@@ -165,9 +165,9 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BED9:: @ 824BED9
BattleFrontier_BattleDomeBattleRoom_EventScript_24BEE0:: @ 824BEE0
applymovement 1, BattleFrontier_BattleDomeBattleRoom_Movement_2725B4
waitmovement 0
compare_var_to_value VAR_0x4002, 0
compare VAR_0x4002, 0
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BFC3
compare_var_to_value VAR_0x4002, 1
compare VAR_0x4002, 1
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BFCC
playse SE_W227B
call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E
@@ -228,17 +228,17 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BFD5:: @ 824BFD5
setvar VAR_0x8004, 1
setvar VAR_0x8005, 6
special sub_818E9AC
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C023
setvar VAR_0x8004, 1
setvar VAR_0x8005, 7
special sub_818E9AC
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C076
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
special sub_818E9AC
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C16A
goto BattleFrontier_BattleDomeBattleRoom_EventScript_24C0C9
return
@@ -302,7 +302,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C0C2:: @ 824C0C2
return
BattleFrontier_BattleDomeBattleRoom_EventScript_24C0C9:: @ 824C0C9
compare_var_to_value VAR_0x400F, 3
compare VAR_0x400F, 3
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C105
switch VAR_0x400E
case 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C158
@@ -429,7 +429,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C211:: @ 824C211
setvar VAR_0x8004, 1
setvar VAR_0x8005, 7
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C2B9
msgbox BattleFrontier_BattleDomeBattleRoom_Text_24CFAE, 4
setvar VAR_0x8004, 2
@@ -449,13 +449,13 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C2B9:: @ 824C2B9
special sub_818E9AC
setvar VAR_0x8004, 12
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62
closemessage
applymovement 15, BattleFrontier_BattleDomeBattleRoom_Movement_24C82B
waitmovement 0
msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D172, 4
playfanfare BGM_ME_BATTLE_SYMBOL
playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattleDomeBattleRoom_Text_24D1AA
waitmessage
waitfanfare
@@ -468,7 +468,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C346:: @ 824C346
setvar VAR_0x8004, 1
setvar VAR_0x8005, 7
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C373
msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D319, 4
setvar VAR_0x8004, 2
@@ -488,13 +488,13 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C373:: @ 824C373
special sub_818E9AC
setvar VAR_0x8004, 12
special sub_81A1780
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62
closemessage
applymovement 15, BattleFrontier_BattleDomeBattleRoom_Movement_24C82B
waitmovement 0
msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D47F, 4
playfanfare BGM_ME_BATTLE_SYMBOL
playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattleDomeBattleRoom_Text_24D522
waitmessage
waitfanfare
@@ -528,7 +528,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C440:: @ 824C440
setvar VAR_0x8005, 6
setvar VAR_0x8006, 0
special sub_81A1780
special sp000_heal_pokemon
special HealPlayerParty
setvar VAR_0x8004, 3
setvar VAR_0x8005, 0
setvar VAR_0x4009, 1
@@ -537,7 +537,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C440:: @ 824C440
setvar VAR_0x4009, 0
setvar VAR_0x8004, 17
special sub_818E9AC
special sp000_heal_pokemon
special HealPlayerParty
setvar VAR_0x8004, 16
special sub_818E9AC
return
@@ -555,12 +555,12 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C48B:: @ 824C48B
setvar VAR_0x8004, 1
setvar VAR_0x8005, 2
special sub_81A1780
compare_var_to_value VAR_RESULT, 3
compare VAR_RESULT, 3
goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C4EF
setvar VAR_0x8004, 9
special sub_81A1780
copyvar VAR_0x400E, VAR_RESULT
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C4EF
call BattleFrontier_BattleDomeBattleRoom_EventScript_242170
setobjectxyperm 15, 13, 9
@@ -572,7 +572,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C4EF:: @ 824C4EF
end
BattleFrontier_BattleDomeBattleRoom_MapScript1_24C4F0: @ 824C4F0
compare_var_to_value VAR_0x4009, 1
compare VAR_0x4009, 1
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C4FC
end
@@ -581,13 +581,13 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C4FC:: @ 824C4FC
return
BattleFrontier_BattleDomeBattleRoom_EventScript_24C502:: @ 824C502
compare_var_to_value VAR_0x400F, 0
compare VAR_0x400F, 0
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C52F
compare_var_to_value VAR_0x400F, 1
compare VAR_0x400F, 1
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C530
compare_var_to_value VAR_0x400F, 2
compare VAR_0x400F, 2
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C594
compare_var_to_value VAR_0x400F, 3
compare VAR_0x400F, 3
call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C652
return
@@ -951,7 +951,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E:: @ 824C82E
BattleFrontier_BattleDomeBattleRoom_EventScript_24C8F5:: @ 824C8F5
BattleFrontier_BattleDomePreBattleRoom_EventScript_24C8F5:: @ 824C8F5
copyvar VAR_RESULT, VAR_0x40CE
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24C90F
warp BATTLE_FRONTIER_BATTLE_DOME_LOBBY, 255, 5, 11
waitstate
@@ -965,14 +965,14 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24C90F:: @ 824C90F
BattleFrontier_BattleDomeBattleRoom_EventScript_24C919:: @ 824C919
random 2
copyvar VAR_0x400D, VAR_RESULT
compare_var_to_value VAR_0x400D, 0
compare VAR_0x400D, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_27374E
setobjectxyperm 6, 2, 0
setobjectmovementtype 6, 10
return
BattleFrontier_BattleDomeBattleRoom_EventScript_24C938:: @ 824C938
compare_var_to_value VAR_0x400D, 0
compare VAR_0x400D, 0
goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_27374E
applymovement 6, BattleFrontier_BattleDomeBattleRoom_Movement_24C95E
return

View File

@@ -12,7 +12,7 @@ BattleFrontier_BattleDomeCorridor_EventScript_24B10E:: @ 824B10E
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
special sub_81A1780
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomeCorridor_EventScript_24B161
applymovement 1, BattleFrontier_BattleDomeCorridor_Movement_24B1B2
applymovement 255, BattleFrontier_BattleDomeCorridor_Movement_24B1A1

View File

@@ -61,7 +61,7 @@ BattleFrontier_BattleDomeLobby_EventScript_24989B:: @ 824989B
lockall
setvar VAR_0x8004, 10
special sub_81A1780
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomeLobby_EventScript_2498C1
msgbox BattleFrontier_BattleDomeLobby_Text_24A4E9, 4
goto BattleFrontier_BattleDomeLobby_EventScript_2498C9
@@ -95,7 +95,7 @@ BattleFrontier_BattleDomeLobby_EventScript_2498C9:: @ 82498C9
setvar VAR_0x8006, 1
special sub_818E9AC
special copy_player_party_from_sav1
special sp000_heal_pokemon
special HealPlayerParty
goto BattleFrontier_BattleDomeLobby_EventScript_249991
BattleFrontier_BattleDomeLobby_EventScript_249940:: @ 8249940
@@ -118,7 +118,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249940:: @ 8249940
setvar VAR_0x8006, 1
special sub_818E9AC
special copy_player_party_from_sav1
special sp000_heal_pokemon
special HealPlayerParty
BattleFrontier_BattleDomeLobby_EventScript_249991:: @ 8249991
setvar VAR_0x8004, 13
@@ -127,7 +127,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249991:: @ 8249991
playse SE_SAVE
waitse
call BattleFrontier_BattleDomeLobby_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomeLobby_EventScript_2499E9
message BattleFrontier_BattleDomeLobby_Text_24AE17
waitmessage
@@ -182,15 +182,15 @@ BattleFrontier_BattleDomeLobby_EventScript_249A47:: @ 8249A47
BattleFrontier_BattleDomeLobby_EventScript_249A59:: @ 8249A59
special copy_player_party_to_sav1
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249CFD
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D06
BattleFrontier_BattleDomeLobby_EventScript_249A72:: @ 8249A72
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D0F
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D15
waitmessage
multichoice 17, 6, 23, 0
@@ -209,7 +209,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249ABF:: @ 8249ABF
case 127, BattleFrontier_BattleDomeLobby_EventScript_249C64
setvar VAR_0x8004, 15
special sub_81A1780
compare_var_to_value VAR_0x8004, 1
compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleDomeLobby_EventScript_249C15
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
@@ -222,7 +222,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249ABF:: @ 8249ABF
setvar VAR_0x8005, 3
special sub_80F9490
waitstate
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeLobby_EventScript_249C61
msgbox BattleFrontier_BattleDomeLobby_Text_24A1C6, 5
switch VAR_RESULT
@@ -250,7 +250,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249B60:: @ 8249B60
delay 2
call BattleFrontier_BattleDomeLobby_EventScript_27134F
setvar VAR_0x4000, 255
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomeLobby_EventScript_249C4A
setvar VAR_0x8004, 22
special sub_818E9AC
@@ -265,16 +265,16 @@ BattleFrontier_BattleDomeLobby_EventScript_249BC2:: @ 8249BC2
msgbox BattleFrontier_BattleDomeLobby_Text_24A437, 4
closemessage
call BattleFrontier_BattleDomeLobby_EventScript_249C6E
special sp000_heal_pokemon
special HealPlayerParty
warp BATTLE_FRONTIER_BATTLE_DOME_CORRIDOR, 255, 23, 6
setvar VAR_0x4000, 0
waitstate
end
BattleFrontier_BattleDomeLobby_EventScript_249BFA:: @ 8249BFA
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D1B
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D24
goto BattleFrontier_BattleDomeLobby_EventScript_249A72
@@ -309,26 +309,26 @@ BattleFrontier_BattleDomeLobby_EventScript_249C6C:: @ 8249C6C
end
BattleFrontier_BattleDomeLobby_EventScript_249C6E:: @ 8249C6E
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249CDD
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249CE5
applymovement 255, BattleFrontier_BattleDomeLobby_Movement_249D45
waitmovement 0
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D2D
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D33
waitdooranim
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249CED
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249CF5
applymovement 255, BattleFrontier_BattleDomeLobby_Movement_249D4E
waitmovement 0
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D39
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249D3F
waitdooranim
return
@@ -434,13 +434,13 @@ BattleFrontier_BattleDomeLobby_EventScript_249D84:: @ 8249D84
setvar VAR_0x8004, 1
setvar VAR_0x8005, 9
special sub_818E9AC
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249DC9
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249DD2
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249DDB
compare_var_to_value VAR_RESULT, 3
compare VAR_RESULT, 3
call_if 1, BattleFrontier_BattleDomeLobby_EventScript_249DE4
fadescreen 1
setvar VAR_0x8004, 8

View File

@@ -17,7 +17,7 @@ BattleFrontier_BattleDomePreBattleRoom_MapScript2_24B218: @ 824B218
.2byte 0
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B222:: @ 824B222
compare_var_to_value VAR_0x8006, 1
compare VAR_0x8006, 1
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5C7
setvar VAR_0x8004, 2
setvar VAR_0x8005, 6
@@ -33,7 +33,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F:: @ 824B24F
waitmessage
switch VAR_RESULT
call BattleFrontier_BattleDomePreBattleRoom_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B2C1
multichoice 16, 0, 73, 1
switch VAR_RESULT
@@ -158,7 +158,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B46D:: @ 824B46D
waitstate
setvar VAR_0x8004, 21
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
setvar VAR_0x8004, 2
setvar VAR_0x8005, 8
@@ -247,9 +247,9 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5C7:: @ 824B5C7
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3
special sub_81A1780
playfanfare BGM_ME_ASA
playfanfare MUS_ME_ASA
waitfanfare
special sp000_heal_pokemon
special HealPlayerParty
call BattleFrontier_BattleDomePreBattleRoom_EventScript_24B600
fadescreen 1
setvar VAR_0x8004, 11

View File

@@ -8,14 +8,14 @@ BattleFrontier_BattleFactoryBattleRoom_MapScript1_25ADBB: @ 825ADBB
setvar VAR_0x8004, 5
special sub_81A1780
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE25
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE2B
setvar VAR_0x8004, 9
special sub_81A1780
copyvar VAR_0x400F, VAR_RESULT
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25ADF3
end
@@ -31,7 +31,7 @@ BattleFrontier_BattleFactoryBattleRoom_MapScript2_25AE00: @ 825AE00
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE0A:: @ 825AE0A
setvar VAR_0x4001, 1
hideobjectat 255, BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM
compare_var_to_value VAR_0x400F, 0
compare VAR_0x400F, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE24
hideobjectat 2, BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM
@@ -62,7 +62,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE3B:: @ 825AE3B
end
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE67:: @ 825AE67
compare_var_to_value VAR_0x400F, 0
compare VAR_0x400F, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE3B
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B
applymovement 255, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B
@@ -77,7 +77,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE67:: @ 825AE67
waitmovement 0
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEA7:: @ 825AEA7
compare_var_to_value VAR_0x400F, 0
compare VAR_0x400F, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF9C
setvar VAR_0x8004, 5
special sub_8195960
@@ -89,7 +89,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEA7:: @ 825AEA7
setvar VAR_0x8005, 6
setvar VAR_0x8006, 0
special sub_81A1780
special sp000_heal_pokemon
special HealPlayerParty
setvar VAR_0x8004, 6
setvar VAR_0x8005, 0
special sub_8163AC4
@@ -110,7 +110,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF0F:: @ 825AF0F
setvar VAR_0x8004, 1
setvar VAR_0x8005, 3
special sub_81A5E74
compare_var_to_value VAR_RESULT, 9999
compare VAR_RESULT, 9999
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF3E
addvar VAR_RESULT, 1
setorcopyvar VAR_0x8006, VAR_RESULT
@@ -151,7 +151,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF9C:: @ 825AF9C
setvar VAR_0x8004, 1
setvar VAR_0x8005, 7
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AFEF
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B1FB, 4
setvar VAR_0x8004, 2
@@ -161,20 +161,20 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF9C:: @ 825AF9C
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AFEF:: @ 825AFEF
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B3F1, 4
call BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B00C
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEF8
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B00C:: @ 825B00C
setvar VAR_0x8004, 12
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B42D, 4
closemessage
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B182
waitmovement 0
playfanfare BGM_ME_BATTLE_SYMBOL
playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattleFactoryBattleRoom_Text_25B460
waitmessage
waitfanfare
@@ -187,7 +187,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B051:: @ 825B051
setvar VAR_0x8004, 1
setvar VAR_0x8005, 7
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25B07E
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B517, 4
setvar VAR_0x8004, 2
@@ -197,20 +197,20 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B051:: @ 825B051
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B07E:: @ 825B07E
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B5CF, 4
call BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B09B
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEF8
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B09B:: @ 825B09B
setvar VAR_0x8004, 12
special sub_81A1780
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B5E7, 4
waitmessage
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B182
waitmovement 0
playfanfare BGM_ME_BATTLE_SYMBOL
playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattleFactoryBattleRoom_Text_25B640
waitmessage
waitfanfare
@@ -225,7 +225,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0:: @ 825B0E0
setvar VAR_0x8005, 6
setvar VAR_0x8006, 0
special sub_81A1780
special sp000_heal_pokemon
special HealPlayerParty
setvar VAR_0x8004, 6
setvar VAR_0x8005, 0
special sub_8163AC4
@@ -236,7 +236,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105:: @ 825B105
setvar VAR_0x8004, 1
setvar VAR_0x8005, 3
special sub_81A5E74
compare_var_to_value VAR_RESULT, 9999
compare VAR_RESULT, 9999
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF3E
addvar VAR_RESULT, 1
setorcopyvar VAR_0x8006, VAR_RESULT
@@ -246,7 +246,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105:: @ 825B105
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
special sub_81A5E74
compare_var_to_value VAR_RESULT, 9999
compare VAR_RESULT, 9999
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF43
addvar VAR_RESULT, 1
setvar VAR_0x8004, 2
@@ -292,7 +292,7 @@ BattleFrontier_BattleFactoryBattleRoom_Movement_25B18B: @ 825B18B
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B190:: @ 825B190
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25B190:: @ 825B190
copyvar VAR_RESULT, VAR_0x40CE
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25B1AA
warp BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY, 255, 4, 8
waitstate

View File

@@ -55,7 +55,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_25849B:: @ 825849B
lockall
setvar VAR_0x8004, 10
special sub_81A1780
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryLobby_EventScript_2584BD
msgbox BattleFrontier_BattleFactoryLobby_Text_258D93, 4
waitmessage
@@ -102,7 +102,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_258506:: @ 8258506
BattleFrontier_BattleFactoryLobby_EventScript_25853B:: @ 825853B
call BattleFrontier_BattleFactoryLobby_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryLobby_EventScript_258582
message BattleFrontier_BattleFactoryLobby_Text_259388
waitmessage
@@ -155,15 +155,15 @@ BattleFrontier_BattleFactoryLobby_EventScript_2585DD:: @ 82585DD
BattleFrontier_BattleFactoryLobby_EventScript_2585ED:: @ 82585ED
special copy_player_party_to_sav1
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587B1
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587BA
BattleFrontier_BattleFactoryLobby_EventScript_258606:: @ 8258606
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587C3
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587C9
waitmessage
multichoice 17, 6, 23, 0
@@ -210,7 +210,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_2586B9:: @ 82586B9
delay 2
call BattleFrontier_BattleFactoryLobby_EventScript_27134F
setvar VAR_0x4000, 255
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleFactoryLobby_EventScript_258783
setvar VAR_0x8006, 0
@@ -218,9 +218,9 @@ BattleFrontier_BattleFactoryLobby_EventScript_25871A:: @ 825871A
special copy_player_party_to_sav1
msgbox BattleFrontier_BattleFactoryLobby_Text_258CB1, 4
closemessage
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_25875C
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_258762
applymovement VAR_LAST_TALKED, BattleFrontier_BattleFactoryLobby_Movement_2587A7
applymovement 255, BattleFrontier_BattleFactoryLobby_Movement_2587AC
@@ -239,9 +239,9 @@ BattleFrontier_BattleFactoryLobby_EventScript_258762:: @ 8258762
return
BattleFrontier_BattleFactoryLobby_EventScript_258768:: @ 8258768
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587CF
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleFactoryLobby_EventScript_2587D8
goto BattleFrontier_BattleFactoryLobby_EventScript_258606

View File

@@ -9,7 +9,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_MapScript2_259AC5: @ 8259AC5
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259ACF:: @ 8259ACF
setvar VAR_0x4001, 1
compare_var_to_value VAR_0x8006, 1
compare VAR_0x8006, 1
goto_if 5, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259AEA
setobjectxy 1, 8, 7
turnobject 1, 1
@@ -23,13 +23,13 @@ BattleFrontier_BattleFactoryPreBattleRoom_MapScript2_259AEF: @ 8259AEF
.2byte 0
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259AF9:: @ 8259AF9
compare_var_to_value VAR_0x8006, 1
compare VAR_0x8006, 1
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259BA5
setvar VAR_0x4000, 1
applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1AC
applymovement 255, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A19A
waitmovement 0
compare_var_to_value VAR_0x8006, 2
compare VAR_0x8006, 2
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E69
setvar VAR_0x8004, 13
special sub_81A5E74
@@ -55,9 +55,9 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74:: @ 8259B74
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB96, 4
closemessage
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23F2B7
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A17C
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A18B
waitmovement 0
warp BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM, 255, 6, 11
@@ -70,12 +70,12 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259BA5:: @ 8259BA5
setvar VAR_0x8004, 16
special sub_81A5E74
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A22D, 4
playfanfare BGM_ME_ASA
playfanfare MUS_ME_ASA
waitfanfare
special sp000_heal_pokemon
special HealPlayerParty
setvar VAR_0x8004, 9
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C26
playse 263
waitse
@@ -96,27 +96,27 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259BA5:: @ 8259BA5
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13:: @ 8259C13
setvar VAR_0x8004, 9
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C26:: @ 8259C26
setvar VAR_0x8004, 1
setvar VAR_0x8005, 2
special sub_81A1780
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E1D
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E24
compare_var_to_value VAR_RESULT, 3
compare VAR_RESULT, 3
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E2B
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E32
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E39
compare_var_to_value VAR_RESULT, 6
compare VAR_RESULT, 6
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E40
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259CC6
multichoice 19, 4, 103, 1
switch VAR_RESULT
@@ -185,7 +185,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259DF2:: @ 8259DF2
setvar VAR_0x8004, 7
special sub_81A5E74
waitstate
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
setvar VAR_0x8004, 8
special sub_81A5E74
@@ -249,41 +249,41 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E69:: @ 8259E69
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E93:: @ 8259E93
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A3B4, 4
compare_var_to_value VAR_0x8005, 0
compare VAR_0x8005, 0
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F62
compare_var_to_value VAR_0x8005, 1
compare VAR_0x8005, 1
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F6B
compare_var_to_value VAR_0x8005, 2
compare VAR_0x8005, 2
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F74
compare_var_to_value VAR_0x8005, 3
compare VAR_0x8005, 3
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F7D
compare_var_to_value VAR_0x8005, 4
compare VAR_0x8005, 4
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F86
compare_var_to_value VAR_0x8005, 5
compare VAR_0x8005, 5
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F8F
compare_var_to_value VAR_0x8005, 6
compare VAR_0x8005, 6
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F98
compare_var_to_value VAR_0x8005, 7
compare VAR_0x8005, 7
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FA1
compare_var_to_value VAR_0x8005, 8
compare VAR_0x8005, 8
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FAA
compare_var_to_value VAR_0x8005, 10
compare VAR_0x8005, 10
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FB3
compare_var_to_value VAR_0x8005, 11
compare VAR_0x8005, 11
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FBC
compare_var_to_value VAR_0x8005, 12
compare VAR_0x8005, 12
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FC5
compare_var_to_value VAR_0x8005, 13
compare VAR_0x8005, 13
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FCE
compare_var_to_value VAR_0x8005, 14
compare VAR_0x8005, 14
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FD7
compare_var_to_value VAR_0x8005, 15
compare VAR_0x8005, 15
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FE0
compare_var_to_value VAR_0x8005, 16
compare VAR_0x8005, 16
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FE9
compare_var_to_value VAR_0x8005, 17
compare VAR_0x8005, 17
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FF2
compare_var_to_value VAR_0x8005, 18
compare VAR_0x8005, 18
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FFB
return
@@ -360,23 +360,23 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FFB:: @ 8259FFB
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A004:: @ 825A004
compare_var_to_value VAR_0x8006, 0
compare VAR_0x8006, 0
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A068
compare_var_to_value VAR_0x8006, 1
compare VAR_0x8006, 1
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A071
compare_var_to_value VAR_0x8006, 2
compare VAR_0x8006, 2
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A07A
compare_var_to_value VAR_0x8006, 3
compare VAR_0x8006, 3
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A083
compare_var_to_value VAR_0x8006, 4
compare VAR_0x8006, 4
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A08C
compare_var_to_value VAR_0x8006, 5
compare VAR_0x8006, 5
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A095
compare_var_to_value VAR_0x8006, 6
compare VAR_0x8006, 6
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A09E
compare_var_to_value VAR_0x8006, 7
compare VAR_0x8006, 7
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0A7
compare_var_to_value VAR_0x8006, 8
compare VAR_0x8006, 8
call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B0
return
@@ -420,7 +420,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9:: @ 825A0B9
message BattleFrontier_BattleFactoryPreBattleRoom_Text_25AD20
waitmessage
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A110
multichoice 19, 4, 103, 1
switch VAR_RESULT

View File

@@ -12,9 +12,9 @@ BattleFrontier_BattlePalaceBattleRoom_MapScript1_24F825: @ 824F825
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F833:: @ 824F833
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F84B
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F856
return
@@ -37,7 +37,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24F86B:: @ 824F86B
setvar VAR_0x8004, 1
setvar VAR_0x8005, 2
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8B5
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE9B
waitmovement 0
@@ -98,33 +98,33 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24F911:: @ 824F911
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3
special sub_81A1780
playfanfare BGM_ME_ASA
playfanfare MUS_ME_ASA
waitfanfare
special sp000_heal_pokemon
special HealPlayerParty
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A:: @ 824F98A
setvar VAR_0x8004, 9
special sub_81A1780
copyvar VAR_0x400F, VAR_RESULT
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB61
setvar VAR_0x8004, 1
setvar VAR_0x8005, 2
special sub_81A1780
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE66
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE6D
compare_var_to_value VAR_RESULT, 3
compare VAR_RESULT, 3
call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE74
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE7B
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE82
compare_var_to_value VAR_RESULT, 6
compare VAR_RESULT, 6
call_if 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE89
call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA42
multichoice 19, 4, 103, 1
switch VAR_RESULT
@@ -198,7 +198,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB3F:: @ 824FB3F
end
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB61:: @ 824FB61
compare_var_to_value VAR_0x4002, 1
compare VAR_0x4002, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB79
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2500DD, 4
setvar VAR_0x4002, 1
@@ -207,7 +207,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB79:: @ 824FB79
message BattleFrontier_BattlePalaceBattleRoom_Text_25014A
waitmessage
call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FBD0
multichoice 19, 4, 103, 1
switch VAR_RESULT
@@ -247,7 +247,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FC06:: @ 824FC06
setvar VAR_0x8004, 1
setvar VAR_0x8005, 7
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2501C1, 4
setvar VAR_0x8004, 2
@@ -257,7 +257,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FC06:: @ 824FC06
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA:: @ 824FCAA
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2502C4, 4
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA
@@ -266,13 +266,13 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7:: @ 824FCC7
special sub_8195960
setvar VAR_0x8004, 12
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2502FF, 4
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_25036D, 4
playfanfare BGM_ME_BATTLE_SYMBOL
playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattlePalaceBattleRoom_Text_2503DC
waitmessage
waitfanfare
@@ -290,7 +290,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD3A:: @ 824FD3A
setvar VAR_0x8004, 1
setvar VAR_0x8005, 7
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250485, 4
setvar VAR_0x8004, 2
@@ -300,7 +300,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD3A:: @ 824FD3A
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67:: @ 824FD67
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250572, 4
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA
@@ -309,13 +309,13 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84:: @ 824FD84
special sub_8195960
setvar VAR_0x8004, 12
special sub_81A1780
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_25057E, 4
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250629, 4
playfanfare BGM_ME_BATTLE_SYMBOL
playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattlePalaceBattleRoom_Text_250699
waitmessage
waitfanfare
@@ -337,14 +337,14 @@ VerdanturfTown_BattleTentBattleRoom_EventScript_24FDF7:: @ 824FDF7
setvar VAR_0x8005, 6
setvar VAR_0x8006, 0
special sub_81A1780
special sp000_heal_pokemon
special HealPlayerParty
setvar VAR_0x8004, 4
setvar VAR_0x8005, 0
special sub_8163AC4
waitstate
setvar VAR_0x8004, 18
special sub_81A1780
special sp000_heal_pokemon
special HealPlayerParty
setvar VAR_0x8004, 21
special sub_81A1780
return
@@ -460,7 +460,7 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_24FEB6: @ 824FEB6
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FEBB:: @ 824FEBB
copyvar VAR_RESULT, VAR_0x40CE
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FED5
warp BATTLE_FRONTIER_BATTLE_PALACE_LOBBY, 255, 5, 7
waitstate

View File

@@ -14,21 +14,21 @@ BattleFrontier_BattlePalaceCorridor_EventScript_24F4B3:: @ 824F4B3
lockall
setvar VAR_0x8004, 3
special sub_8195960
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattlePalaceCorridor_EventScript_24F58B
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattlePalaceCorridor_EventScript_24F594
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
call_if 1, BattleFrontier_BattlePalaceCorridor_EventScript_24F59D
compare_var_to_value VAR_RESULT, 3
compare VAR_RESULT, 3
call_if 1, BattleFrontier_BattlePalaceCorridor_EventScript_24F5A6
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
call_if 1, BattleFrontier_BattlePalaceCorridor_EventScript_24F5AF
closemessage
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
special sub_81A1780
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F553
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5BD
applymovement 255, BattleFrontier_BattlePalaceCorridor_Movement_24F5C4

View File

@@ -49,7 +49,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D817:: @ 824D817
lockall
setvar VAR_0x8004, 10
special sub_81A1780
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24D838
msgbox BattleFrontier_BattlePalaceLobby_Text_24E497, 4
goto BattleFrontier_BattlePalaceLobby_EventScript_24D840
@@ -90,14 +90,14 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D8A1:: @ 824D8A1
setvar VAR_0x8004, 8
special sub_81A1780
special copy_player_party_from_sav1
special sp000_heal_pokemon
special HealPlayerParty
setvar VAR_0x8004, 7
setvar VAR_0x8005, 0
special sub_8195960
playse SE_SAVE
waitse
call BattleFrontier_BattlePalaceLobby_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24D907
message BattleFrontier_BattlePalaceLobby_Text_24EF16
waitmessage
@@ -150,18 +150,18 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D968:: @ 824D968
setvar VAR_0x8004, 1
setvar VAR_0x8005, 0
special sub_8195960
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePalaceLobby_EventScript_24D817
special copy_player_party_to_sav1
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DB9E
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DBA7
BattleFrontier_BattlePalaceLobby_EventScript_24D999:: @ 824D999
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DBB0
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DBB6
waitmessage
multichoice 17, 6, 23, 0
@@ -180,7 +180,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D9E6:: @ 824D9E6
case 127, BattleFrontier_BattlePalaceLobby_EventScript_24DB94
setvar VAR_0x8004, 15
special sub_81A1780
compare_var_to_value VAR_0x8004, 1
compare VAR_0x8004, 1
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB45
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
@@ -193,7 +193,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D9E6:: @ 824D9E6
setvar VAR_0x8005, 3
special sub_80F9490
waitstate
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB91
msgbox BattleFrontier_BattlePalaceLobby_Text_24E3C8, 5
switch VAR_RESULT
@@ -225,7 +225,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DA87:: @ 824DA87
delay 2
call BattleFrontier_BattlePalaceLobby_EventScript_27134F
setvar VAR_0x4000, 255
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB7A
BattleFrontier_BattlePalaceLobby_EventScript_24DAF3:: @ 824DAF3
@@ -242,7 +242,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DAF3:: @ 824DAF3
end
BattleFrontier_BattlePalaceLobby_EventScript_24DB20:: @ 824DB20
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
goto_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB38
msgbox BattleFrontier_BattlePalaceLobby_Text_24DE17, 4
goto BattleFrontier_BattlePalaceLobby_EventScript_24D999
@@ -298,24 +298,24 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DBB6:: @ 824DBB6
return
BattleFrontier_BattlePalaceLobby_EventScript_24DBBC:: @ 824DBBC
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC23
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC29
applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_24DC47
applymovement 255, BattleFrontier_BattlePalaceLobby_Movement_24DC47
waitmovement 0
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC2F
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC35
waitdooranim
applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_24DC49
applymovement 255, BattleFrontier_BattlePalaceLobby_Movement_24DC4C
waitmovement 0
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC3B
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattlePalaceLobby_EventScript_24DC41
waitdooranim
return

View File

@@ -25,7 +25,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B707:: @ 825B707
end
BattleFrontier_BattlePikeLobby_EventScript_25B710:: @ 825B710
special sp000_heal_pokemon
special HealPlayerParty
setvar VAR_0x8004, 27
special sub_81A703C
lockall
@@ -51,7 +51,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B762:: @ 825B762
lockall
setvar VAR_0x8004, 10
special sub_81A1780
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePikeLobby_EventScript_25B784
msgbox BattleFrontier_BattlePikeLobby_Text_25C18A, 4
waitmessage
@@ -77,7 +77,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B78D:: @ 825B78D
copyvar VAR_0x8006, VAR_RESULT
special sub_81A703C
special copy_player_party_from_sav1
special sp000_heal_pokemon
special HealPlayerParty
setvar VAR_0x8004, 27
special sub_81A703C
message BattleFrontier_BattlePikeLobby_Text_25C1DF
@@ -108,7 +108,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B806:: @ 825B806
setvar VAR_0x8006, 0
special sub_81A703C
special copy_player_party_from_sav1
special sp000_heal_pokemon
special HealPlayerParty
setvar VAR_0x8004, 27
special sub_81A703C
setvar VAR_0x8004, 8
@@ -149,7 +149,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B8BB:: @ 825B8BB
case 127, BattleFrontier_BattlePikeLobby_EventScript_25BA76
setvar VAR_0x8004, 15
special sub_81A1780
compare_var_to_value VAR_0x8004, 1
compare VAR_0x8004, 1
goto_eq BattleFrontier_BattlePikeLobby_EventScript_25BA27
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
@@ -162,7 +162,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B8BB:: @ 825B8BB
setvar VAR_0x8005, 3
special sub_80F9490
waitstate
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePikeLobby_EventScript_25BA73
msgbox BattleFrontier_BattlePikeLobby_Text_25C0D8, 5
switch VAR_RESULT
@@ -199,7 +199,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B95C:: @ 825B95C
setvar VAR_0x4000, 255
setvar VAR_0x8004, 26
special sub_81A703C
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePikeLobby_EventScript_25BA5C
special copy_player_party_to_sav1
setvar VAR_0x8004, 3
@@ -210,7 +210,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B95C:: @ 825B95C
setvar VAR_0x8004, 5
special sub_81A1780
call BattleFrontier_BattlePikeLobby_EventScript_25BA94
special sp000_heal_pokemon
special HealPlayerParty
call BattleFrontier_BattlePikeLobby_EventScript_25BB49
warpsilent BATTLE_FRONTIER_BATTLE_PIKE_CORRIDOR, 255, 6, 7
setvar VAR_0x4000, 0

View File

@@ -87,9 +87,9 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D285:: @ 825D285
lock
faceplayer
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DE3F, 4
playfanfare BGM_ME_ASA
playfanfare MUS_ME_ASA
waitfanfare
special sp000_heal_pokemon
special HealPlayerParty
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DE94, 4
closemessage
release
@@ -145,7 +145,7 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D2FB:: @ 825D2FB
setvar VAR_0x8004, 1
setvar VAR_0x8005, 7
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3BD
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DED2, 4
setvar VAR_0x8004, 2
@@ -155,18 +155,18 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D2FB:: @ 825D2FB
BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3BD:: @ 825D3BD
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DF71, 4
call BattleFrontier_BattlePikeRandomRoom1_EventScript_25D77B
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3DA
goto BattleFrontier_BattlePikeRandomRoom1_EventScript_25D20A
BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3DA:: @ 825D3DA
setvar VAR_0x8004, 12
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D49D
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DFA2, 4
waitmessage
playfanfare BGM_ME_BATTLE_SYMBOL
playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattlePikeRandomRoom1_Text_25DFD0
waitmessage
waitfanfare
@@ -180,7 +180,7 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D416:: @ 825D416
setvar VAR_0x8004, 1
setvar VAR_0x8005, 7
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D443
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E02C, 4
setvar VAR_0x8004, 2
@@ -190,18 +190,18 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D416:: @ 825D416
BattleFrontier_BattlePikeRandomRoom1_EventScript_25D443:: @ 825D443
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E0E8, 4
call BattleFrontier_BattlePikeRandomRoom1_EventScript_25D77B
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D460
goto BattleFrontier_BattlePikeRandomRoom1_EventScript_25D20A
BattleFrontier_BattlePikeRandomRoom1_EventScript_25D460:: @ 825D460
setvar VAR_0x8004, 12
special sub_81A1780
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D49D
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E0F6, 4
waitmessage
playfanfare BGM_ME_BATTLE_SYMBOL
playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattlePikeRandomRoom1_Text_25E118
waitmessage
waitfanfare
@@ -236,14 +236,14 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D4DC:: @ 825D4DC
BattleFrontier_BattlePikeRandomRoom1_EventScript_25D4EA:: @ 825D4EA
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E1DD, 4
playfanfare BGM_ME_ASA
playfanfare MUS_ME_ASA
waitfanfare
goto BattleFrontier_BattlePikeRandomRoom1_EventScript_25D2FB
end
BattleFrontier_BattlePikeRandomRoom1_EventScript_25D4FC:: @ 825D4FC
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E238, 4
playfanfare BGM_ME_ASA
playfanfare MUS_ME_ASA
waitfanfare
goto BattleFrontier_BattlePikeRandomRoom1_EventScript_25D2FB
end
@@ -255,9 +255,9 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D50E:: @ 825D50E
waitmovement 0
message BattleFrontier_BattlePikeRandomRoom1_Text_25D9B6
waitmessage
playfanfare BGM_ME_ASA
playfanfare MUS_ME_ASA
waitfanfare
special sp000_heal_pokemon
special HealPlayerParty
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DA13, 4
closemessage
applymovement 1, BattleFrontier_BattlePikeRandomRoom1_Movement_25D798
@@ -320,9 +320,9 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D605:: @ 825D605
setvar VAR_0x8004, 12
special sub_81A703C
copyvar VAR_0x8004, VAR_RESULT
compare_var_to_value VAR_0x8004, 0
compare VAR_0x8004, 0
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D643
compare_var_to_value VAR_0x8004, 1
compare VAR_0x8004, 1
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D6D5
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DD3F, 4
closemessage
@@ -337,13 +337,13 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D643:: @ 825D643
waitmoncry
setvar VAR_0x8004, 11
special sub_81A703C
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D751
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D758
compare_var_to_value VAR_RESULT, 3
compare VAR_RESULT, 3
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D75F
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D766
setvar VAR_0x8004, 15
special sub_81A703C
@@ -374,9 +374,9 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D6D5:: @ 825D6D5
waitmoncry
setvar VAR_0x8004, 11
special sub_81A703C
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D76D
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D774
setvar VAR_0x8004, 15
special sub_81A703C
@@ -607,11 +607,11 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D831:: @ 825D831
BattleFrontier_BattlePikeRandomRoom1_EventScript_25D83E:: @ 825D83E
setvar VAR_0x8004, 13
special sub_81A703C
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D881
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D875
playfanfare BGM_ME_ASA
playfanfare MUS_ME_ASA
waitfanfare
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DABE, 4
closemessage

View File

@@ -38,9 +38,9 @@ BattleFrontier_BattlePikeRandomRoom3_MapScript1_25E47A: @ 825E47A
setvar VAR_0x8004, 1
setvar VAR_0x8005, 5
special sub_81A1780
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3
compare_var_to_value VAR_RESULT, 3
compare VAR_RESULT, 3
goto_eq BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3
end

View File

@@ -168,7 +168,7 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA5A:: @ 825CA5A
BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA78:: @ 825CA78
setvar VAR_0x8004, 17
special sub_81A703C
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA91
setvar VAR_0x4005, 255
end
@@ -191,7 +191,7 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA97:: @ 825CA97
BattleFrontier_BattlePikeThreePathRoom_EventScript_25CABB:: @ 825CABB
setvar VAR_0x8004, 19
special sub_81A703C
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
goto_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_25CBC2
lock
faceplayer

View File

@@ -14,29 +14,29 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D:: @ 825F07D
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A:: @ 825F08A
specialvar VAR_0x4001, sub_813AA04
compare_var_to_var VAR_0x4001, VAR_0x8008
compare VAR_0x4001, VAR_0x8008
goto_if 4, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0C9
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE86, 4
compare_var_to_value VAR_0x4002, 0
compare VAR_0x4002, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
compare_var_to_value VAR_0x4002, 1
compare VAR_0x4002, 1
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
compare_var_to_value VAR_0x4002, 2
compare VAR_0x4002, 2
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0C9:: @ 825F0C9
compare_var_to_value VAR_0x4002, 0
compare VAR_0x4002, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5
compare_var_to_value VAR_0x4002, 1
compare VAR_0x4002, 1
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F12A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5:: @ 825F0E5
checkdecorspace VAR_0x8009
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F11D
copyvar VAR_0x8004, VAR_0x8008
special sub_813A9A4
@@ -44,7 +44,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5:: @ 825F0E5
special sub_813A8FC
playse SE_REGI
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE45, 4
compare_var_to_value VAR_0x4002, 0
compare VAR_0x4002, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
end
@@ -57,7 +57,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F11D:: @ 825F11D
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F12A:: @ 825F12A
checkitemspace VAR_0x8009, 1
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F166
copyvar VAR_0x8004, VAR_0x8008
special sub_813A9A4
@@ -65,7 +65,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F12A:: @ 825F12A
special sub_813A8FC
playse SE_REGI
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE72, 4
compare_var_to_value VAR_0x4002, 2
compare VAR_0x4002, 2
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
end
@@ -107,7 +107,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185:: @ 825F185
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F21E:: @ 825F21E
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8B6, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 16
setvar VAR_0x8009, 75
@@ -116,7 +116,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F21E:: @ 825F21E
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F241:: @ 825F241
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8E6, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 32
setvar VAR_0x8009, 103
@@ -125,7 +125,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F241:: @ 825F241
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F264:: @ 825F264
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F917, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 32
setvar VAR_0x8009, 87
@@ -134,7 +134,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F264:: @ 825F264
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F287:: @ 825F287
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F949, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48
setvar VAR_0x8009, 79
@@ -143,7 +143,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F287:: @ 825F287
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2AA:: @ 825F2AA
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F979, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48
setvar VAR_0x8009, 84
@@ -152,7 +152,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2AA:: @ 825F2AA
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2CD:: @ 825F2CD
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9A9, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48
setvar VAR_0x8009, 85
@@ -161,7 +161,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2CD:: @ 825F2CD
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2F0:: @ 825F2F0
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9DB, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48
setvar VAR_0x8009, 86
@@ -170,7 +170,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2F0:: @ 825F2F0
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F313:: @ 825F313
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA0A, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 80
setvar VAR_0x8009, 80
@@ -179,7 +179,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F313:: @ 825F313
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F336:: @ 825F336
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA3D, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 80
setvar VAR_0x8009, 81
@@ -188,7 +188,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F336:: @ 825F336
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F359:: @ 825F359
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA70, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 80
setvar VAR_0x8009, 82
@@ -221,7 +221,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E:: @ 825F38E
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F3F0:: @ 825F3F0
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAA2, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 128
setvar VAR_0x8009, 113
@@ -230,7 +230,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F3F0:: @ 825F3F0
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F413:: @ 825F413
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAD2, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 128
setvar VAR_0x8009, 111
@@ -239,7 +239,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F413:: @ 825F413
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F436:: @ 825F436
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB03, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 256
setvar VAR_0x8009, 114
@@ -248,7 +248,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F436:: @ 825F436
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F459:: @ 825F459
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB35, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 256
setvar VAR_0x8009, 115
@@ -257,7 +257,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F459:: @ 825F459
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F47C:: @ 825F47C
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB68, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 256
setvar VAR_0x8009, 116
@@ -291,7 +291,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1:: @ 825F4B1
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F51E:: @ 825F51E
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB9B, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, 64
@@ -300,7 +300,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F51E:: @ 825F51E
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F541:: @ 825F541
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBC7, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, 67
@@ -309,7 +309,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F541:: @ 825F541
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F564:: @ 825F564
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBF3, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, 65
@@ -318,7 +318,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F564:: @ 825F564
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F587:: @ 825F587
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC1C, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, 70
@@ -327,7 +327,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F587:: @ 825F587
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5AA:: @ 825F5AA
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC45, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, 66
@@ -336,7 +336,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5AA:: @ 825F5AA
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5CD:: @ 825F5CD
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC70, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, 63
@@ -373,7 +373,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602:: @ 825F602
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F690:: @ 825F690
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE17, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48
setvar VAR_0x8009, 200
@@ -382,7 +382,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F690:: @ 825F690
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6B3:: @ 825F6B3
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCCB, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48
setvar VAR_0x8009, 180
@@ -391,7 +391,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6B3:: @ 825F6B3
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6D6:: @ 825F6D6
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCFA, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48
setvar VAR_0x8009, 183
@@ -400,7 +400,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6D6:: @ 825F6D6
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6F9:: @ 825F6F9
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD29, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48
setvar VAR_0x8009, 185
@@ -409,7 +409,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6F9:: @ 825F6F9
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F71C:: @ 825F71C
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC9A, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64
setvar VAR_0x8009, 179
@@ -418,7 +418,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F71C:: @ 825F71C
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F73F:: @ 825F73F
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD59, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64
setvar VAR_0x8009, 186
@@ -427,7 +427,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F73F:: @ 825F73F
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F762:: @ 825F762
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD89, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64
setvar VAR_0x8009, 187
@@ -436,7 +436,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F762:: @ 825F762
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F785:: @ 825F785
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDB9, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64
setvar VAR_0x8009, 196
@@ -445,7 +445,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F785:: @ 825F785
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7A8:: @ 825F7A8
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDE8, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64
setvar VAR_0x8009, 198
@@ -661,104 +661,104 @@ BattleFrontier_BattlePointExchangeServiceCorner_Text_26012D: @ 826012D
.string "the BATTLE facilities, they start\l"
.string "giving you more and more Battle Points.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_2601AA: @ 82601AA
BattleFrontier_BattlePointExchangeServiceCorner_Text_2601AA:: @ 82601AA
.string "A large poster with a SMOOCHUM print.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_2601D0: @ 82601D0
BattleFrontier_BattlePointExchangeServiceCorner_Text_2601D0:: @ 82601D0
.string "A SMOOCHUM cushion.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_260201: @ 8260201
BattleFrontier_BattlePointExchangeServiceCorner_Text_260201:: @ 8260201
.string "A SMOOCHUM DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_26022F: @ 826022F
BattleFrontier_BattlePointExchangeServiceCorner_Text_26022F:: @ 826022F
.string "A TOGEPI DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_26025B: @ 826025B
BattleFrontier_BattlePointExchangeServiceCorner_Text_26025B:: @ 826025B
.string "A MEOWTH DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_260287: @ 8260287
BattleFrontier_BattlePointExchangeServiceCorner_Text_260287:: @ 8260287
.string "A CLEFAIRY DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_2602B5: @ 82602B5
BattleFrontier_BattlePointExchangeServiceCorner_Text_2602B5:: @ 82602B5
.string "A DITTO DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_2602E0: @ 82602E0
BattleFrontier_BattlePointExchangeServiceCorner_Text_2602E0:: @ 82602E0
.string "A CYNDAQUIL DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_26030F: @ 826030F
BattleFrontier_BattlePointExchangeServiceCorner_Text_26030F:: @ 826030F
.string "A CHIKORITA DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_26033E: @ 826033E
BattleFrontier_BattlePointExchangeServiceCorner_Text_26033E:: @ 826033E
.string "A TOTODILE DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_26036C: @ 826036C
BattleFrontier_BattlePointExchangeServiceCorner_Text_26036C:: @ 826036C
.string "A large DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_260397: @ 8260397
BattleFrontier_BattlePointExchangeServiceCorner_Text_260397:: @ 8260397
.string "Raises the stat ATTACK of one\n"
.string "POKéMON.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_2603BE: @ 82603BE
BattleFrontier_BattlePointExchangeServiceCorner_Text_2603BE:: @ 82603BE
.string "Raises the stat SP. ATK of one\n"
.string "POKéMON.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_2603E6: @ 82603E6
BattleFrontier_BattlePointExchangeServiceCorner_Text_2603E6:: @ 82603E6
.string "Raises the stat DEFENSE of one\n"
.string "POKéMON.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_26040E: @ 826040E
BattleFrontier_BattlePointExchangeServiceCorner_Text_26040E:: @ 826040E
.string "Raises the stat SP. DEF of one\n"
.string "POKéMON.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_260436: @ 8260436
BattleFrontier_BattlePointExchangeServiceCorner_Text_260436:: @ 8260436
.string "Raises the stat SPEED of one\n"
.string "POKéMON.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_26045C: @ 826045C
BattleFrontier_BattlePointExchangeServiceCorner_Text_26045C:: @ 826045C
.string "Raises the HP of one POKéMON.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_26047A: @ 826047A
BattleFrontier_BattlePointExchangeServiceCorner_Text_26047A:: @ 826047A
.string "A hold item that gradually restores\n"
.string "HP in battle.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_2604AC: @ 82604AC
BattleFrontier_BattlePointExchangeServiceCorner_Text_2604AC:: @ 82604AC
.string "A hold item that restores any\n"
.string "lowered stat.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_2604D8: @ 82604D8
BattleFrontier_BattlePointExchangeServiceCorner_Text_2604D8:: @ 82604D8
.string "A hold item that occasionally allows\n"
.string "the first strike.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_26050F: @ 826050F
BattleFrontier_BattlePointExchangeServiceCorner_Text_26050F:: @ 826050F
.string "A hold item that snaps POKéMON out\n"
.string "of infatuation.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_260542: @ 8260542
BattleFrontier_BattlePointExchangeServiceCorner_Text_260542:: @ 8260542
.string "A hold item that casts a glare to\n"
.string "reduce accuracy.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_260575: @ 8260575
BattleFrontier_BattlePointExchangeServiceCorner_Text_260575:: @ 8260575
.string "Raises a moves power, but permits\n"
.string "only that move.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_2605A8: @ 82605A8
BattleFrontier_BattlePointExchangeServiceCorner_Text_2605A8:: @ 82605A8
.string "A hold item that may cause flinching\n"
.string "when the foe is hit.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_2605E2: @ 82605E2
BattleFrontier_BattlePointExchangeServiceCorner_Text_2605E2:: @ 82605E2
.string "A hold item that occasionally\n"
.string "prevents fainting.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_260613: @ 8260613
BattleFrontier_BattlePointExchangeServiceCorner_Text_260613:: @ 8260613
.string "A hold item that raises the\n"
.string "critical-hit rate.$"

View File

@@ -21,7 +21,7 @@ BattleFrontier_BattlePyramidEmptySquare_EventScript_252A5D:: @ 8252A5D
BattleFrontier_BattlePyramidEmptySquare_EventScript_252A77:: @ 8252A77
special sub_81A8E7C
delay 2
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_if 5, BattleFrontier_BattlePyramidEmptySquare_EventScript_252A77
setvar VAR_0x400D, 0
releaseall
@@ -33,7 +33,7 @@ BattleFrontier_BattlePyramidEmptySquare_EventScript_252A8F:: @ 8252A8F
end
BattleFrontier_BattlePyramidEmptySquare_EventScript_252A98:: @ 8252A98
playbgm BGM_BATTLE_PYRAMID, 0
playbgm MUS_PYRAMID, 0
setvar VAR_0x400E, 1
end
@@ -49,17 +49,17 @@ BattleFrontier_BattlePyramidEmptySquare_MapScript1_252AA2: @ 8252AA2
setvar VAR_0x8004, 1
setvar VAR_0x8005, 5
special sub_81A1780
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
compare_var_to_value VAR_RESULT, 3
compare VAR_RESULT, 3
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
compare_var_to_value VAR_RESULT, 9
compare VAR_RESULT, 9
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
setvar VAR_0x8004, 14
setvar VAR_0x8005, 8
@@ -90,7 +90,7 @@ BattleFrontier_BattlePyramidTop_EventScript_252B66:: @ 8252B66
special sub_81A8E7C
setvar VAR_0x8004, 14
special sub_81A8E7C
special sp000_heal_pokemon
special HealPlayerParty
warpsilent BATTLE_FRONTIER_BATTLE_PYRAMID_LOBBY, 255, 7, 13
waitstate
end
@@ -134,7 +134,7 @@ BattleFrontier_BattlePyramidEmptySquare_EventScript_252BE8:: @ 8252BE8
setvar VAR_0x8005, 2
copyvar VAR_0x8006, VAR_RESULT
special sub_81A1780
compare_var_to_value VAR_RESULT, 7
compare VAR_RESULT, 7
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252C45
setvar VAR_0x8004, 6
special sub_81A8E7C
@@ -166,7 +166,7 @@ BattleFrontier_BattlePyramidEmptySquare_EventScript_252C6A:: @ 8252C6A
setvar VAR_0x8004, 7
special sub_81A8E7C
callstd 1
compare_var_to_value VAR_0x8007, 0
compare VAR_0x8007, 0
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252C87
setvar VAR_0x8004, 8
special sub_81A8E7C
@@ -189,470 +189,596 @@ BattleFrontier_BattlePyramidEmptySquare_Text_252CFB:: @ 8252CFB
.string "Are you sure you want to quit your\n"
.string "PYRAMID quest?$"
BattleFrontier_BattlePyramidEmptySquare_Text_252D2D:: @ 8252D2D
.string "This floors exit is in\n"
.string "that direction: {UP_ARROW}$"
BattleFrontier_BattlePyramidEmptySquare_Text_252D57:: @ 8252D57
.string "This floors exit is in\n"
.string "that direction: {LEFT_ARROW}$"
BattleFrontier_BattlePyramidEmptySquare_Text_252D81:: @ 8252D81
.string "This floors exit is in\n"
.string "that direction: {RIGHT_ARROW}$"
BattleFrontier_BattlePyramidEmptySquare_Text_252DAB:: @ 8252DAB
.string "This floors exit is in\n"
.string "that direction: {DOWN_ARROW}$"
BattleFrontier_BattlePyramidEmptySquare_Text_252DD5:: @ 8252DD5
.string "The exit on this floor is in\n"
.string "the {UP_ARROW} direction.$"
BattleFrontier_BattlePyramidEmptySquare_Text_252E03:: @ 8252E03
.string "The exit on this floor is in\n"
.string "the {LEFT_ARROW} direction.$"
BattleFrontier_BattlePyramidEmptySquare_Text_252E31:: @ 8252E31
.string "The exit on this floor is in\n"
.string "the {RIGHT_ARROW} direction.$"
BattleFrontier_BattlePyramidEmptySquare_Text_252E5F:: @ 8252E5F
.string "The exit on this floor is in\n"
.string "the {DOWN_ARROW} direction.$"
BattleFrontier_BattlePyramidEmptySquare_Text_252E8D:: @ 8252E8D
.string "The exit is over\n"
.string "that {UP_ARROW} way.$"
BattleFrontier_BattlePyramidEmptySquare_Text_252EAA:: @ 8252EAA
.string "The exit is over\n"
.string "that {LEFT_ARROW} way.$"
BattleFrontier_BattlePyramidEmptySquare_Text_252EC7:: @ 8252EC7
.string "The exit is over\n"
.string "that {RIGHT_ARROW} way.$"
BattleFrontier_BattlePyramidEmptySquare_Text_252EE4:: @ 8252EE4
.string "The exit is over\n"
.string "that {DOWN_ARROW} way.$"
BattleFrontier_BattlePyramidEmptySquare_Text_252F01:: @ 8252F01
.string "On this floor, the exit is somewhere\n"
.string "in the {UP_ARROW} direction.$"
BattleFrontier_BattlePyramidEmptySquare_Text_252F3A:: @ 8252F3A
.string "On this floor, the exit is somewhere\n"
.string "in the {LEFT_ARROW} direction.$"
BattleFrontier_BattlePyramidEmptySquare_Text_252F73:: @ 8252F73
.string "On this floor, the exit is somewhere\n"
.string "in the {RIGHT_ARROW} direction.$"
BattleFrontier_BattlePyramidEmptySquare_Text_252FAC:: @ 8252FAC
.string "On this floor, the exit is somewhere\n"
.string "in the {DOWN_ARROW} direction.$"
BattleFrontier_BattlePyramidEmptySquare_Text_252FE5:: @ 8252FE5
.string "The exit?\n"
.string "Its that {UP_ARROW} way.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253000:: @ 8253000
.string "The exit?\n"
.string "Its that {LEFT_ARROW} way.$"
BattleFrontier_BattlePyramidEmptySquare_Text_25301B:: @ 825301B
.string "The exit?\n"
.string "Its that {RIGHT_ARROW} way.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253036:: @ 8253036
.string "The exit?\n"
.string "Its that {DOWN_ARROW} way.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253051:: @ 8253051
.string "The exit happens to be in\n"
.string "the {UP_ARROW} direction.$"
BattleFrontier_BattlePyramidEmptySquare_Text_25307C:: @ 825307C
.string "The exit happens to be in\n"
.string "the {LEFT_ARROW} direction.$"
BattleFrontier_BattlePyramidEmptySquare_Text_2530A7:: @ 82530A7
.string "The exit happens to be in\n"
.string "the {RIGHT_ARROW} direction.$"
BattleFrontier_BattlePyramidEmptySquare_Text_2530D2:: @ 82530D2
.string "The exit happens to be in\n"
.string "the {DOWN_ARROW} direction.$"
BattleFrontier_BattlePyramidEmptySquare_Text_2530FD:: @ 82530FD
.string "Are you looking for items?\p"
.string "There are eight items left to\n"
.string "be found.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253140:: @ 8253140
.string "Are you looking for items?\p"
.string "There are seven items left to\n"
.string "be found.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253183:: @ 8253183
.string "Are you looking for items?\p"
.string "There are six items left to\n"
.string "be found.$"
BattleFrontier_BattlePyramidEmptySquare_Text_2531C4:: @ 82531C4
.string "Are you looking for items?\p"
.string "There are five items left to\n"
.string "be found.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253206:: @ 8253206
.string "Are you looking for items?\p"
.string "There are four items left to\n"
.string "be found.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253248:: @ 8253248
.string "Are you looking for items?\p"
.string "There are three items left to\n"
.string "be found.$"
BattleFrontier_BattlePyramidEmptySquare_Text_25328B:: @ 825328B
.string "Are you looking for items?\p"
.string "There are two items left to\n"
.string "be found.$"
BattleFrontier_BattlePyramidEmptySquare_Text_2532CC:: @ 82532CC
.string "Are you looking for items?\p"
.string "There is one item left to\n"
.string "be found.$"
BattleFrontier_BattlePyramidEmptySquare_Text_25330B:: @ 825330B
.string "Are you looking for items?\p"
.string "There isnt anything left to\n"
.string "be found!$"
BattleFrontier_BattlePyramidEmptySquare_Text_25334D:: @ 825334D
.string "Because you won, Ill tell you\n"
.string "a little secret!\p"
.string "There are eight items\n"
.string "lying around here.$"
BattleFrontier_BattlePyramidEmptySquare_Text_2533A6:: @ 82533A6
.string "Because you won, Ill tell you\n"
.string "a little secret!\p"
.string "There are seven items left\n"
.string "lying around here.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253404:: @ 8253404
.string "Because you won, Ill tell you\n"
.string "a little secret!\p"
.string "There are six items left\n"
.string "lying around here.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253460:: @ 8253460
.string "Because you won, Ill tell you\n"
.string "a little secret!\p"
.string "There are five items left\n"
.string "lying around here.$"
BattleFrontier_BattlePyramidEmptySquare_Text_2534BD:: @ 82534BD
.string "Because you won, Ill tell you\n"
.string "a little secret!\p"
.string "There are four items left\n"
.string "lying around here.$"
BattleFrontier_BattlePyramidEmptySquare_Text_25351A:: @ 825351A
.string "Because you won, Ill tell you\n"
.string "a little secret!\p"
.string "There are three items left\n"
.string "lying around here.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253578:: @ 8253578
.string "Because you won, Ill tell you\n"
.string "a little secret!\p"
.string "There are two items left\n"
.string "lying around here.$"
BattleFrontier_BattlePyramidEmptySquare_Text_2535D4:: @ 82535D4
.string "Because you won, Ill tell you\n"
.string "a little secret!\p"
.string "There is just one item\n"
.string "lying around here.$"
BattleFrontier_BattlePyramidEmptySquare_Text_25362E:: @ 825362E
.string "Because you won, Ill tell you\n"
.string "a little secret!\p"
.string "There isnt anything left\n"
.string "lying around here.$"
BattleFrontier_BattlePyramidEmptySquare_Text_25368B:: @ 825368B
.string "Hows your stock of items holding up?\p"
.string "I reckon there are eight items left\n"
.string "waiting to be found on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_2536F8:: @ 82536F8
.string "Hows your stock of items holding up?\p"
.string "I reckon there are seven items left\n"
.string "waiting to be found on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253765:: @ 8253765
.string "Hows your stock of items holding up?\p"
.string "I reckon there are six items left\n"
.string "waiting to be found on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_2537D0:: @ 82537D0
.string "Hows your stock of items holding up?\p"
.string "I reckon there are five items left\n"
.string "waiting to be found on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_25383C:: @ 825383C
.string "Hows your stock of items holding up?\p"
.string "I reckon there are four items left\n"
.string "waiting to be found on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_2538A8:: @ 82538A8
.string "Hows your stock of items holding up?\p"
.string "I reckon there are three items left\n"
.string "waiting to be found on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253915:: @ 8253915
.string "Hows your stock of items holding up?\p"
.string "I reckon there are two items left\n"
.string "waiting to be found on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253980:: @ 8253980
.string "Hows your stock of items holding up?\p"
.string "I reckon theres but one item left\n"
.string "waiting to be found on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_2539EC:: @ 82539EC
.string "Hows your stock of items holding up?\p"
.string "I reckon there are no more items\n"
.string "waiting to be found on this floor.\l"
.string "You take care now!$"
BattleFrontier_BattlePyramidEmptySquare_Text_253A69:: @ 8253A69
.string "Youre strong, so youve earned\n"
.string "a hint!\p"
.string "There appear to be eight more\n"
.string "items on the ground.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253AC4:: @ 8253AC4
.string "Youre strong, so youve earned\n"
.string "a hint!\p"
.string "There appear to be seven more\n"
.string "items on the ground.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253B1F:: @ 8253B1F
.string "Youre strong, so youve earned\n"
.string "a hint!\p"
.string "There appear to be six more\n"
.string "items on the ground.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253B78:: @ 8253B78
.string "Youre strong, so youve earned\n"
.string "a hint!\p"
.string "There appear to be five more\n"
.string "items on the ground.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253BD2:: @ 8253BD2
.string "Youre strong, so youve earned\n"
.string "a hint!\p"
.string "There appear to be four more\n"
.string "items on the ground.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253C2C:: @ 8253C2C
.string "Youre strong, so youve earned\n"
.string "a hint!\p"
.string "There appear to be three more\n"
.string "items on the ground.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253C87:: @ 8253C87
.string "Youre strong, so youve earned\n"
.string "a hint!\p"
.string "There appear to be two more\n"
.string "items on the ground.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253CE0:: @ 8253CE0
.string "Youre strong, so youve earned\n"
.string "a hint!\p"
.string "There appears to be only one more\n"
.string "item on the ground.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253D3E:: @ 8253D3E
.string "Youre strong, so youve earned\n"
.string "a hint!\p"
.string "There appear to be no more\n"
.string "items on the ground.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253D96:: @ 8253D96
.string "On this floor of the PYRAMID,\n"
.string "I hear there are eight items…$"
BattleFrontier_BattlePyramidEmptySquare_Text_253DD2:: @ 8253DD2
.string "On this floor of the PYRAMID,\n"
.string "I hear there are seven items…$"
BattleFrontier_BattlePyramidEmptySquare_Text_253E0E:: @ 8253E0E
.string "On this floor of the PYRAMID,\n"
.string "I hear there are six items…$"
BattleFrontier_BattlePyramidEmptySquare_Text_253E48:: @ 8253E48
.string "On this floor of the PYRAMID,\n"
.string "I hear there are five items…$"
BattleFrontier_BattlePyramidEmptySquare_Text_253E83:: @ 8253E83
.string "On this floor of the PYRAMID,\n"
.string "I hear there are four items…$"
BattleFrontier_BattlePyramidEmptySquare_Text_253EBE:: @ 8253EBE
.string "On this floor of the PYRAMID,\n"
.string "I hear there are three items…$"
BattleFrontier_BattlePyramidEmptySquare_Text_253EFA:: @ 8253EFA
.string "On this floor of the PYRAMID,\n"
.string "I hear there are two items…$"
BattleFrontier_BattlePyramidEmptySquare_Text_253F34:: @ 8253F34
.string "On this floor of the PYRAMID,\n"
.string "I hear there is one item…$"
BattleFrontier_BattlePyramidEmptySquare_Text_253F6C:: @ 8253F6C
.string "On this floor of the PYRAMID,\n"
.string "I hear there are no items…$"
BattleFrontier_BattlePyramidEmptySquare_Text_253FA5:: @ 8253FA5
.string "Have you collected any items?\p"
.string "I believe there are eight more\n"
.string "items on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_253FF7:: @ 8253FF7
.string "Have you collected any items?\p"
.string "I believe there are seven more\n"
.string "items on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_254049:: @ 8254049
.string "Have you collected any items?\p"
.string "I believe there are six more\n"
.string "items on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_254099:: @ 8254099
.string "Have you collected any items?\p"
.string "I believe there are five more\n"
.string "items on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_2540EA:: @ 82540EA
.string "Have you collected any items?\p"
.string "I believe there are four more\n"
.string "items on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_25413B:: @ 825413B
.string "Have you collected any items?\p"
.string "I believe there are three more\n"
.string "items on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_25418D:: @ 825418D
.string "Have you collected any items?\p"
.string "I believe there are two more\n"
.string "items on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_2541DD:: @ 82541DD
.string "Have you collected any items?\p"
.string "I believe there is one more\n"
.string "item on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_25422B:: @ 825422B
.string "Have you collected any items?\p"
.string "I believe there are no more\n"
.string "items on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_25427A:: @ 825427A
.string "You were really awesome!\p"
.string "But there are still seven tough\n"
.string "TRAINERS other than me!$"
BattleFrontier_BattlePyramidEmptySquare_Text_2542CB:: @ 82542CB
.string "You were really awesome!\p"
.string "But there are still six tough\n"
.string "TRAINERS other than me!$"
BattleFrontier_BattlePyramidEmptySquare_Text_25431A:: @ 825431A
.string "You were really awesome!\p"
.string "But there are still five tough\n"
.string "TRAINERS other than me!$"
BattleFrontier_BattlePyramidEmptySquare_Text_25436A:: @ 825436A
.string "You were really awesome!\p"
.string "But there are still four tough\n"
.string "TRAINERS other than me!$"
BattleFrontier_BattlePyramidEmptySquare_Text_2543BA:: @ 82543BA
.string "You were really awesome!\p"
.string "But there are still three tough\n"
.string "TRAINERS other than me!$"
BattleFrontier_BattlePyramidEmptySquare_Text_25440B:: @ 825440B
.string "You were really awesome!\p"
.string "But there are still two tough\n"
.string "TRAINERS other than me!$"
BattleFrontier_BattlePyramidEmptySquare_Text_25445A:: @ 825445A
.string "You were really awesome!\p"
.string "But theres still one tough\n"
.string "TRAINER other than me!$"
BattleFrontier_BattlePyramidEmptySquare_Text_2544A6:: @ 82544A6
.string "You were really awesome!\p"
.string "Theres no one left that\n"
.string "can beat you!$"
BattleFrontier_BattlePyramidEmptySquare_Text_2544E6:: @ 82544E6
.string "This is so upsetting!\p"
.string "But there are seven TRAINERS left!\n"
.string "Someone will humble you!$"
BattleFrontier_BattlePyramidEmptySquare_Text_254538:: @ 8254538
.string "This is so upsetting!\p"
.string "But there are six TRAINERS left!\n"
.string "Someone will humble you!$"
BattleFrontier_BattlePyramidEmptySquare_Text_254588:: @ 8254588
.string "This is so upsetting!\p"
.string "But there are five TRAINERS left!\n"
.string "Someone will humble you!$"
BattleFrontier_BattlePyramidEmptySquare_Text_2545D9:: @ 82545D9
.string "This is so upsetting!\p"
.string "But there are four TRAINERS left!\n"
.string "Someone will humble you!$"
BattleFrontier_BattlePyramidEmptySquare_Text_25462A:: @ 825462A
.string "This is so upsetting!\p"
.string "But there are three TRAINERS left!\n"
.string "Someone will humble you!$"
BattleFrontier_BattlePyramidEmptySquare_Text_25467C:: @ 825467C
.string "This is so upsetting!\p"
.string "But there are two TRAINERS left!\n"
.string "Someone will humble you!$"
BattleFrontier_BattlePyramidEmptySquare_Text_2546CC:: @ 82546CC
.string "This is so upsetting!\p"
.string "But theres one TRAINER left!\n"
.string "Im sure you will be humbled!$"
BattleFrontier_BattlePyramidEmptySquare_Text_25471E:: @ 825471E
.string "This is so upsetting!\p"
.string "But there are no more TRAINERS\n"
.string "who can engage you!$"
BattleFrontier_BattlePyramidEmptySquare_Text_254767:: @ 8254767
.string "Thats pretty impressive!\p"
.string "But there are seven more TRAINERS\n"
.string "on this floor. Can you beat them all?$"
BattleFrontier_BattlePyramidEmptySquare_Text_2547C9:: @ 82547C9
.string "Thats pretty impressive!\p"
.string "But there are six more TRAINERS\n"
.string "on this floor. Can you beat them all?$"
BattleFrontier_BattlePyramidEmptySquare_Text_254829:: @ 8254829
.string "Thats pretty impressive!\p"
.string "But there are five more TRAINERS\n"
.string "on this floor. Can you beat them all?$"
BattleFrontier_BattlePyramidEmptySquare_Text_25488A:: @ 825488A
.string "Thats pretty impressive!\p"
.string "But there are four more TRAINERS\n"
.string "on this floor. Can you beat them all?$"
BattleFrontier_BattlePyramidEmptySquare_Text_2548EB:: @ 82548EB
.string "Thats pretty impressive!\p"
.string "But there are three more TRAINERS\n"
.string "on this floor. Can you beat them all?$"
BattleFrontier_BattlePyramidEmptySquare_Text_25494D:: @ 825494D
.string "Thats pretty impressive!\p"
.string "But there are two more TRAINERS\n"
.string "on this floor. Can you beat them both?$"
BattleFrontier_BattlePyramidEmptySquare_Text_2549AE:: @ 82549AE
.string "Thats pretty impressive!\p"
.string "But theres still one more TRAINER\n"
.string "on this floor. Can you prevail?$"
BattleFrontier_BattlePyramidEmptySquare_Text_254A0B:: @ 8254A0B
.string "Thats pretty impressive!\p"
.string "Youve gone through all the TRAINERS\n"
.string "on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_254A59:: @ 8254A59
.string "Maybe you could sweep through\n"
.string "the seven TRAINERS left on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_254A9E:: @ 8254A9E
.string "Maybe you could sweep through\n"
.string "the six TRAINERS left on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_254AE1:: @ 8254AE1
.string "Maybe you could sweep through\n"
.string "the five TRAINERS left on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_254B25:: @ 8254B25
.string "Maybe you could sweep through\n"
.string "the four TRAINERS left on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_254B69:: @ 8254B69
.string "Maybe you could sweep through\n"
.string "the three TRAINERS left on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_254BAE:: @ 8254BAE
.string "Maybe you could sweep through\n"
.string "the two TRAINERS left on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_254BF1:: @ 8254BF1
.string "Maybe you could complete your sweep\n"
.string "with the one TRAINER left on this floor.$"
BattleFrontier_BattlePyramidEmptySquare_Text_254C3E:: @ 8254C3E
.string "There isnt a single person left who\n"
.string "can defeat you now…$"
BattleFrontier_BattlePyramidEmptySquare_Text_254C77:: @ 8254C77
.string "You may have what it takes to beat\n"
.string "the seven expert TRAINERS who remain.$"
BattleFrontier_BattlePyramidEmptySquare_Text_254CC0:: @ 8254CC0
.string "You may have what it takes to beat\n"
.string "the six expert TRAINERS who remain.$"
BattleFrontier_BattlePyramidEmptySquare_Text_254D07:: @ 8254D07
.string "You may have what it takes to beat\n"
.string "the five expert TRAINERS who remain.$"
BattleFrontier_BattlePyramidEmptySquare_Text_254D4F:: @ 8254D4F
.string "You may have what it takes to beat\n"
.string "the four expert TRAINERS who remain.$"
BattleFrontier_BattlePyramidEmptySquare_Text_254D97:: @ 8254D97
.string "You may have what it takes to beat\n"
.string "the three expert TRAINERS who remain.$"
BattleFrontier_BattlePyramidEmptySquare_Text_254DE0:: @ 8254DE0
.string "You may have what it takes to beat\n"
.string "the two expert TRAINERS who remain.$"
BattleFrontier_BattlePyramidEmptySquare_Text_254E27:: @ 8254E27
.string "You may have what it takes to beat\n"
.string "the one expert TRAINER who remains.$"
BattleFrontier_BattlePyramidEmptySquare_Text_254E6E:: @ 8254E6E
.string "Your skills are beyond reproach.\p"
.string "There are no more TRAINERS here\n"
.string "who have any chance of beating you.$"
BattleFrontier_BattlePyramidEmptySquare_Text_254ED3:: @ 8254ED3
.string "Can you keep winning against\n"
.string "the seven remaining TRAINERS?$"
BattleFrontier_BattlePyramidEmptySquare_Text_254F0E:: @ 8254F0E
.string "Can you keep winning against\n"
.string "the six remaining TRAINERS?$"
BattleFrontier_BattlePyramidEmptySquare_Text_254F47:: @ 8254F47
.string "Can you keep winning against\n"
.string "the five remaining TRAINERS?$"
BattleFrontier_BattlePyramidEmptySquare_Text_254F81:: @ 8254F81
.string "Can you keep winning against\n"
.string "the four remaining TRAINERS?$"
BattleFrontier_BattlePyramidEmptySquare_Text_254FBB:: @ 8254FBB
.string "Can you keep winning against\n"
.string "the three remaining TRAINERS?$"
BattleFrontier_BattlePyramidEmptySquare_Text_254FF6:: @ 8254FF6
.string "Can you keep winning against\n"
.string "the two remaining TRAINERS?$"
BattleFrontier_BattlePyramidEmptySquare_Text_25502F:: @ 825502F
.string "Can you keep winning against\n"
.string "the last remaining TRAINER?$"
BattleFrontier_BattlePyramidEmptySquare_Text_255068:: @ 8255068
.string "There arent any TRAINERS left that\n"
.string "can take you on now…$"

View File

@@ -52,7 +52,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_2507B1:: @ 82507B1
lockall
setvar VAR_0x8004, 10
special sub_81A1780
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_2507D2
msgbox BattleFrontier_BattlePyramidLobby_Text_2517B5, 4
goto BattleFrontier_BattlePyramidLobby_EventScript_2507DA
@@ -62,7 +62,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_2507D2:: @ 82507D2
BattleFrontier_BattlePyramidLobby_EventScript_2507DA:: @ 82507DA
special sub_81B95E0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattlePyramidLobby_EventScript_250DDB
clearflag FLAG_SPECIAL_FLAG_0x4004
setvar VAR_0x8004, 8
@@ -70,7 +70,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_2507DA:: @ 82507DA
special copy_player_party_from_sav1
setvar VAR_0x8004, 14
special sub_81A8E7C
special sp000_heal_pokemon
special HealPlayerParty
message BattleFrontier_BattlePyramidLobby_Text_2519F8
waitmessage
playse SE_EXPMAX
@@ -100,7 +100,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250852:: @ 8250852
special copy_player_party_from_sav1
setvar VAR_0x8004, 14
special sub_81A8E7C
special sp000_heal_pokemon
special HealPlayerParty
lockall
message BattleFrontier_BattlePyramidLobby_Text_251B5A
waitmessage
@@ -153,7 +153,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250904:: @ 8250904
case 127, BattleFrontier_BattlePyramidLobby_EventScript_250AC4
setvar VAR_0x8004, 15
special sub_81A1780
compare_var_to_value VAR_0x8004, 1
compare VAR_0x8004, 1
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250A75
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
@@ -166,7 +166,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250904:: @ 8250904
setvar VAR_0x8005, 3
special sub_80F9490
waitstate
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250AC1
msgbox BattleFrontier_BattlePyramidLobby_Text_2514E6, 5
switch VAR_RESULT
@@ -202,7 +202,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_2509A5:: @ 82509A5
delay 2
call BattleFrontier_BattlePyramidLobby_EventScript_27134F
setvar VAR_0x4000, 255
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250AAA
BattleFrontier_BattlePyramidLobby_EventScript_250A21:: @ 8250A21
@@ -218,7 +218,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250A21:: @ 8250A21
setvar VAR_0x8006, 0
special sub_81A1780
setvar VAR_RESULT, 0
special sp000_heal_pokemon
special HealPlayerParty
warp BATTLE_FRONTIER_BATTLE_PYRAMID_EMPTY_SQUARE, 255, 1, 1
setvar VAR_0x4000, 0
waitstate
@@ -285,7 +285,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250B28:: @ 8250B28
setvar VAR_0x8004, 1
setvar VAR_0x8005, 5
special sub_81A8E7C
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePyramidLobby_EventScript_250B53
setvar VAR_RESULT, 0
goto BattleFrontier_BattlePyramidLobby_EventScript_250BA4
@@ -303,7 +303,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250B66:: @ 8250B66
setvar VAR_0x8004, 1
setvar VAR_0x8005, 6
special sub_81A8E7C
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePyramidLobby_EventScript_250B91
setvar VAR_RESULT, 0
goto BattleFrontier_BattlePyramidLobby_EventScript_250BA4
@@ -440,7 +440,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250D56:: @ 8250D56
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
special sub_81A8E7C
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250D94
msgbox BattleFrontier_BattlePyramidLobby_Text_2515AD, 4
goto BattleFrontier_BattlePyramidLobby_EventScript_250D9C
@@ -496,7 +496,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250DDB:: @ 8250DDB
msgbox BattleFrontier_BattlePyramidLobby_Text_2517FC, 4
setflag FLAG_SPECIAL_FLAG_0x4004
special sub_81C6A94
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250E00
message BattleFrontier_BattlePyramidLobby_Text_2518C6
waitmessage
@@ -534,7 +534,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250E50:: @ 8250E50
BattleFrontier_BattlePyramidLobby_EventScript_250E60:: @ 8250E60
special sub_81B95E0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePyramidLobby_EventScript_250E6F
return

View File

@@ -20,7 +20,7 @@ BattleFrontier_BattlePyramidTop_MapScript2_2550CE: @ 82550CE
BattleFrontier_BattlePyramidTop_EventScript_2550D8:: @ 82550D8
setvar VAR_0x4001, 1
turnobject 255, 2
compare_var_to_value VAR_0x400C, 0
compare VAR_0x400C, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_2550F3
setobjectxyperm 2, 0, 0
@@ -30,7 +30,7 @@ BattleFrontier_BattlePyramidTop_EventScript_2550F3:: @ 82550F3
BattleFrontier_BattlePyramidTop_MapScript1_2550F4: @ 82550F4
setvar VAR_0x8004, 9
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidTop_EventScript_25510C
call BattleFrontier_BattlePyramidTop_EventScript_242170
@@ -45,11 +45,11 @@ BattleFrontier_BattlePyramidTop_EventScript_25510C:: @ 825510C
setvar VAR_0x8004, 1
setvar VAR_0x8005, 5
special sub_81A1780
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
compare_var_to_value VAR_RESULT, 3
compare VAR_RESULT, 3
goto_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
compare_var_to_value VAR_RESULT, 9
compare VAR_RESULT, 9
goto_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
end
@@ -59,7 +59,7 @@ BattleFrontier_BattlePyramidTop_MapScript2_25516E: @ 825516E
.2byte 0
BattleFrontier_BattlePyramidTop_EventScript_255180:: @ 8255180
playbgm BGM_BATTLE_PYRAMID_SUMMIT, 0
playbgm MUS_PYRAMID_TOP, 0
setvar VAR_0x400E, 1
end
@@ -88,9 +88,9 @@ BattleFrontier_BattlePyramidTop_EventScript_255193:: @ 8255193
BattleFrontier_BattlePyramidTop_EventScript_2551D0:: @ 82551D0
lock
faceplayer
compare_var_to_value VAR_0x400D, 0
compare VAR_0x400D, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_255236
compare_var_to_value VAR_0x400C, 0
compare VAR_0x400C, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_255240
msgbox BattleFrontier_BattlePyramidTop_Text_255410, 4
closemessage
@@ -102,7 +102,7 @@ BattleFrontier_BattlePyramidTop_EventScript_2551D0:: @ 82551D0
waitmovement 0
message BattleFrontier_BattlePyramidTop_Text_2554E8
waitmessage
playfanfare BGM_ME_BATTLE_POINTS
playfanfare MUS_ME_POINTGET
waitfanfare
closemessage
@@ -136,7 +136,7 @@ BattleFrontier_BattlePyramidTop_EventScript_255256:: @ 8255256
setvar VAR_0x8004, 1
setvar VAR_0x8005, 7
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_2552D0
special SpawnScriptFieldObject
applymovement 127, BattleFrontier_BattlePyramidTop_Movement_25540C
@@ -159,18 +159,18 @@ BattleFrontier_BattlePyramidTop_EventScript_2552D0:: @ 82552D0
BattleFrontier_BattlePyramidTop_EventScript_2552DA:: @ 82552DA
msgbox BattleFrontier_BattlePyramidTop_Text_255846, 4
call BattleFrontier_BattlePyramidTop_EventScript_2553ED
playbgm BGM_BATTLE_PYRAMID_SUMMIT, 0
compare_var_to_value VAR_RESULT, 1
playbgm MUS_PYRAMID_TOP, 0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePyramidTop_EventScript_2552FB
goto BattleFrontier_BattlePyramidTop_EventScript_252B42
BattleFrontier_BattlePyramidTop_EventScript_2552FB:: @ 82552FB
setvar VAR_0x8004, 12
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_25521A
msgbox BattleFrontier_BattlePyramidTop_Text_255873, 4
playfanfare BGM_ME_BATTLE_SYMBOL
playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattlePyramidTop_Text_2558E9
waitmessage
waitfanfare
@@ -183,7 +183,7 @@ BattleFrontier_BattlePyramidTop_EventScript_255335:: @ 8255335
setvar VAR_0x8004, 1
setvar VAR_0x8005, 7
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattlePyramidTop_EventScript_255388
special SpawnScriptFieldObject
applymovement 127, BattleFrontier_BattlePyramidTop_Movement_25540C
@@ -206,18 +206,18 @@ BattleFrontier_BattlePyramidTop_EventScript_255388:: @ 8255388
BattleFrontier_BattlePyramidTop_EventScript_255392:: @ 8255392
msgbox BattleFrontier_BattlePyramidTop_Text_255AA1, 4
call BattleFrontier_BattlePyramidTop_EventScript_2553ED
playbgm BGM_BATTLE_PYRAMID_SUMMIT, 0
compare_var_to_value VAR_RESULT, 1
playbgm MUS_PYRAMID_TOP, 0
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattlePyramidTop_EventScript_2553B3
goto BattleFrontier_BattlePyramidTop_EventScript_252B42
BattleFrontier_BattlePyramidTop_EventScript_2553B3:: @ 82553B3
setvar VAR_0x8004, 12
special sub_81A1780
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattlePyramidTop_EventScript_25521A
msgbox BattleFrontier_BattlePyramidTop_Text_255ACD, 4
playfanfare BGM_ME_BATTLE_SYMBOL
playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattlePyramidTop_Text_255B59
waitmessage
waitfanfare

View File

@@ -23,7 +23,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241B6C:: @ 8241B6C
setvar VAR_0x8004, 1
setvar VAR_0x8005, 2
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241BC3
applymovement 2, BattleFrontier_BattleTowerBattleRoom_Movement_24218D
waitmovement 0
@@ -75,29 +75,29 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241C2F:: @ 8241C2F
removeobject 1
setvar VAR_0x8004, 9
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_241EC3
applymovement 2, BattleFrontier_BattleTowerBattleRoom_Movement_24218D
waitmovement 0
applymovement 255, BattleFrontier_BattleTowerBattleRoom_Movement_24217E
waitmovement 0
msgbox BattleFrontier_BattleTowerBattleRoom_Text_242217, 4
playfanfare BGM_ME_ASA
playfanfare MUS_ME_ASA
waitfanfare
special sp000_heal_pokemon
special HealPlayerParty
BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F:: @ 8241C8F
setvar VAR_0x8004, 9
special sub_81A1780
copyvar VAR_0x400F, VAR_RESULT
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_241F0A
setvar VAR_0x8004, 1
setvar VAR_0x8005, 2
special sub_81A1780
call BattleFrontier_BattleTowerBattleRoom_EventScript_241E44
call BattleFrontier_BattleTowerBattleRoom_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241D0A
multichoice 19, 4, 103, 1
switch VAR_RESULT
@@ -245,7 +245,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241EC3:: @ 8241EC3
return
BattleFrontier_BattleTowerBattleRoom_EventScript_241F0A:: @ 8241F0A
compare_var_to_value VAR_0x4002, 1
compare VAR_0x4002, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241F22
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2424C2, 4
setvar VAR_0x4002, 1
@@ -254,7 +254,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241F22:: @ 8241F22
message BattleFrontier_BattleTowerBattleRoom_Text_242542
waitmessage
call BattleFrontier_BattleTowerBattleRoom_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241F79
multichoice 19, 4, 103, 1
switch VAR_RESULT
@@ -289,7 +289,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241FAF:: @ 8241FAF
setvar VAR_0x8004, 1
setvar VAR_0x8005, 7
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_242029
msgbox BattleFrontier_BattleTowerBattleRoom_Text_242579, 4
setvar VAR_0x8004, 2
@@ -299,7 +299,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241FAF:: @ 8241FAF
BattleFrontier_BattleTowerBattleRoom_EventScript_242029:: @ 8242029
msgbox BattleFrontier_BattleTowerBattleRoom_Text_24268C, 4
call BattleFrontier_BattleTowerBattleRoom_EventScript_24210E
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_242046
goto BattleFrontier_BattleTowerBattleRoom_EventScript_241C03
@@ -307,10 +307,10 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_242046:: @ 8242046
call BattleFrontier_BattleTowerBattleRoom_EventScript_241EBA
setvar VAR_0x8004, 12
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2426B4, 4
playfanfare BGM_ME_BATTLE_SYMBOL
playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattleTowerBattleRoom_Text_24270E
waitmessage
waitfanfare
@@ -323,7 +323,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_242085:: @ 8242085
setvar VAR_0x8004, 1
setvar VAR_0x8005, 7
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_2420B2
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2427F9, 4
setvar VAR_0x8004, 2
@@ -333,7 +333,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_242085:: @ 8242085
BattleFrontier_BattleTowerBattleRoom_EventScript_2420B2:: @ 82420B2
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2428E0, 4
call BattleFrontier_BattleTowerBattleRoom_EventScript_24210E
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2420CF
goto BattleFrontier_BattleTowerBattleRoom_EventScript_241C03
@@ -341,10 +341,10 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_2420CF:: @ 82420CF
call BattleFrontier_BattleTowerBattleRoom_EventScript_241EBA
setvar VAR_0x8004, 12
special sub_81A1780
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2428F7, 4
playfanfare BGM_ME_BATTLE_SYMBOL
playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattleTowerBattleRoom_Text_242932
waitmessage
waitfanfare
@@ -361,17 +361,17 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_24210E:: @ 824210E
setvar VAR_0x8005, 6
setvar VAR_0x8006, 0
special sub_81A1780
special sp000_heal_pokemon
special HealPlayerParty
setvar VAR_0x8004, 0
setvar VAR_0x8005, 0
special sub_8163AC4
waitstate
copyvar VAR_0x8004, VAR_0x40CE
compare_var_to_value VAR_0x8004, 3
compare VAR_0x8004, 3
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_24215A
setvar VAR_0x8004, 18
special sub_81A1780
special sp000_heal_pokemon
special HealPlayerParty
setvar VAR_0x8004, 21
special sub_81A1780
@@ -485,11 +485,11 @@ BattleFrontier_BattleTowerBattleRoom_Movement_2421B2: @ 82421B2
BattleFrontier_BattleTowerBattleRoom2_EventScript_2421B8:: @ 82421B8
BattleFrontier_BattleTowerBattleRoom_EventScript_2421B8:: @ 82421B8
copyvar VAR_RESULT, VAR_0x40CE
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421E8
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421F2
compare_var_to_value VAR_RESULT, 3
compare VAR_RESULT, 3
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421FC
warp BATTLE_FRONTIER_BATTLE_TOWER_LOBBY, 255, 6, 6
waitstate

View File

@@ -5,9 +5,9 @@ BattleFrontier_BattleTowerBattleRoom2_MapScripts:: @ 8248EE8
.byte 0
BattleFrontier_BattleTowerBattleRoom2_MapScript1_248EF8: @ 8248EF8
compare_var_to_value VAR_0x40CE, 2
compare VAR_0x40CE, 2
call_if 1, BattleFrontier_BattleTowerBattleRoom2_EventScript_248F0F
compare_var_to_value VAR_0x40CE, 3
compare VAR_0x40CE, 3
call_if 1, BattleFrontier_BattleTowerBattleRoom2_EventScript_248F2F
end
@@ -15,7 +15,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_248F0F:: @ 8248F0F
setvar VAR_0x8004, 14
special sub_8161F74
checkplayergender
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_248F29
setvar VAR_0x401F, 0
return
@@ -48,7 +48,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_248F4D:: @ 8248F4D
setvar VAR_0x8004, 1
setvar VAR_0x8005, 2
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_248FB4
applymovement 2, BattleFrontier_BattleTowerBattleRoom2_Movement_24953E
applymovement 3, BattleFrontier_BattleTowerBattleRoom2_Movement_24953E
@@ -70,7 +70,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_248FB4:: @ 8248FB4
applymovement 1, BattleFrontier_BattleTowerBattleRoom2_Movement_249528
applymovement 4, BattleFrontier_BattleTowerBattleRoom2_Movement_24952E
waitmovement 0
compare_var_to_value VAR_0x40CE, 3
compare VAR_0x40CE, 3
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249026
setvar VAR_0x8004, 7
setvar VAR_0x8005, 0
@@ -142,7 +142,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_2490AA:: @ 82490AA
applymovement 5, BattleFrontier_BattleTowerBattleRoom2_Movement_249524
applymovement 6, BattleFrontier_BattleTowerBattleRoom2_Movement_249524
waitmovement 0
compare_var_to_value VAR_0x40CE, 3
compare VAR_0x40CE, 3
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249118
msgbox BattleFrontier_BattleTowerBattleRoom2_Text_242217, 4
goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249121
@@ -157,21 +157,21 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_249121:: @ 8249121
setvar VAR_0x8004, 3
setvar VAR_0x8005, 2
special sub_81A1780
compare_var_to_value VAR_0x40CE, 3
compare VAR_0x40CE, 3
call_if 1, BattleFrontier_BattleTowerBattleRoom2_EventScript_249514
playfanfare BGM_ME_ASA
playfanfare MUS_ME_ASA
waitfanfare
special sp000_heal_pokemon
special HealPlayerParty
BattleFrontier_BattleTowerBattleRoom2_EventScript_249143:: @ 8249143
setvar VAR_0x8004, 1
setvar VAR_0x8005, 2
special sub_81A1780
call BattleFrontier_BattleTowerBattleRoom2_EventScript_2492FD
compare_var_to_value VAR_0x40CE, 3
compare VAR_0x40CE, 3
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249283
call BattleFrontier_BattleTowerBattleRoom2_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_2491B1
multichoice 19, 4, 103, 1
switch VAR_RESULT
@@ -256,7 +256,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_2492DB:: @ 82492DB
end
BattleFrontier_BattleTowerBattleRoom2_EventScript_2492FD:: @ 82492FD
compare_var_to_value VAR_0x40CE, 3
compare VAR_0x40CE, 3
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_24937E
copyvar VAR_0x400F, VAR_RESULT
switch VAR_0x400F
@@ -374,7 +374,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_249483:: @ 8249483
waitmessage
special sub_813B568
waitstate
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleTowerBattleRoom2_EventScript_24907E
goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249412
end
@@ -395,7 +395,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_2494DD:: @ 82494DD
message BattleFrontier_BattleTowerBattleRoom2_Text_24244C
waitmessage
multichoicedefault 20, 8, 94, 1, 0
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_2494FA
goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249143
end

View File

@@ -4,7 +4,7 @@ BattleFrontier_BattleTowerCorridor_MapScripts:: @ 8241AAA
.byte 0
BattleFrontier_BattleTowerCorridor_MapScript1_241AB5: @ 8241AB5
compare_var_to_value VAR_0x8006, 1
compare VAR_0x8006, 1
goto_eq BattleFrontier_BattleTowerCorridor_EventScript_241AD3
setmetatile 12, 0, 519, 0
setmetatile 12, 1, 527, 0
@@ -21,7 +21,7 @@ BattleFrontier_BattleTowerCorridor_MapScript2_241AE6: @ 8241AE6
BattleFrontier_BattleTowerCorridor_EventScript_241AF0:: @ 8241AF0
setvar VAR_0x4000, 1
compare_var_to_value VAR_0x8006, 1
compare VAR_0x8006, 1
goto_eq BattleFrontier_BattleTowerCorridor_EventScript_241B16
applymovement 1, BattleFrontier_BattleTowerCorridor_Movement_241B3A
applymovement 255, BattleFrontier_BattleTowerCorridor_Movement_241B39

View File

@@ -5,9 +5,9 @@ BattleFrontier_BattleTowerCorridor2_MapScripts:: @ 8248D4A
.byte 0
BattleFrontier_BattleTowerCorridor2_MapScript1_248D5A: @ 8248D5A
compare_var_to_value VAR_0x40CE, 2
compare VAR_0x40CE, 2
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248D71
compare_var_to_value VAR_0x40CE, 3
compare VAR_0x40CE, 3
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248D91
end
@@ -15,7 +15,7 @@ BattleFrontier_BattleTowerCorridor2_EventScript_248D71:: @ 8248D71
setvar VAR_0x8004, 14
special sub_8161F74
checkplayergender
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerCorridor2_EventScript_248D8B
setvar VAR_0x401F, 0
return
@@ -87,13 +87,13 @@ BattleFrontier_BattleTowerCorridor2_EventScript_248DBC:: @ 8248DBC
end
BattleFrontier_BattleTowerCorridor2_EventScript_248E71:: @ 8248E71
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248E9E
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248E9E
compare_var_to_value VAR_0x40CE, 2
compare VAR_0x40CE, 2
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248EA8
compare_var_to_value VAR_0x40CE, 3
compare VAR_0x40CE, 3
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248EB2
return

View File

@@ -24,13 +24,13 @@ BattleFrontier_BattleTowerElevator_EventScript_2419F0:: @ 82419F0
end
BattleFrontier_BattleTowerElevator_EventScript_241A28:: @ 8241A28
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleTowerElevator_EventScript_241A55
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleTowerElevator_EventScript_241A55
compare_var_to_value VAR_0x40CE, 2
compare VAR_0x40CE, 2
call_if 1, BattleFrontier_BattleTowerElevator_EventScript_241A5F
compare_var_to_value VAR_0x40CE, 3
compare VAR_0x40CE, 3
call_if 1, BattleFrontier_BattleTowerElevator_EventScript_241A72
return

View File

@@ -13,7 +13,7 @@ BattleFrontier_BattleTowerLobby_MapScript1_23E694: @ 823E694
call BattleFrontier_BattleTowerLobby_EventScript_28CC84
setvar VAR_0x8004, 10
special sub_81A085C
compare_var_to_value VAR_0x8004, 0
compare VAR_0x8004, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E6B5
checkflag FLAG_0x934
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E6C1
@@ -78,7 +78,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E758:: @ 823E758
faceplayer
setvar VAR_0x8004, 10
special sub_81A1780
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E778
message BattleFrontier_BattleTowerLobby_Text_23F60D
waitmessage
@@ -90,11 +90,11 @@ BattleFrontier_BattleTowerLobby_EventScript_23E778:: @ 823E778
BattleFrontier_BattleTowerLobby_EventScript_23E780:: @ 823E780
setvar VAR_0x8004, 5
special sub_8161F74
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E7A5
message BattleFrontier_BattleTowerLobby_Text_23F844
waitmessage
playfanfare BGM_FANFA4
playfanfare MUS_FANFA4
waitfanfare
msgbox BattleFrontier_BattleTowerLobby_Text_23F89F, 4
@@ -107,7 +107,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E7A5:: @ 823E7A5
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
special sub_8161F74
compare_var_to_value VAR_RESULT, 49
compare VAR_RESULT, 49
goto_if 5, BattleFrontier_BattleTowerLobby_EventScript_23E7E2
msgbox BattleFrontier_BattleTowerLobby_Text_23F79D, 4
@@ -119,14 +119,14 @@ BattleFrontier_BattleTowerLobby_EventScript_23E7E2:: @ 823E7E2
end
BattleFrontier_BattleTowerLobby_EventScript_23E7F2:: @ 823E7F2
compare_var_to_value VAR_0x40CE, 2
compare VAR_0x40CE, 2
goto_if 5, BattleFrontier_BattleTowerLobby_EventScript_23E81E
checkflag FLAG_0x152
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E81E
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
special sub_8161F74
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleTowerLobby_EventScript_23E830
BattleFrontier_BattleTowerLobby_EventScript_23E81E:: @ 823E81E
@@ -153,14 +153,14 @@ BattleFrontier_BattleTowerLobby_EventScript_23E84D:: @ 823E84D
setvar VAR_0x8004, 8
special sub_81A1780
special copy_player_party_from_sav1
special sp000_heal_pokemon
special HealPlayerParty
setvar VAR_0x8004, 6
setvar VAR_0x8005, 0
special sub_8161F74
playse SE_SAVE
waitse
call BattleFrontier_BattleTowerLobby_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E8DF
message BattleFrontier_BattleTowerLobby_Text_23FE3C
waitmessage
@@ -183,7 +183,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_23E8B4:: @ 823E8B4
BattleFrontier_BattleTowerLobby_EventScript_23E8B4:: @ 823E8B4
setvar VAR_0x8004, 19
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23E8D7
playse SE_SAVE
msgbox BattleFrontier_BattleTowerLobby_Text_2423CD, 4
@@ -214,7 +214,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E8E0:: @ 823E8E0
BattleFrontier_BattleTowerLobby_EventScript_23E8EE:: @ 823E8EE
lock
faceplayer
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23E930
message BattleFrontier_BattleTowerLobby_Text_23F737
waitmessage
@@ -263,7 +263,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E984:: @ 823E984
case 127, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
setvar VAR_0x8004, 15
special sub_81A1780
compare_var_to_value VAR_0x8004, 1
compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
@@ -276,7 +276,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E984:: @ 823E984
setvar VAR_0x8005, 3
special sub_80F9490
waitstate
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, 5
switch VAR_RESULT
@@ -304,7 +304,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EA2A:: @ 823EA2A
delay 2
call BattleFrontier_BattleTowerLobby_EventScript_27134F
setvar VAR_0x4000, 255
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
incrementgamestat 30
setvar VAR_0x40BC, 1
@@ -343,7 +343,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EAED:: @ 823EAED
case 127, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
setvar VAR_0x8004, 15
special sub_81A1780
compare_var_to_value VAR_0x8004, 1
compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
@@ -356,7 +356,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EAED:: @ 823EAED
setvar VAR_0x8005, 4
special sub_80F9490
waitstate
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, 5
switch VAR_RESULT
@@ -384,7 +384,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EB93:: @ 823EB93
delay 2
call BattleFrontier_BattleTowerLobby_EventScript_27134F
setvar VAR_0x4000, 255
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
incrementgamestat 30
setvar VAR_0x40BC, 0
@@ -424,7 +424,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EC59:: @ 823EC59
case 127, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
setvar VAR_0x8004, 15
special sub_81A1780
compare_var_to_value VAR_0x8004, 1
compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
@@ -437,7 +437,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EC59:: @ 823EC59
setvar VAR_0x8005, 2
special sub_80F9490
waitstate
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, 5
switch VAR_RESULT
@@ -465,7 +465,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23ECFF:: @ 823ECFF
delay 2
call BattleFrontier_BattleTowerLobby_EventScript_27134F
setvar VAR_0x4000, 255
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
incrementgamestat 30
setvar VAR_0x40BC, 0
@@ -504,7 +504,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EDC2:: @ 823EDC2
case 127, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
setvar VAR_0x8004, 15
special sub_81A1780
compare_var_to_value VAR_0x8004, 1
compare VAR_0x8004, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
@@ -517,7 +517,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EDC2:: @ 823EDC2
setvar VAR_0x8005, 2
special sub_80F9490
waitstate
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, 5
switch VAR_RESULT
@@ -548,11 +548,11 @@ BattleFrontier_BattleTowerLobby_EventScript_23EE68:: @ 823EE68
special sub_8161F74
call BattleFrontier_BattleTowerLobby_EventScript_27134F
setvar VAR_0x4000, 255
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
incrementgamestat 30
specialvar VAR_RESULT, sub_80093CC
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F3E8
goto BattleFrontier_BattleTowerLobby_EventScript_23F2C5
end
@@ -605,9 +605,9 @@ BattleFrontier_BattleTowerLobby_EventScript_23EF80:: @ 823EF80
end
BattleFrontier_BattleTowerLobby_EventScript_23EF8A:: @ 823EF8A
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23EFA1
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23EFAB
end
@@ -743,7 +743,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23F108:: @ 823F108
setvar VAR_0x8004, 12
special sub_8161F74
delay 1
compare_var_to_value VAR_RESULT, 6
compare VAR_RESULT, 6
goto_if 5, BattleFrontier_BattleTowerLobby_EventScript_23F108
call BattleFrontier_BattleTowerLobby_EventScript_23F135
clearflag FLAG_0x077
@@ -754,7 +754,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23F108:: @ 823F108
BattleFrontier_BattleTowerLobby_EventScript_23F135:: @ 823F135
call BattleFrontier_BattleTowerLobby_EventScript_23F1A7
compare_var_to_value VAR_0x40CE, 3
compare VAR_0x40CE, 3
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F152
msgbox BattleFrontier_BattleTowerLobby_Text_23FE11, 4
goto BattleFrontier_BattleTowerLobby_EventScript_23F15B
@@ -807,13 +807,13 @@ BattleFrontier_BattleTowerLobby_Movement_23F1A0: @ 823F1A0
step_end
BattleFrontier_BattleTowerLobby_EventScript_23F1A7:: @ 823F1A7
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F1D4
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F1D9
compare_var_to_value VAR_0x40CE, 2
compare VAR_0x40CE, 2
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F1DE
compare_var_to_value VAR_0x40CE, 3
compare VAR_0x40CE, 3
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F1E3
return
@@ -834,13 +834,13 @@ BattleFrontier_BattleTowerLobby_EventScript_23F1E3:: @ 823F1E3
return
BattleFrontier_BattleTowerLobby_EventScript_23F1E8:: @ 823F1E8
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F215
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F21B
compare_var_to_value VAR_0x40CE, 2
compare VAR_0x40CE, 2
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F221
compare_var_to_value VAR_0x40CE, 3
compare VAR_0x40CE, 3
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F227
return
@@ -861,13 +861,13 @@ BattleFrontier_BattleTowerLobby_EventScript_23F227:: @ 823F227
return
BattleFrontier_BattleTowerLobby_EventScript_23F22D:: @ 823F22D
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F25A
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F260
compare_var_to_value VAR_0x40CE, 2
compare VAR_0x40CE, 2
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F266
compare_var_to_value VAR_0x40CE, 3
compare VAR_0x40CE, 3
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F26C
return
@@ -888,13 +888,13 @@ BattleFrontier_BattleTowerLobby_EventScript_23F26C:: @ 823F26C
return
BattleFrontier_BattleTowerLobby_EventScript_23F272:: @ 823F272
compare_var_to_value VAR_0x40CE, 0
compare VAR_0x40CE, 0
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F29F
compare_var_to_value VAR_0x40CE, 1
compare VAR_0x40CE, 1
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F2A5
compare_var_to_value VAR_0x40CE, 2
compare VAR_0x40CE, 2
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F2AB
compare_var_to_value VAR_0x40CE, 3
compare VAR_0x40CE, 3
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F2B1
return
@@ -934,25 +934,25 @@ BattleFrontier_BattleTowerLobby_EventScript_23F2C5:: @ 823F2C5
setvar VAR_0x8005, 0
special sub_80B2DA4
waitstate
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F3AF
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleTowerLobby_EventScript_2772D2
compare_var_to_value VAR_RESULT, 3
compare VAR_RESULT, 3
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F327
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F351
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E6
compare_var_to_value VAR_RESULT, 6
compare VAR_RESULT, 6
goto_eq BattleFrontier_BattleTowerLobby_EventScript_2772C5
compare_var_to_value VAR_RESULT, 11
compare VAR_RESULT, 11
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F366
end
BattleFrontier_BattleTowerLobby_EventScript_23F327:: @ 823F327
special CloseLink
compare_var_to_value VAR_0x8005, 3
compare VAR_0x8005, 3
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F33F
msgbox BattleFrontier_BattleTowerLobby_Text_278255, 4
release
@@ -973,11 +973,11 @@ BattleFrontier_BattleTowerLobby_EventScript_23F351:: @ 823F351
BattleFrontier_BattleTowerLobby_EventScript_23F366:: @ 823F366
special CloseLink
compare_var_to_value VAR_0x8005, 0
compare VAR_0x8005, 0
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F394
compare_var_to_value VAR_0x8005, 1
compare VAR_0x8005, 1
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F39D
compare_var_to_value VAR_0x8005, 2
compare VAR_0x8005, 2
call_if 1, BattleFrontier_BattleTowerLobby_EventScript_23F3A6
msgbox BattleFrontier_BattleTowerLobby_Text_2413DE, 4
release
@@ -1034,26 +1034,26 @@ BattleFrontier_BattleTowerLobby_EventScript_23F3F3:: @ 823F3F3
BattleFrontier_BattleTowerLobby_EventScript_23F430:: @ 823F430
call BattleFrontier_BattleTowerLobby_EventScript_277B30
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F496
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F3F3
compare_var_to_value VAR_RESULT, 8
compare VAR_RESULT, 8
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F430
compare_var_to_value VAR_RESULT, 11
compare VAR_RESULT, 11
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F366
release
return
BattleFrontier_BattleTowerLobby_EventScript_23F463:: @ 823F463
call BattleFrontier_BattleTowerLobby_EventScript_277B35
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F496
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F3F3
compare_var_to_value VAR_RESULT, 8
compare VAR_RESULT, 8
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F463
compare_var_to_value VAR_RESULT, 11
compare VAR_RESULT, 11
goto_eq BattleFrontier_BattleTowerLobby_EventScript_23F366
release
return

View File

@@ -15,9 +15,9 @@ BattleFrontier_Lounge1_EventScript_25E775:: @ 825E775
BattleFrontier_Lounge1_EventScript_25E792:: @ 825E792
special sub_81B94B0
waitstate
compare_var_to_value VAR_0x8004, 255
compare VAR_0x8004, 255
goto_if 5, BattleFrontier_Lounge1_EventScript_25E7BF
compare_var_to_value VAR_0x8004, 255
compare VAR_0x8004, 255
goto_eq BattleFrontier_Lounge1_EventScript_25E943
end
@@ -30,17 +30,17 @@ BattleFrontier_Lounge1_EventScript_25E7B6:: @ 825E7B6
return
BattleFrontier_Lounge1_EventScript_25E7BF:: @ 825E7BF
specialvar VAR_RESULT, sub_81396E0
compare_var_to_value VAR_RESULT, 412
specialvar VAR_RESULT, ScriptGetPartyMonSpecies
compare VAR_RESULT, 412
goto_eq BattleFrontier_Lounge1_EventScript_25E7FF
special sub_8139D98
compare_var_to_value VAR_0x8005, 90
compare VAR_0x8005, 90
goto_if 3, BattleFrontier_Lounge1_EventScript_25E87F
compare_var_to_value VAR_0x8005, 120
compare VAR_0x8005, 120
goto_if 3, BattleFrontier_Lounge1_EventScript_25E88D
compare_var_to_value VAR_0x8005, 150
compare VAR_0x8005, 150
goto_if 3, BattleFrontier_Lounge1_EventScript_25E89B
compare_var_to_value VAR_0x8005, 151
compare VAR_0x8005, 151
goto_if 4, BattleFrontier_Lounge1_EventScript_25E8A9
end
@@ -50,28 +50,28 @@ BattleFrontier_Lounge1_EventScript_25E7FF:: @ 825E7FF
end
BattleFrontier_Lounge1_EventScript_25E80D:: @ 825E80D
compare_var_to_value VAR_0x8006, 0
compare VAR_0x8006, 0
goto_eq BattleFrontier_Lounge1_EventScript_25E8B7
compare_var_to_value VAR_0x8006, 1
compare VAR_0x8006, 1
goto_eq BattleFrontier_Lounge1_EventScript_25E8C5
compare_var_to_value VAR_0x8006, 2
compare VAR_0x8006, 2
goto_eq BattleFrontier_Lounge1_EventScript_25E8D3
compare_var_to_value VAR_0x8006, 3
compare VAR_0x8006, 3
goto_eq BattleFrontier_Lounge1_EventScript_25E8E1
compare_var_to_value VAR_0x8006, 4
compare VAR_0x8006, 4
goto_eq BattleFrontier_Lounge1_EventScript_25E8EF
compare_var_to_value VAR_0x8006, 5
compare VAR_0x8006, 5
goto_eq BattleFrontier_Lounge1_EventScript_25E8FD
end
BattleFrontier_Lounge1_EventScript_25E850:: @ 825E850
compare_var_to_value VAR_0x8007, 15
compare VAR_0x8007, 15
goto_if 3, BattleFrontier_Lounge1_EventScript_25E90B
compare_var_to_value VAR_0x8007, 25
compare VAR_0x8007, 25
goto_if 3, BattleFrontier_Lounge1_EventScript_25E919
compare_var_to_value VAR_0x8007, 30
compare VAR_0x8007, 30
goto_if 3, BattleFrontier_Lounge1_EventScript_25E927
compare_var_to_value VAR_0x8007, 31
compare VAR_0x8007, 31
goto_if 4, BattleFrontier_Lounge1_EventScript_25E935
end

View File

@@ -17,29 +17,29 @@ BattleFrontier_Lounge2_EventScript_26065F:: @ 826065F
end
BattleFrontier_Lounge2_EventScript_26066D:: @ 826066D
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 0
compare VAR_FRONTIER_MANIAC_FACILITY, 0
call_if 1, BattleFrontier_Lounge2_EventScript_26070A
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 1
compare VAR_FRONTIER_MANIAC_FACILITY, 1
call_if 1, BattleFrontier_Lounge2_EventScript_26070F
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 2
compare VAR_FRONTIER_MANIAC_FACILITY, 2
call_if 1, BattleFrontier_Lounge2_EventScript_260714
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 3
compare VAR_FRONTIER_MANIAC_FACILITY, 3
call_if 1, BattleFrontier_Lounge2_EventScript_260719
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 4
compare VAR_FRONTIER_MANIAC_FACILITY, 4
call_if 1, BattleFrontier_Lounge2_EventScript_26071E
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 5
compare VAR_FRONTIER_MANIAC_FACILITY, 5
call_if 1, BattleFrontier_Lounge2_EventScript_260723
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 6
compare VAR_FRONTIER_MANIAC_FACILITY, 6
call_if 1, BattleFrontier_Lounge2_EventScript_260728
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 7
compare VAR_FRONTIER_MANIAC_FACILITY, 7
call_if 1, BattleFrontier_Lounge2_EventScript_26072D
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 8
compare VAR_FRONTIER_MANIAC_FACILITY, 8
call_if 1, BattleFrontier_Lounge2_EventScript_260732
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 9
compare VAR_FRONTIER_MANIAC_FACILITY, 9
call_if 1, BattleFrontier_Lounge2_EventScript_260737
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 3
compare VAR_FRONTIER_MANIAC_FACILITY, 3
call_if 3, BattleFrontier_Lounge2_EventScript_2606F8
compare_var_to_value VAR_FRONTIER_MANIAC_FACILITY, 4
compare VAR_FRONTIER_MANIAC_FACILITY, 4
call_if 4, BattleFrontier_Lounge2_EventScript_260701
special sub_8139F20
waitmessage
@@ -117,7 +117,7 @@ BattleFrontier_Lounge2_EventScript_26075D:: @ 826075D
msgbox BattleFrontier_Lounge2_Text_261D5C, 2
end
BattleFrontier_Lounge2_Text_260766: @ 8260766
BattleFrontier_Lounge2_Text_260766:: @ 8260766
.string "Howdy! When it comes to news about\n"
.string "the BATTLE FRONTIER, Im no. 1.\p"
.string "You can think of me as\n"
@@ -127,33 +127,33 @@ BattleFrontier_Lounge2_Text_260766: @ 8260766
.string "Ill happily share the hottest news\n"
.string "I gathered about the BATTLE FRONTIER.$"
BattleFrontier_Lounge2_Text_260857: @ 8260857
BattleFrontier_Lounge2_Text_260857:: @ 8260857
.string "Howdy! Did you swing by to grill me\n"
.string "about the latest word? Oh, all right!$"
BattleFrontier_Lounge2_Text_2608A1: @ 82608A1
BattleFrontier_Lounge2_Text_2608A1:: @ 82608A1
.string "Well? Well? Well?\p"
.string "Im sure my informations been\n"
.string "seriously useful to you, right?$"
BattleFrontier_Lounge2_Text_2608F2: @ 82608F2
BattleFrontier_Lounge2_Text_2608F2:: @ 82608F2
.string "Lets see now…\p"
.string "It sounds like the {STR_VAR_1}\n"
.string "is the hottest place going.$"
BattleFrontier_Lounge2_Text_260933: @ 8260933
BattleFrontier_Lounge2_Text_260933:: @ 8260933
.string "Lets see now…\p"
.string "It sounds like BATTLE TOWER\n"
.string "{STR_VAR_1} is the hottest.$"
BattleFrontier_Lounge2_Text_260971: @ 8260971
BattleFrontier_Lounge2_Text_260971:: @ 8260971
.string "Bet you didnt know this!\p"
.string "One of those top TRAINERS that SCOTT\n"
.string "calls the FRONTIER BRAINS is there.\p"
.string "Its this mysterious TRAINER called\n"
.string "the SALON MAIDEN that runs the place.$"
BattleFrontier_Lounge2_Text_260A1E: @ 8260A1E
BattleFrontier_Lounge2_Text_260A1E:: @ 8260A1E
.string "Have you battled the SALON MAIDEN?\p"
.string "When shes measuring up her opponent,\n"
.string "she apparently uses these POKéMON:\p"
@@ -161,7 +161,7 @@ BattleFrontier_Lounge2_Text_260A1E: @ 8260A1E
.string "a FIRE-type VOLCANO POKéMON,\l"
.string "and a NORMAL-type SLEEPING POKéMON.$"
BattleFrontier_Lounge2_Text_260AE7: @ 8260AE7
BattleFrontier_Lounge2_Text_260AE7:: @ 8260AE7
.string "Have you battled the SALON MAIDEN\n"
.string "when shes serious?\p"
.string "When shes battling flat out,\n"
@@ -170,14 +170,14 @@ BattleFrontier_Lounge2_Text_260AE7: @ 8260AE7
.string "an ELECTRIC-type THUNDER POKéMON,\l"
.string "and a NORMAL-type SLEEPING POKéMON.$"
BattleFrontier_Lounge2_Text_260BC4: @ 8260BC4
BattleFrontier_Lounge2_Text_260BC4:: @ 8260BC4
.string "Bet you didnt know this!\p"
.string "One of those top TRAINERS that SCOTT\n"
.string "calls the FRONTIER BRAINS is there.\p"
.string "Its this flamboyant TRAINER called\n"
.string "the DOME ACE that runs the place.$"
BattleFrontier_Lounge2_Text_260C6D: @ 8260C6D
BattleFrontier_Lounge2_Text_260C6D:: @ 8260C6D
.string "Have you battled the DOME ACE?\p"
.string "When hes treating the opponent\n"
.string "lightly, he uses these three POKéMON:\p"
@@ -185,7 +185,7 @@ BattleFrontier_Lounge2_Text_260C6D: @ 8260C6D
.string "a WATER & GROUND MUD FISH POKéMON,\l"
.string "and a FIRE & FLYING FLAME POKéMON.$"
BattleFrontier_Lounge2_Text_260D3A: @ 8260D3A
BattleFrontier_Lounge2_Text_260D3A:: @ 8260D3A
.string "Have you battled the DOME ACE\n"
.string "when hes serious?\p"
.string "When hes demonstrating his strategy,\n"
@@ -195,14 +195,14 @@ BattleFrontier_Lounge2_Text_260D3A: @ 8260D3A
.string "and a STEEL- & PSYCHIC-type IRON LEG\l"
.string "POKéMON.$"
BattleFrontier_Lounge2_Text_260E1E: @ 8260E1E
BattleFrontier_Lounge2_Text_260E1E:: @ 8260E1E
.string "Bet you didnt know this!\p"
.string "One of those top TRAINERS that SCOTT\n"
.string "calls the FRONTIER BRAINS is there.\p"
.string "Its this freaky TRAINER called\n"
.string "the FACTORY HEAD that runs the place.$"
BattleFrontier_Lounge2_Text_260EC7: @ 8260EC7
BattleFrontier_Lounge2_Text_260EC7:: @ 8260EC7
.string "Have you battled the FACTORY HEAD\n"
.string "already?\p"
.string "Let me think… When he goes to battle,\n"
@@ -210,7 +210,7 @@ BattleFrontier_Lounge2_Text_260EC7: @ 8260EC7
.string "He battles under pretty much the same\n"
.string "conditions as you.$"
BattleFrontier_Lounge2_Text_260F74: @ 8260F74
BattleFrontier_Lounge2_Text_260F74:: @ 8260F74
.string "Have you battled the FACTORY HEAD\n"
.string "when hes serious?\p"
.string "When he goes seriously to battle,\n"
@@ -218,14 +218,14 @@ BattleFrontier_Lounge2_Text_260F74: @ 8260F74
.string "He battles under virtually the same\n"
.string "conditions as you.$"
BattleFrontier_Lounge2_Text_261026: @ 8261026
BattleFrontier_Lounge2_Text_261026:: @ 8261026
.string "Bet you didnt know this!\p"
.string "One of those top TRAINERS that SCOTT\n"
.string "calls the FRONTIER BRAINS is there.\p"
.string "Its this scary TRAINER called\n"
.string "the PIKE QUEEN that runs the place.$"
BattleFrontier_Lounge2_Text_2610CC: @ 82610CC
BattleFrontier_Lounge2_Text_2610CC:: @ 82610CC
.string "Have you battled the PIKE QUEEN\n"
.string "before?\p"
.string "When shes in a good mood, they say\n"
@@ -234,7 +234,7 @@ BattleFrontier_Lounge2_Text_2610CC: @ 82610CC
.string "a BUG & ROCK MOLD POKéMON,\l"
.string "and a WATER-type TENDER POKéMON.$"
BattleFrontier_Lounge2_Text_261194: @ 8261194
BattleFrontier_Lounge2_Text_261194:: @ 8261194
.string "Have you battled the PIKE QUEEN\n"
.string "when shes serious?\p"
.string "When shes seriously annoyed, they say\n"
@@ -244,14 +244,14 @@ BattleFrontier_Lounge2_Text_261194: @ 8261194
.string "and a WATER- & FLYING-type ATROCIOUS\l"
.string "POKéMON.$"
BattleFrontier_Lounge2_Text_261282: @ 8261282
BattleFrontier_Lounge2_Text_261282:: @ 8261282
.string "Bet you didnt know this!\p"
.string "One of those top TRAINERS that SCOTT\n"
.string "calls the FRONTIER BRAINS is there.\p"
.string "Its this cute TRAINER called\n"
.string "the ARENA TYCOON that runs the place.$"
BattleFrontier_Lounge2_Text_261329: @ 8261329
BattleFrontier_Lounge2_Text_261329:: @ 8261329
.string "Have you battled the ARENA TYCOON\n"
.string "before?\p"
.string "When shes assessing the foes ability,\n"
@@ -260,7 +260,7 @@ BattleFrontier_Lounge2_Text_261329: @ 8261329
.string "a DARK-type MOONLIGHT POKéMON,\l"
.string "and a BUG & GHOST SHED POKéMON.$"
BattleFrontier_Lounge2_Text_261403: @ 8261403
BattleFrontier_Lounge2_Text_261403:: @ 8261403
.string "Have you battled the ARENA TYCOON\n"
.string "when shes serious?\p"
.string "When she battles for keeps,\n"
@@ -270,14 +270,14 @@ BattleFrontier_Lounge2_Text_261403: @ 8261403
.string "and a GRASS- & FIGHTING-type\l"
.string "MUSHROOM POKéMON.$"
BattleFrontier_Lounge2_Text_2614E6: @ 82614E6
BattleFrontier_Lounge2_Text_2614E6:: @ 82614E6
.string "Bet you didnt know this!\p"
.string "One of those top TRAINERS that SCOTT\n"
.string "calls the FRONTIER BRAINS is there.\p"
.string "Its this sinister TRAINER called\n"
.string "the PALACE MAVEN that runs the place.$"
BattleFrontier_Lounge2_Text_261591: @ 8261591
BattleFrontier_Lounge2_Text_261591:: @ 8261591
.string "Have you battled the PALACE MAVEN\n"
.string "before?\p"
.string "When hes testing the opponents\n"
@@ -286,7 +286,7 @@ BattleFrontier_Lounge2_Text_261591: @ 8261591
.string "a NORMAL-type LAZY POKéMON, and a\l"
.string "WATER- & ICE-type TRANSPORT POKéMON.$"
BattleFrontier_Lounge2_Text_26166F: @ 826166F
BattleFrontier_Lounge2_Text_26166F:: @ 826166F
.string "Have you battled the PALACE MAVEN\n"
.string "when hes serious?\p"
.string "When he throws his entire might into\n"
@@ -295,14 +295,14 @@ BattleFrontier_Lounge2_Text_26166F: @ 826166F
.string "a NORMAL-type LAZY POKéMON,\l"
.string "and a WATER-type AURORA POKéMON.$"
BattleFrontier_Lounge2_Text_26174D: @ 826174D
BattleFrontier_Lounge2_Text_26174D:: @ 826174D
.string "Bet you didnt know this!\p"
.string "One of those top TRAINERS that SCOTT\n"
.string "calls the FRONTIER BRAINS is there.\p"
.string "Its this fiery-hot TRAINER called\n"
.string "the PYRAMID KING that runs the place.$"
BattleFrontier_Lounge2_Text_2617F9: @ 82617F9
BattleFrontier_Lounge2_Text_2617F9:: @ 82617F9
.string "Have you battled the PYRAMID KING\n"
.string "before?\p"
.string "When hes checking the foes power,\n"
@@ -311,7 +311,7 @@ BattleFrontier_Lounge2_Text_2617F9: @ 82617F9
.string "an ICE-type ICEBERG POKéMON,\l"
.string "and a STEEL-type IRON POKéMON.$"
BattleFrontier_Lounge2_Text_2618C4: @ 82618C4
BattleFrontier_Lounge2_Text_2618C4:: @ 82618C4
.string "Have you battled the PYRAMID KING\n"
.string "when hes serious?\p"
.string "When hes pumped with hot power,\n"
@@ -321,7 +321,7 @@ BattleFrontier_Lounge2_Text_2618C4: @ 82618C4
.string "and a FIRE- & FLYING-type FLAME\l"
.string "POKéMON.$"
BattleFrontier_Lounge2_Text_2619AC: @ 82619AC
BattleFrontier_Lounge2_Text_2619AC:: @ 82619AC
.string "Sure, there are several places where\n"
.string "you can enter DOUBLE BATTLES.\p"
.string "But the DOUBLE BATTLE ROOMS of\n"
@@ -330,44 +330,44 @@ BattleFrontier_Lounge2_Text_2619AC: @ 82619AC
.string "how DOUBLE BATTLES are played here\l"
.string "in the BATTLE FRONTIER.$"
BattleFrontier_Lounge2_Text_261A91: @ 8261A91
BattleFrontier_Lounge2_Text_261A91:: @ 8261A91
.string "Watch yourself in the battles here.\p"
.string "I hear there are TRAINERS that have\n"
.string "strategies they developed just for\l"
.string "DOUBLE BATTLES.$"
BattleFrontier_Lounge2_Text_261B0C: @ 8261B0C
BattleFrontier_Lounge2_Text_261B0C:: @ 8261B0C
.string "Once youre confident and comfortable\n"
.string "with DOUBLE BATTLES here, you should\l"
.string "think about challenging other places\l"
.string "offering DOUBLE BATTLES.$"
BattleFrontier_Lounge2_Text_261B95: @ 8261B95
BattleFrontier_Lounge2_Text_261B95:: @ 8261B95
.string "All sorts of TRAINERS gather in\n"
.string "the BATTLE SALON.\p"
.string "Just think--you may run into your\n"
.string "friends or followers!\l"
.string "You should look carefully!$"
BattleFrontier_Lounge2_Text_261C1A: @ 8261C1A
BattleFrontier_Lounge2_Text_261C1A:: @ 8261C1A
.string "If youre with a friend, head for the\n"
.string "LINK MULTI BATTLE ROOM.\p"
.string "If you play with a strong friend,\n"
.string "you can expect to see tough foes!$"
BattleFrontier_Lounge2_Text_261C9C: @ 8261C9C
BattleFrontier_Lounge2_Text_261C9C:: @ 8261C9C
.string "What amazing news-gathering power!\n"
.string "My mentors like none other!$"
BattleFrontier_Lounge2_Text_261CDC: @ 8261CDC
BattleFrontier_Lounge2_Text_261CDC:: @ 8261CDC
.string "What amazing powers of observation!\n"
.string "My mentors like none other!$"
BattleFrontier_Lounge2_Text_261D1D: @ 8261D1D
BattleFrontier_Lounge2_Text_261D1D:: @ 8261D1D
.string "What amazing power of persuasion!\n"
.string "My mentors like none other!$"
BattleFrontier_Lounge2_Text_261D5C: @ 8261D5C
BattleFrontier_Lounge2_Text_261D5C:: @ 8261D5C
.string "…What is this place?\n"
.string "Its scaring me…$"

View File

@@ -7,7 +7,7 @@ BattleFrontier_Lounge3_EventScript_261D83:: @ 8261D83
checkflag FLAG_0x157
goto_eq BattleFrontier_Lounge3_EventScript_261EF9
call BattleFrontier_Lounge3_EventScript_261EA0
compare_var_to_value VAR_0x8004, 2
compare VAR_0x8004, 2
goto_if 3, BattleFrontier_Lounge3_EventScript_261EEB
setflag FLAG_0x157
msgbox BattleFrontier_Lounge3_Text_262061, 4
@@ -19,10 +19,10 @@ BattleFrontier_Lounge3_EventScript_261DAF:: @ 8261DAF
waitmessage
waitbuttonpress
msgbox BattleFrontier_Lounge3_Text_262A60, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge3_EventScript_261FA5
msgbox BattleFrontier_Lounge3_Text_262ABD, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge3_EventScript_261FA5
message BattleFrontier_Lounge3_Text_262B42
waitmessage
@@ -58,7 +58,7 @@ BattleFrontier_Lounge3_EventScript_261E46:: @ 8261E46
BattleFrontier_Lounge3_EventScript_261E51:: @ 8261E51
specialvar VAR_0x4001, sub_813AA04
compare_var_to_var VAR_0x4001, VAR_0x8008
compare VAR_0x4001, VAR_0x8008
goto_if 4, BattleFrontier_Lounge3_EventScript_261E75
msgbox BattleFrontier_Lounge3_Text_262B6E, 4
message BattleFrontier_Lounge3_Text_262B42
@@ -113,26 +113,26 @@ BattleFrontier_Lounge3_EventScript_261EEB:: @ 8261EEB
BattleFrontier_Lounge3_EventScript_261EF9:: @ 8261EF9
msgbox BattleFrontier_Lounge3_Text_26346B, 4
compare_var_to_value VAR_FRONTIER_GAMBLER_PLACED_BET_F, 1
compare VAR_FRONTIER_GAMBLER_PLACED_BET_F, 1
goto_if 4, BattleFrontier_Lounge3_EventScript_261F12
goto BattleFrontier_Lounge3_EventScript_261DAF
end
BattleFrontier_Lounge3_EventScript_261F12:: @ 8261F12
compare_var_to_value VAR_FRONTIER_GAMBLER_PLACED_BET_F, 1
compare VAR_FRONTIER_GAMBLER_PLACED_BET_F, 1
goto_eq BattleFrontier_Lounge3_EventScript_261F9E
compare_var_to_value VAR_FRONTIER_GAMBLER_PLACED_BET_F, 2
compare VAR_FRONTIER_GAMBLER_PLACED_BET_F, 2
goto_eq BattleFrontier_Lounge3_EventScript_261F2E
goto BattleFrontier_Lounge3_EventScript_261F71
end
BattleFrontier_Lounge3_EventScript_261F2E:: @ 8261F2E
msgbox BattleFrontier_Lounge3_Text_263334, 4
compare_var_to_value VAR_FRONTIER_GAMBLER_AMOUNT_BET, 0
compare VAR_FRONTIER_GAMBLER_AMOUNT_BET, 0
call_if 1, BattleFrontier_Lounge3_EventScript_261F80
compare_var_to_value VAR_FRONTIER_GAMBLER_AMOUNT_BET, 1
compare VAR_FRONTIER_GAMBLER_AMOUNT_BET, 1
call_if 1, BattleFrontier_Lounge3_EventScript_261F8A
compare_var_to_value VAR_FRONTIER_GAMBLER_AMOUNT_BET, 2
compare VAR_FRONTIER_GAMBLER_AMOUNT_BET, 2
call_if 1, BattleFrontier_Lounge3_EventScript_261F94
msgbox BattleFrontier_Lounge3_Text_2633D4, 9
special sub_813A9D0
@@ -211,12 +211,12 @@ BattleFrontier_Lounge3_EventScript_261FF1:: @ 8261FF1
release
end
BattleFrontier_Lounge3_Text_261FFE: @ 8261FFE
BattleFrontier_Lounge3_Text_261FFE:: @ 8261FFE
.string "…Whats that you want?\p"
.string "Cant you see were kind of busy here?\n"
.string "Cant your business wait till later?$"
BattleFrontier_Lounge3_Text_262061: @ 8262061
BattleFrontier_Lounge3_Text_262061:: @ 8262061
.string "…Huh?\n"
.string "You look to me like a tough TRAINER.\p"
.string "Heheh…\n"
@@ -236,201 +236,201 @@ BattleFrontier_Lounge3_Text_262061: @ 8262061
.string "Sounds simple, huh?\n"
.string "So, anyway…$"
BattleFrontier_Lounge3_Text_262261: @ 8262261
BattleFrontier_Lounge3_Text_262261:: @ 8262261
.string "What Im looking for is a TRAINER whos\n"
.string "going to be challenging the BATTLE\l"
.string "TOWERs SINGLE BATTLE ROOMS.\p"
.string "But so far, I havent seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_26230D: @ 826230D
BattleFrontier_Lounge3_Text_26230D:: @ 826230D
.string "What Im looking for is a TRAINER whos\n"
.string "going to be challenging the BATTLE\l"
.string "TOWERs DOUBLE BATTLE ROOMS.\p"
.string "But so far, I havent seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_2623B9: @ 82623B9
BattleFrontier_Lounge3_Text_2623B9:: @ 82623B9
.string "What Im looking for is a TRAINER whos\n"
.string "going to be challenging the BATTLE\l"
.string "TOWERs MULTI BATTLE ROOMS.\p"
.string "But so far, I havent seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_262464: @ 8262464
BattleFrontier_Lounge3_Text_262464:: @ 8262464
.string "What Im looking for is a TRAINER whos\n"
.string "going to be entering the BATTLE\l"
.string "DOMEs SINGLE BATTLE Tourney.\p"
.string "But so far, I havent seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_26250E: @ 826250E
BattleFrontier_Lounge3_Text_26250E:: @ 826250E
.string "What Im looking for is a TRAINER whos\n"
.string "going to be entering the BATTLE\l"
.string "DOMEs DOUBLE BATTLE Tourney.\p"
.string "But so far, I havent seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_2625B8: @ 82625B8
BattleFrontier_Lounge3_Text_2625B8:: @ 82625B8
.string "What Im looking for is a TRAINER whos\n"
.string "going to be entering the BATTLE\l"
.string "FACTORYs Battle Swap Single Tourney.\p"
.string "But so far, I havent seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_26266A: @ 826266A
BattleFrontier_Lounge3_Text_26266A:: @ 826266A
.string "What Im looking for is a TRAINER whos\n"
.string "going to be entering the BATTLE\l"
.string "FACTORYs Battle Swap Double Tourney.\p"
.string "But so far, I havent seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_26271C: @ 826271C
BattleFrontier_Lounge3_Text_26271C:: @ 826271C
.string "What Im looking for is a TRAINER whos\n"
.string "going to be challenging the BATTLE\l"
.string "PALACEs SINGLE BATTLE HALLS.\p"
.string "But so far, I havent seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_2627C9: @ 82627C9
BattleFrontier_Lounge3_Text_2627C9:: @ 82627C9
.string "What Im looking for is a TRAINER whos\n"
.string "going to be challenging the BATTLE\l"
.string "PALACEs DOUBLE BATTLE HALLS.\p"
.string "But so far, I havent seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_262876: @ 8262876
BattleFrontier_Lounge3_Text_262876:: @ 8262876
.string "What Im looking for is a TRAINER whos\n"
.string "going to be entering the BATTLE\l"
.string "ARENAs Set KO Tourney.\p"
.string "But so far, I havent seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_26291A: @ 826291A
BattleFrontier_Lounge3_Text_26291A:: @ 826291A
.string "What Im looking for is a TRAINER whos\n"
.string "going to be entering the BATTLE PIKEs\l"
.string "Battle Choice.\p"
.string "But so far, I havent seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_2629BC: @ 82629BC
BattleFrontier_Lounge3_Text_2629BC:: @ 82629BC
.string "What Im looking for is a TRAINER whos\n"
.string "going to be entering the BATTLE\l"
.string "PYRAMIDs Battle Quest.\p"
.string "But so far, I havent seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_262A60: @ 8262A60
BattleFrontier_Lounge3_Text_262A60:: @ 8262A60
.string "Ill see to it that you benefit, too.\n"
.string "So how about it?\l"
.string "How about entering that event for me?$"
BattleFrontier_Lounge3_Text_262ABD: @ 8262ABD
BattleFrontier_Lounge3_Text_262ABD:: @ 8262ABD
.string "All right, thats perfect.\n"
.string "So, uh… How about spotting me some\l"
.string "of your Battle Points?\p"
.string "Trust me, Ill show you my gratitude\n"
.string "afterward.$"
BattleFrontier_Lounge3_Text_262B42: @ 8262B42
BattleFrontier_Lounge3_Text_262B42:: @ 8262B42
.string "Great, great!\n"
.string "So, how much can you spot me?$"
BattleFrontier_Lounge3_Text_262B6E: @ 8262B6E
BattleFrontier_Lounge3_Text_262B6E:: @ 8262B6E
.string "Oh, no, no, no!\n"
.string "You dont have enough Battle Points!\p"
.string "I wish you wouldnt monkey around and\n"
.string "waste everyones time!$"
BattleFrontier_Lounge3_Text_262BE0: @ 8262BE0
BattleFrontier_Lounge3_Text_262BE0:: @ 8262BE0
.string "Heheh! Thanks much!\n"
.string "So, off you go!$"
BattleFrontier_Lounge3_Text_262C04: @ 8262C04
BattleFrontier_Lounge3_Text_262C04:: @ 8262C04
.string "Get to the BATTLE TOWERs\n"
.string "SINGLE BATTLE ROOMS pronto!\p"
.string "Its a must-win situation!\n"
.string "Dont blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_262C90: @ 8262C90
BattleFrontier_Lounge3_Text_262C90:: @ 8262C90
.string "Get to the BATTLE TOWERs\n"
.string "DOUBLE BATTLE ROOMS pronto!\p"
.string "Its a must-win situation!\n"
.string "Dont blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_262D1C: @ 8262D1C
BattleFrontier_Lounge3_Text_262D1C:: @ 8262D1C
.string "Get to the BATTLE TOWERs\n"
.string "MULTI BATTLE ROOMS pronto!\p"
.string "Its a must-win situation!\n"
.string "Dont blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_262DA7: @ 8262DA7
BattleFrontier_Lounge3_Text_262DA7:: @ 8262DA7
.string "Get to the BATTLE DOMEs\n"
.string "SINGLE BATTLE Tourney pronto!\p"
.string "Its a must-win situation!\n"
.string "Dont blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_262E34: @ 8262E34
BattleFrontier_Lounge3_Text_262E34:: @ 8262E34
.string "Get to the BATTLE DOMEs\n"
.string "DOUBLE BATTLE Tourney pronto!\p"
.string "Its a must-win situation!\n"
.string "Dont blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_262EC1: @ 8262EC1
BattleFrontier_Lounge3_Text_262EC1:: @ 8262EC1
.string "Get to the BATTLE FACTORYs\n"
.string "Battle Swap Single Tourney pronto!\p"
.string "Its a must-win situation!\n"
.string "Dont blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_262F56: @ 8262F56
BattleFrontier_Lounge3_Text_262F56:: @ 8262F56
.string "Get to the BATTLE FACTORYs\n"
.string "Battle Swap Double Tourney pronto!\p"
.string "Its a must-win situation!\n"
.string "Dont blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_262FEB: @ 8262FEB
BattleFrontier_Lounge3_Text_262FEB:: @ 8262FEB
.string "Get to the BATTLE PALACEs\n"
.string "SINGLE BATTLE HALLS pronto!\p"
.string "Its a must-win situation!\n"
.string "Dont blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_263078: @ 8263078
BattleFrontier_Lounge3_Text_263078:: @ 8263078
.string "Get to the BATTLE PALACEs\n"
.string "DOUBLE BATTLE HALLS pronto!\p"
.string "Its a must-win situation!\n"
.string "Dont blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_263105: @ 8263105
BattleFrontier_Lounge3_Text_263105:: @ 8263105
.string "Get to the BATTLE ARENAs\n"
.string "Set KO Tourney pronto!\p"
.string "Its a must-win situation!\n"
.string "Dont blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_26318C: @ 826318C
BattleFrontier_Lounge3_Text_26318C:: @ 826318C
.string "Get to the BATTLE PIKEs\n"
.string "Battle Choice pronto!\p"
.string "Its a must-win situation!\n"
.string "Dont blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_263211: @ 8263211
BattleFrontier_Lounge3_Text_263211:: @ 8263211
.string "Get to the BATTLE PYRAMIDs\n"
.string "Battle Quest pronto!\p"
.string "Its a must-win situation!\n"
.string "Dont blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_263298: @ 8263298
BattleFrontier_Lounge3_Text_263298:: @ 8263298
.string "Oh, its you…\n"
.string "Nice try…\p"
.string "I hate to break it to you, but I cant\n"
@@ -438,7 +438,7 @@ BattleFrontier_Lounge3_Text_263298: @ 8263298
.string "I guess well have to let it motivate\n"
.string "us to try harder next time!$"
BattleFrontier_Lounge3_Text_263334: @ 8263334
BattleFrontier_Lounge3_Text_263334:: @ 8263334
.string "Oh, yes!\n"
.string "Hello there, champ!\p"
.string "I knew you could!\n"
@@ -447,36 +447,36 @@ BattleFrontier_Lounge3_Text_263334: @ 8263334
.string "Ill return your Battle Points and,\n"
.string "of course, a little extra from me!$"
BattleFrontier_Lounge3_Text_2633D4: @ 82633D4
BattleFrontier_Lounge3_Text_2633D4:: @ 82633D4
.string "{PLAYER} obtained\n"
.string "{STR_VAR_1} Battle Points.$"
BattleFrontier_Lounge3_Text_2633F2: @ 82633F2
BattleFrontier_Lounge3_Text_2633F2:: @ 82633F2
.string "If youre up for another challenge,\n"
.string "please do think of me!$"
BattleFrontier_Lounge3_Text_26342D: @ 826342D
BattleFrontier_Lounge3_Text_26342D:: @ 826342D
.string "Not interested?! You shouldnt be\n"
.string "so afraid to take a chance!$"
BattleFrontier_Lounge3_Text_26346B: @ 826346B
BattleFrontier_Lounge3_Text_26346B:: @ 826346B
.string "Oh…$"
BattleFrontier_Lounge3_Text_26346F: @ 826346F
BattleFrontier_Lounge3_Text_26346F:: @ 826346F
.string "I backed the wrong TRAINER again!\p"
.string "Maybe I should be battling normally\n"
.string "like everyone else…$"
BattleFrontier_Lounge3_Text_2634C9: @ 82634C9
BattleFrontier_Lounge3_Text_2634C9:: @ 82634C9
.string "That TRAINER…\p"
.string "Hes good, but he gets rattled too\n"
.string "easily to survive the BATTLE DOME…$"
BattleFrontier_Lounge3_Text_26351D: @ 826351D
BattleFrontier_Lounge3_Text_26351D:: @ 826351D
.string "Giggle!\n"
.string "I know a winner when I see one!$"
BattleFrontier_Lounge3_Text_263545: @ 8263545
BattleFrontier_Lounge3_Text_263545:: @ 8263545
.string "Those TRAINERS…\n"
.string "What are they doing?\l"
.string "They should be taking challenges.$"

View File

@@ -5,16 +5,16 @@ BattleFrontier_Lounge5_EventScript_2645C6:: @ 82645C6
lock
faceplayer
msgbox BattleFrontier_Lounge5_Text_264632, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge5_EventScript_26460D
special sub_81B94B0
waitstate
lock
faceplayer
compare_var_to_value VAR_0x8004, 255
compare VAR_0x8004, 255
goto_eq BattleFrontier_Lounge5_EventScript_26460D
specialvar VAR_RESULT, sub_81396E0
compare_var_to_value VAR_RESULT, 412
specialvar VAR_RESULT, ScriptGetPartyMonSpecies
compare VAR_RESULT, 412
goto_eq BattleFrontier_Lounge5_EventScript_264603
special sub_813A7B8
waitmessage
@@ -44,162 +44,162 @@ BattleFrontier_Lounge5_EventScript_264629:: @ 8264629
msgbox BattleFrontier_Lounge5_Text_264FAB, 2
end
BattleFrontier_Lounge5_Text_264632: @ 8264632
BattleFrontier_Lounge5_Text_264632:: @ 8264632
.string "Ehehe!\n"
.string "I can tell what POKéMON are thinking!\p"
.string "Please!\n"
.string "Can I see your POKéMON?$"
BattleFrontier_Lounge5_Text_26467F: @ 826467F
BattleFrontier_Lounge5_Text_26467F:: @ 826467F
.string "Boo!\n"
.string "Cheapie!$"
BattleFrontier_Lounge5_Text_26468D: @ 826468D
BattleFrontier_Lounge5_Text_26468D:: @ 826468D
.string "Hmhm…\p"
.string "This one says it likes to battle!\n"
.string "It will battle even if it has a lot\l"
.string "of ouchies!$"
BattleFrontier_Lounge5_Text_2646E5: @ 82646E5
BattleFrontier_Lounge5_Text_2646E5:: @ 82646E5
.string "Hmhm…\p"
.string "This one says it likes to be sneaky!\n"
.string "But if it gets enough ouchies,\l"
.string "it will hit back!$"
BattleFrontier_Lounge5_Text_264741: @ 8264741
BattleFrontier_Lounge5_Text_264741:: @ 8264741
.string "Hmhm…\p"
.string "This one says it likes to battle!\n"
.string "But if it gets enough ouchies,\l"
.string "it will worry about itself!$"
BattleFrontier_Lounge5_Text_2647A4: @ 82647A4
BattleFrontier_Lounge5_Text_2647A4:: @ 82647A4
.string "Hmhm…\p"
.string "This one says it likes to battle!\n"
.string "It will battle even if it has a lot\l"
.string "of ouchies!$"
BattleFrontier_Lounge5_Text_2647FC: @ 82647FC
BattleFrontier_Lounge5_Text_2647FC:: @ 82647FC
.string "Hmhm…\p"
.string "This one says it looks after itself!\n"
.string "But if it gets enough ouchies,\l"
.string "it will hit back!$"
BattleFrontier_Lounge5_Text_264858: @ 8264858
BattleFrontier_Lounge5_Text_264858:: @ 8264858
.string "Hmhm…\p"
.string "This one says it likes to be sneaky!\n"
.string "But if it gets enough ouchies,\l"
.string "it will worry about itself!$"
BattleFrontier_Lounge5_Text_2648BE: @ 82648BE
BattleFrontier_Lounge5_Text_2648BE:: @ 82648BE
.string "Hmhm…\p"
.string "This one says it likes to battle!\n"
.string "It will battle even if it has a lot\l"
.string "of ouchies!$"
BattleFrontier_Lounge5_Text_264916: @ 8264916
BattleFrontier_Lounge5_Text_264916:: @ 8264916
.string "Hmhm…\p"
.string "This one says it likes to be sneaky!\n"
.string "But if it gets enough ouchies,\l"
.string "it will hit back!$"
BattleFrontier_Lounge5_Text_264972: @ 8264972
BattleFrontier_Lounge5_Text_264972:: @ 8264972
.string "Hmhm…\p"
.string "This one says it likes to battle!\n"
.string "But if it gets enough ouchies,\l"
.string "it will worry about itself!$"
BattleFrontier_Lounge5_Text_2649D5: @ 82649D5
BattleFrontier_Lounge5_Text_2649D5:: @ 82649D5
.string "Hmhm…\p"
.string "This one says it likes to be sneaky!\n"
.string "It says it likes to be sneaky even\l"
.string "if it has a lot of ouchies!$"
BattleFrontier_Lounge5_Text_264A3F: @ 8264A3F
BattleFrontier_Lounge5_Text_264A3F:: @ 8264A3F
.string "Hmhm…\p"
.string "This one says it likes to battle!\n"
.string "But if it gets enough ouchies,\l"
.string "it will turn sneaky!$"
BattleFrontier_Lounge5_Text_264A9B: @ 8264A9B
BattleFrontier_Lounge5_Text_264A9B:: @ 8264A9B
.string "Hmhm…\p"
.string "This one says it likes to battle!\n"
.string "It will battle even if it has a lot\l"
.string "of ouchies!$"
BattleFrontier_Lounge5_Text_264AF3: @ 8264AF3
BattleFrontier_Lounge5_Text_264AF3:: @ 8264AF3
.string "Hmhm…\p"
.string "This one says it likes to be sneaky!\n"
.string "It says it likes to be sneaky even\l"
.string "if it has a lot of ouchies!$"
BattleFrontier_Lounge5_Text_264B5D: @ 8264B5D
BattleFrontier_Lounge5_Text_264B5D:: @ 8264B5D
.string "Hmhm…\p"
.string "This one says it likes to be sneaky!\n"
.string "But if it gets enough ouchies,\l"
.string "it will worry about itself!$"
BattleFrontier_Lounge5_Text_264BC3: @ 8264BC3
BattleFrontier_Lounge5_Text_264BC3:: @ 8264BC3
.string "Hmhm…\p"
.string "This one says it looks after itself!\n"
.string "It says it worries about itself whether\l"
.string "or not it has a lot of ouchies!$"
BattleFrontier_Lounge5_Text_264C36: @ 8264C36
BattleFrontier_Lounge5_Text_264C36:: @ 8264C36
.string "Hmhm…\p"
.string "This one says it looks after itself!\n"
.string "But if it gets enough ouchies,\l"
.string "it will turn sneaky!$"
BattleFrontier_Lounge5_Text_264C95: @ 8264C95
BattleFrontier_Lounge5_Text_264C95:: @ 8264C95
.string "Hmhm…\p"
.string "This one says it looks after itself!\n"
.string "It says it worries about itself even\l"
.string "if it has a lot of ouchies!$"
BattleFrontier_Lounge5_Text_264D01: @ 8264D01
BattleFrontier_Lounge5_Text_264D01:: @ 8264D01
.string "Hmhm…\p"
.string "This one says it likes to be sneaky!\n"
.string "It says it likes to be sneaky even\l"
.string "if it has a lot of ouchies!$"
BattleFrontier_Lounge5_Text_264D6B: @ 8264D6B
BattleFrontier_Lounge5_Text_264D6B:: @ 8264D6B
.string "Hmhm…\p"
.string "This one says it looks after itself!\n"
.string "It says it worries about itself even\l"
.string "if it has a lot of ouchies!$"
BattleFrontier_Lounge5_Text_264DD7: @ 8264DD7
BattleFrontier_Lounge5_Text_264DD7:: @ 8264DD7
.string "Hmhm…\p"
.string "This one says it looks after itself!\n"
.string "But if it gets enough ouchies,\l"
.string "it will hit back!$"
BattleFrontier_Lounge5_Text_264E33: @ 8264E33
BattleFrontier_Lounge5_Text_264E33:: @ 8264E33
.string "Hmhm…\p"
.string "This one says it likes to battle!\n"
.string "But if it gets enough ouchies,\l"
.string "it will turn sneaky!$"
BattleFrontier_Lounge5_Text_264E8F: @ 8264E8F
BattleFrontier_Lounge5_Text_264E8F:: @ 8264E8F
.string "Hmhm…\p"
.string "This one says it looks after itself!\n"
.string "But if it gets enough ouchies,\l"
.string "it will turn sneaky!$"
BattleFrontier_Lounge5_Text_264EEE: @ 8264EEE
BattleFrontier_Lounge5_Text_264EEE:: @ 8264EEE
.string "Thats silly! An EGG is asleep!\n"
.string "I cant talk to it!$"
BattleFrontier_Lounge5_Text_264F22: @ 8264F22
BattleFrontier_Lounge5_Text_264F22:: @ 8264F22
.string "How charming!\n"
.string "That little lady claims she can\l"
.string "understand POKéMON!$"
BattleFrontier_Lounge5_Text_264F64: @ 8264F64
BattleFrontier_Lounge5_Text_264F64:: @ 8264F64
.string "I have this feeling that the little girl\n"
.string "is saying something profound.$"
BattleFrontier_Lounge5_Text_264FAB: @ 8264FAB
BattleFrontier_Lounge5_Text_264FAB:: @ 8264FAB
.string "I know something!\p"
.string "That little girl plays at the red house\n"
.string "a lot!$"

View File

@@ -11,17 +11,17 @@ BattleFrontier_Lounge6_EventScript_264FED:: @ 8264FED
specialvar VAR_RESULT, sub_807E73C
copyvar VAR_0x8009, VAR_RESULT
msgbox BattleFrontier_Lounge6_Text_26508D, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge6_EventScript_26506B
special sub_81B94B0
waitstate
copyvar VAR_0x800A, VAR_0x8004
compare_var_to_value VAR_0x8004, 255
compare VAR_0x8004, 255
goto_eq BattleFrontier_Lounge6_EventScript_26506B
copyvar VAR_0x8005, VAR_0x800A
specialvar VAR_RESULT, sub_807E9D4
copyvar VAR_0x800B, VAR_RESULT
compare_var_to_var VAR_RESULT, VAR_0x8009
compare VAR_RESULT, VAR_0x8009
goto_if 5, BattleFrontier_Lounge6_EventScript_265075
copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A

View File

@@ -250,10 +250,10 @@ BattleFrontier_Lounge7_EventScript_26564F:: @ 826564F
buffernumberstring 1, VAR_0x8008
copyvar VAR_0x8004, VAR_0x400C
msgbox BattleFrontier_Lounge7_Text_265921, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge7_EventScript_2656CA
specialvar VAR_0x4001, sub_813AA04
compare_var_to_var VAR_0x4001, VAR_0x8008
compare VAR_0x4001, VAR_0x8008
goto_if 4, BattleFrontier_Lounge7_EventScript_265696
msgbox BattleFrontier_Lounge7_Text_265997, 4
goto BattleFrontier_Lounge7_EventScript_2656CA
@@ -267,7 +267,7 @@ BattleFrontier_Lounge7_EventScript_265696:: @ 8265696
special sub_813ADB8
special sub_81B892C
waitstate
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge7_EventScript_265645
msgbox BattleFrontier_Lounge7_Text_2659C7, 4
copyvar VAR_0x8004, VAR_0x8008
@@ -276,7 +276,7 @@ BattleFrontier_Lounge7_EventScript_265696:: @ 8265696
end
BattleFrontier_Lounge7_EventScript_2656CA:: @ 82656CA
compare_var_to_value VAR_0x400E, 0
compare VAR_0x400E, 0
goto_eq BattleFrontier_Lounge7_EventScript_26532F
goto BattleFrontier_Lounge7_EventScript_26551F
end
@@ -380,102 +380,102 @@ BattleFrontier_Lounge7_Text_265D17: @ 8265D17
.string "but feel this…\p"
.string "Time is so cruel…$"
BattleFrontier_Lounge7_Text_265E30: @ 8265E30
BattleFrontier_Lounge7_Text_265E30:: @ 8265E30
.string "Recovers up to\n"
.string "half the users\n"
.string "maximum HP.$"
BattleFrontier_Lounge7_Text_265E5B: @ 8265E5B
BattleFrontier_Lounge7_Text_265E5B:: @ 8265E5B
.string "Inflicts damage\n"
.string "identical to the\n"
.string "users level.$"
BattleFrontier_Lounge7_Text_265E8A: @ 8265E8A
BattleFrontier_Lounge7_Text_265E8A:: @ 8265E8A
.string "Recovers half the\n"
.string "damage inflicted\n"
.string "on a sleeping foe.$"
BattleFrontier_Lounge7_Text_265EC0: @ 8265EC0
BattleFrontier_Lounge7_Text_265EC0:: @ 8265EC0
.string "A strong punch\n"
.string "thrown with\n"
.string "incredible power.$"
BattleFrontier_Lounge7_Text_265EED: @ 8265EED
BattleFrontier_Lounge7_Text_265EED:: @ 8265EED
.string "An extremely\n"
.string "powerful kick with\n"
.string "intense force.$"
BattleFrontier_Lounge7_Text_265F1C: @ 8265F1C
BattleFrontier_Lounge7_Text_265F1C:: @ 8265F1C
.string "A full-body slam\n"
.string "that may cause\n"
.string "paralysis.$"
BattleFrontier_Lounge7_Text_265F47: @ 8265F47
BattleFrontier_Lounge7_Text_265F47:: @ 8265F47
.string "Large boulders\n"
.string "are hurled. May\n"
.string "cause flinching.$"
BattleFrontier_Lounge7_Text_265F77: @ 8265F77
BattleFrontier_Lounge7_Text_265F77:: @ 8265F77
.string "Retaliates any\n"
.string "physical hit with\n"
.string "double the power.$"
BattleFrontier_Lounge7_Text_265FAA: @ 8265FAA
BattleFrontier_Lounge7_Text_265FAA:: @ 8265FAA
.string "A weak jolt of\n"
.string "electricity that\n"
.string "paralyzes the foe.$"
BattleFrontier_Lounge7_Text_265FDD: @ 8265FDD
BattleFrontier_Lounge7_Text_265FDD:: @ 8265FDD
.string "A fighting dance\n"
.string "that sharply\n"
.string "raises ATTACK.$"
BattleFrontier_Lounge7_Text_26600A: @ 826600A
BattleFrontier_Lounge7_Text_26600A:: @ 826600A
.string "Curls up to con-\n"
.string "ceal weak spots\n"
.string "and raise DEFENSE.$"
BattleFrontier_Lounge7_Text_26603E: @ 826603E
BattleFrontier_Lounge7_Text_26603E:: @ 826603E
.string "A loud attack\n"
.string "that can be used\n"
.string "only while asleep.$"
BattleFrontier_Lounge7_Text_266070: @ 8266070
BattleFrontier_Lounge7_Text_266070:: @ 8266070
.string "Hurls mud in the\n"
.string "foes face to re-\n"
.string "duce its accuracy.$"
BattleFrontier_Lounge7_Text_2660A6: @ 82660A6
BattleFrontier_Lounge7_Text_2660A6:: @ 82660A6
.string "Sprays star-\n"
.string "shaped rays\n"
.string "that never miss.$"
BattleFrontier_Lounge7_Text_2660D0: @ 82660D0
BattleFrontier_Lounge7_Text_2660D0:: @ 82660D0
.string "A chilling attack\n"
.string "that lowers the\n"
.string "foes SPEED.$"
BattleFrontier_Lounge7_Text_2660FF: @ 82660FF
BattleFrontier_Lounge7_Text_2660FF:: @ 82660FF
.string "Endures any at-\n"
.string "tack for 1 turn,\n"
.string "leaving 1HP.$"
BattleFrontier_Lounge7_Text_26612D: @ 826612D
BattleFrontier_Lounge7_Text_26612D:: @ 826612D
.string "Copies the foes\n"
.string "effect(s) and\n"
.string "gives to the user.$"
BattleFrontier_Lounge7_Text_26615F: @ 826615F
BattleFrontier_Lounge7_Text_26615F:: @ 826615F
.string "An icy punch\n"
.string "that may\n"
.string "freeze the foe.$"
BattleFrontier_Lounge7_Text_266185: @ 8266185
BattleFrontier_Lounge7_Text_266185:: @ 8266185
.string "An electrified\n"
.string "punch that may\n"
.string "paralyze the foe.$"
BattleFrontier_Lounge7_Text_2661B5: @ 82661B5
BattleFrontier_Lounge7_Text_2661B5:: @ 82661B5
.string "A fiery punch\n"
.string "that may burn\n"
.string "the foe.$"

View File

@@ -10,7 +10,7 @@ BattleFrontier_OutsideEast_MapScript1_242C0F: @ 8242C0F
BattleFrontier_OutsideEast_EventScript_242C19:: @ 8242C19
specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 7
compare VAR_RESULT, 7
goto_if 5, BattleFrontier_OutsideEast_EventScript_27374E
removeobject VAR_LAST_TALKED
return
@@ -135,11 +135,11 @@ BattleFrontier_OutsideEast_EventScript_242CFC:: @ 8242CFC
dowildbattle
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_OutsideEast_EventScript_242D60
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
goto_eq BattleFrontier_OutsideEast_EventScript_242D60
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq BattleFrontier_OutsideEast_EventScript_242D60
setflag FLAG_0x1C6
release

View File

@@ -12,7 +12,7 @@ BattleFrontier_OutsideWest_EventScript_23D3F0:: @ 823D3F0
faceplayer
msgbox BattleFrontier_OutsideWest_Text_23D808, 4
checkitem ITEM_SS_TICKET, 1
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_OutsideWest_EventScript_23D44E
message BattleFrontier_OutsideWest_Text_23D89D
waitmessage
@@ -35,7 +35,7 @@ BattleFrontier_OutsideWest_EventScript_23D44E:: @ 823D44E
BattleFrontier_OutsideWest_EventScript_23D458:: @ 823D458
msgbox BattleFrontier_OutsideWest_Text_23D8F2, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_OutsideWest_EventScript_23D4AE
msgbox BattleFrontier_OutsideWest_Text_23D94B, 4
call BattleFrontier_OutsideWest_EventScript_23D4BA
@@ -46,7 +46,7 @@ BattleFrontier_OutsideWest_EventScript_23D458:: @ 823D458
BattleFrontier_OutsideWest_EventScript_23D483:: @ 823D483
msgbox BattleFrontier_OutsideWest_Text_23D90E, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_OutsideWest_EventScript_23D4AE
msgbox BattleFrontier_OutsideWest_Text_23D94B, 4
call BattleFrontier_OutsideWest_EventScript_23D4BA
@@ -144,13 +144,13 @@ BattleFrontier_OutsideWest_EventScript_23D57F:: @ 823D57F
lock
faceplayer
delay 20
compare_var_to_value VAR_FACING, 2
compare VAR_FACING, 2
call_if 1, BattleFrontier_OutsideWest_EventScript_23D5BA
compare_var_to_value VAR_FACING, 1
compare VAR_FACING, 1
call_if 1, BattleFrontier_OutsideWest_EventScript_23D5C5
compare_var_to_value VAR_FACING, 3
compare VAR_FACING, 3
call_if 1, BattleFrontier_OutsideWest_EventScript_23D5BA
compare_var_to_value VAR_FACING, 4
compare VAR_FACING, 4
call_if 1, BattleFrontier_OutsideWest_EventScript_23D5BA
msgbox BattleFrontier_OutsideWest_Text_23DC36, 4
release
@@ -169,13 +169,13 @@ BattleFrontier_OutsideWest_EventScript_23D5C6:: @ 823D5C6
faceplayer
message BattleFrontier_OutsideWest_Text_23DCB0
waitmessage
compare_var_to_value VAR_FACING, 2
compare VAR_FACING, 2
call_if 1, BattleFrontier_OutsideWest_EventScript_23D5FD
compare_var_to_value VAR_FACING, 1
compare VAR_FACING, 1
call_if 1, BattleFrontier_OutsideWest_EventScript_23D608
compare_var_to_value VAR_FACING, 3
compare VAR_FACING, 3
call_if 1, BattleFrontier_OutsideWest_EventScript_23D613
compare_var_to_value VAR_FACING, 4
compare VAR_FACING, 4
call_if 1, BattleFrontier_OutsideWest_EventScript_23D61E
waitbuttonpress
release
@@ -226,7 +226,7 @@ BattleFrontier_OutsideWest_EventScript_23D635:: @ 823D635
faceplayer
msgbox BattleFrontier_OutsideWest_Text_23DD3B, 4
random 2
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_OutsideWest_EventScript_23D653
goto BattleFrontier_OutsideWest_EventScript_23D65D
end

View File

@@ -86,7 +86,7 @@ BattleFrontier_RankingHall_EventScript_25E54A:: @ 825E54A
lock
faceplayer
msgbox BattleFrontier_RankingHall_Text_25E666, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_RankingHall_EventScript_25E569
msgbox BattleFrontier_RankingHall_Text_25E6B6, 4
release

View File

@@ -4,7 +4,7 @@ BattleFrontier_ReceptionGate_MapScripts:: @ 82661DA
.byte 0
BattleFrontier_ReceptionGate_MapScript1_2661E5: @ 82661E5
setflag FLAG_UNLOCK_BATTLE_FRONTIER
setflag FLAG_LANDMARK_BATTLE_FRONTIER
end
BattleFrontier_ReceptionGate_MapScript2_2661E9: @ 82661E9
@@ -29,7 +29,7 @@ BattleFrontier_ReceptionGate_EventScript_2661F3:: @ 82661F3
BattleFrontier_ReceptionGate_EventScript_266229:: @ 8266229
msgbox BattleFrontier_ReceptionGate_Text_2665B2, 4
msgbox BattleFrontier_ReceptionGate_Text_2665F7, 4
playfanfare BGM_FANFA4
playfanfare MUS_FANFA4
message BattleFrontier_ReceptionGate_Text_266676
waitfanfare
waitmessage

View File

@@ -48,7 +48,7 @@ BattleFrontier_ScottsHouse_EventScript_263704:: @ 8263704
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC
msgbox BattleFrontier_ScottsHouse_Text_2640BC, 4
giveitem_std ITEM_LANSAT_BERRY
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_ScottsHouse_EventScript_2637D0
setflag FLAG_0x05C
setflag FLAG_0x004
@@ -72,7 +72,7 @@ BattleFrontier_ScottsHouse_EventScript_26376A:: @ 826376A
goto_if 0, BattleFrontier_ScottsHouse_EventScript_2636EC
msgbox BattleFrontier_ScottsHouse_Text_264216, 4
giveitem_std ITEM_STARF_BERRY
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_ScottsHouse_EventScript_2637D0
setflag FLAG_0x1D2
setflag FLAG_0x004
@@ -91,9 +91,9 @@ BattleFrontier_ScottsHouse_EventScript_2637DA:: @ 82637DA
BattleFrontier_ScottsHouse_EventScript_2637E4:: @ 82637E4
random 3
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BattleFrontier_ScottsHouse_EventScript_263807
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq BattleFrontier_ScottsHouse_EventScript_263811
msgbox BattleFrontier_ScottsHouse_Text_263DDD, 4
release
@@ -118,7 +118,7 @@ BattleFrontier_ScottsHouse_EventScript_26381B:: @ 826381B
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
special sub_8161F74
compare_var_to_value VAR_RESULT, 50
compare VAR_RESULT, 50
goto_if 4, BattleFrontier_ScottsHouse_EventScript_26387A
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
@@ -127,7 +127,7 @@ BattleFrontier_ScottsHouse_EventScript_26381B:: @ 826381B
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
special sub_8161F74
compare_var_to_value VAR_RESULT, 50
compare VAR_RESULT, 50
goto_if 4, BattleFrontier_ScottsHouse_EventScript_26387A
goto BattleFrontier_ScottsHouse_EventScript_2637E4
end
@@ -135,7 +135,7 @@ BattleFrontier_ScottsHouse_EventScript_26381B:: @ 826381B
BattleFrontier_ScottsHouse_EventScript_26387A:: @ 826387A
msgbox BattleFrontier_ScottsHouse_Text_264412, 4
givedecoration_std 42
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_ScottsHouse_EventScript_2638A0
setflag FLAG_0x0ED
setflag FLAG_0x003
@@ -161,7 +161,7 @@ BattleFrontier_ScottsHouse_EventScript_2638B4:: @ 82638B4
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
special sub_8161F74
compare_var_to_value VAR_RESULT, 100
compare VAR_RESULT, 100
goto_if 4, BattleFrontier_ScottsHouse_EventScript_263913
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
@@ -170,7 +170,7 @@ BattleFrontier_ScottsHouse_EventScript_2638B4:: @ 82638B4
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
special sub_8161F74
compare_var_to_value VAR_RESULT, 100
compare VAR_RESULT, 100
goto_if 4, BattleFrontier_ScottsHouse_EventScript_263913
goto BattleFrontier_ScottsHouse_EventScript_2637E4
end
@@ -178,7 +178,7 @@ BattleFrontier_ScottsHouse_EventScript_2638B4:: @ 82638B4
BattleFrontier_ScottsHouse_EventScript_263913:: @ 8263913
msgbox BattleFrontier_ScottsHouse_Text_26449F, 4
givedecoration_std 43
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_ScottsHouse_EventScript_2638A0
setflag FLAG_0x0EE
setflag FLAG_0x003
@@ -194,23 +194,23 @@ BattleFrontier_ScottsHouse_EventScript_263943:: @ 8263943
msgbox BattleFrontier_ScottsHouse_Text_263A3F, 4
closemessage
delay 30
compare_var_to_value VAR_FACING, 2
compare VAR_FACING, 2
call_if 1, BattleFrontier_ScottsHouse_EventScript_263A13
compare_var_to_value VAR_FACING, 1
compare VAR_FACING, 1
call_if 1, BattleFrontier_ScottsHouse_EventScript_263A1E
compare_var_to_value VAR_FACING, 4
compare VAR_FACING, 4
call_if 1, BattleFrontier_ScottsHouse_EventScript_263A29
compare_var_to_value VAR_FACING, 3
compare VAR_FACING, 3
call_if 1, BattleFrontier_ScottsHouse_EventScript_263A34
msgbox BattleFrontier_ScottsHouse_Text_263B29, 4
applymovement 1, BattleFrontier_ScottsHouse_Movement_27259E
waitmovement 0
msgbox BattleFrontier_ScottsHouse_Text_263BD4, 4
compare_var_to_value VAR_0x40D1, 13
compare VAR_0x40D1, 13
goto_eq BattleFrontier_ScottsHouse_EventScript_2639BC
compare_var_to_value VAR_0x40D1, 9
compare VAR_0x40D1, 9
goto_if 4, BattleFrontier_ScottsHouse_EventScript_2639CB
compare_var_to_value VAR_0x40D1, 6
compare VAR_0x40D1, 6
goto_if 4, BattleFrontier_ScottsHouse_EventScript_2639DA
goto BattleFrontier_ScottsHouse_EventScript_2639E9
end

View File

@@ -38,7 +38,7 @@ BirthIsland_Exterior_MapScript1_267F65: @ 8267F65
BirthIsland_Exterior_EventScript_267F6F:: @ 8267F6F
specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 7
compare VAR_RESULT, 7
goto_if 5, BirthIsland_Exterior_EventScript_27374E
removeobject 2
return
@@ -73,7 +73,7 @@ BirthIsland_Exterior_EventScript_267FC1:: @ 8267FC1
setfieldeffectargument 1, 58
setfieldeffectargument 2, 26
dofieldeffect 65
playbgm BGM_FRLG_DEOXYS_EYE, 0
playbgm MUS_RG_DEOEYE, 0
waitfieldeffect 65
addobject 2
applymovement 2, BirthIsland_Exterior_Movement_268054
@@ -88,15 +88,15 @@ BirthIsland_Exterior_EventScript_267FC1:: @ 8267FC1
setvar VAR_0x8006, 0
special DoScriptedWildBattle
setflag FLAG_SYS_CTRL_OBJ_DELETE
special sub_80B0934
special BattleSetup_StartLegendaryBattle
waitstate
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq BirthIsland_Exterior_EventScript_26803B
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
goto_eq BirthIsland_Exterior_EventScript_268049
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq BirthIsland_Exterior_EventScript_268049
setflag FLAG_0x1AD
release

View File

@@ -5,7 +5,7 @@ BirthIsland_Harbor_EventScript_26805D:: @ 826805D
lock
faceplayer
msgbox BirthIsland_Harbor_Text_2C6B90, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BirthIsland_Harbor_EventScript_2680A2
msgbox BirthIsland_Harbor_Text_2A6A5D, 4
closemessage

View File

@@ -11,7 +11,7 @@ DesertRuins_MapScript1_22D96B: @ 822D96B
DesertRuins_EventScript_22D975:: @ 822D975
specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 7
compare VAR_RESULT, 7
goto_if 5, DesertRuins_EventScript_27374E
removeobject VAR_LAST_TALKED
return
@@ -31,7 +31,7 @@ DesertRuins_EventScript_22D993:: @ 822D993
return
DesertRuins_MapScript1_22D9CA: @ 822D9CA
setflag FLAG_0x8B6
setflag FLAG_LANDMARK_DESERT_RUINS
checkflag FLAG_0x1BB
call_if 0, DesertRuins_EventScript_22D9D7
end
@@ -72,15 +72,15 @@ DesertRuins_EventScript_22DA02:: @ 822DA02
waitmoncry
setwildbattle SPECIES_REGIROCK, 40, ITEM_NONE
setflag FLAG_SYS_CTRL_OBJ_DELETE
special sub_80B0A74
special StartRegiBattle
waitstate
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq DesertRuins_EventScript_22DA49
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
goto_eq DesertRuins_EventScript_22DA52
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq DesertRuins_EventScript_22DA52
setflag FLAG_0x1BB
release

View File

@@ -3,7 +3,7 @@ DesertUnderpass_MapScripts:: @ 823AF37
.byte 0
DesertUnderpass_MapScript1_23AF3D: @ 823AF3D
setflag FLAG_0x8DE
setflag FLAG_LANDMARK_DESERT_UNDERPASS
end
DesertUnderpass_EventScript_23AF41:: @ 823AF41

View File

@@ -43,7 +43,7 @@ DewfordTown_EventScript_1E957A:: @ 81E957A
DewfordTown_EventScript_1E9585:: @ 81E9585
msgbox DewfordTown_Text_1E9B24, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq DewfordTown_EventScript_1E95A2
msgbox DewfordTown_Text_1E9BD9, 4
release
@@ -77,9 +77,9 @@ DewfordTown_EventScript_1E95D5:: @ 81E95D5
checkflag FLAG_0x101
goto_eq DewfordTown_EventScript_1E962A
msgbox DewfordTown_Text_1E9DD1, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq DewfordTown_EventScript_1E95FF
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq DewfordTown_EventScript_1E9620
end
@@ -100,9 +100,9 @@ DewfordTown_EventScript_1E962A:: @ 81E962A
message DewfordTown_Text_1E9FB8
waitmessage
multichoice 20, 8, 50, 1
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq DewfordTown_EventScript_1E964C
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq DewfordTown_EventScript_1E9656
end
@@ -599,9 +599,9 @@ DewfordTown_EventScript_1E9922:: @ 81E9922
faceplayer
call DewfordTown_EventScript_271E8B
msgbox DewfordTown_Text_1EA136, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq DewfordTown_EventScript_1E9948
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq DewfordTown_EventScript_1E9952
end
@@ -616,15 +616,15 @@ DewfordTown_EventScript_1E9952:: @ 81E9952
call DewfordTown_EventScript_271E7C
lock
faceplayer
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq DewfordTown_EventScript_1E997D
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq DewfordTown_EventScript_1E9994
end
DewfordTown_EventScript_1E997D:: @ 81E997D
incrementgamestat 2
compare_var_to_value VAR_0x8004, 0
compare VAR_0x8004, 0
goto_eq DewfordTown_EventScript_1E999E
msgbox DewfordTown_Text_1EA2AA, 4
release

View File

@@ -11,17 +11,17 @@ DewfordTown_Gym_EventScript_1FC648:: @ 81FC648
goto_eq DewfordTown_Gym_EventScript_1FC6A2
call DewfordTown_Gym_EventScript_1FC768
copyvar VAR_0x8001, VAR_0x8000
compare_var_to_value VAR_0x8000, 0
compare VAR_0x8000, 0
goto_eq DewfordTown_Gym_EventScript_1FC6BE
compare_var_to_value VAR_0x8000, 1
compare VAR_0x8000, 1
goto_eq DewfordTown_Gym_EventScript_1FC6BA
compare_var_to_value VAR_0x8000, 2
compare VAR_0x8000, 2
goto_eq DewfordTown_Gym_EventScript_1FC6B6
compare_var_to_value VAR_0x8000, 3
compare VAR_0x8000, 3
goto_eq DewfordTown_Gym_EventScript_1FC6B2
compare_var_to_value VAR_0x8000, 4
compare VAR_0x8000, 4
goto_eq DewfordTown_Gym_EventScript_1FC6AE
compare_var_to_value VAR_0x8000, 5
compare VAR_0x8000, 5
goto_eq DewfordTown_Gym_EventScript_1FC6AA
goto DewfordTown_Gym_EventScript_1FC6A6
@@ -60,20 +60,20 @@ DewfordTown_Gym_EventScript_1FC6BE:: @ 81FC6BE
DewfordTown_Gym_EventScript_1FC6C2:: @ 81FC6C2
call DewfordTown_Gym_EventScript_1FC768
nop1
compare_var_to_var VAR_0x8000, VAR_0x8001
compare VAR_0x8000, VAR_0x8001
goto_eq DewfordTown_Gym_EventScript_1FC71A
copyvar VAR_0x8001, VAR_0x8000
compare_var_to_value VAR_0x8000, 1
compare VAR_0x8000, 1
goto_eq DewfordTown_Gym_EventScript_1FC71B
compare_var_to_value VAR_0x8000, 2
compare VAR_0x8000, 2
goto_eq DewfordTown_Gym_EventScript_1FC726
compare_var_to_value VAR_0x8000, 3
compare VAR_0x8000, 3
goto_eq DewfordTown_Gym_EventScript_1FC731
compare_var_to_value VAR_0x8000, 4
compare VAR_0x8000, 4
goto_eq DewfordTown_Gym_EventScript_1FC73C
compare_var_to_value VAR_0x8000, 5
compare VAR_0x8000, 5
goto_eq DewfordTown_Gym_EventScript_1FC747
compare_var_to_value VAR_0x8000, 6
compare VAR_0x8000, 6
goto_eq DewfordTown_Gym_EventScript_1FC752
DewfordTown_Gym_EventScript_1FC71A:: @ 81FC71A
@@ -157,8 +157,8 @@ DewfordTown_Gym_EventScript_1FC7C1:: @ 81FC7C1
DewfordTown_Gym_EventScript_1FC7C2:: @ 81FC7C2
trainerbattle 1, TRAINER_BRAWLY_1, 0, DewfordTown_Gym_Text_1FCF44, DewfordTown_Gym_Text_1FD008, DewfordTown_Gym_EventScript_1FC7F7
specialvar VAR_RESULT, sub_80B226C
compare_var_to_value VAR_RESULT, 1
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq DewfordTown_Gym_EventScript_1FC89C
checkflag FLAG_0x0A6
goto_if 0, DewfordTown_Gym_EventScript_1FC878
@@ -175,14 +175,14 @@ DewfordTown_Gym_EventScript_1FC7F7:: @ 81FC7F7
setflag FLAG_0x4F1
setflag FLAG_BADGE02_GET
addvar VAR_0x4085, 1
compare_var_to_value VAR_0x4085, 6
compare VAR_0x4085, 6
call_if 1, DewfordTown_Gym_EventScript_271E84
setvar VAR_0x8008, 2
call DewfordTown_Gym_EventScript_271F43
call DewfordTown_Gym_EventScript_1FC855
closemessage
delay 30
playfanfare BGM_ME_MATCH_CALL
playfanfare MUS_ME_TORE_EYE
msgbox DewfordTown_Gym_Text_1FD1E0, 4
waitfanfare
closemessage
@@ -195,7 +195,7 @@ DewfordTown_Gym_EventScript_1FC7F7:: @ 81FC7F7
DewfordTown_Gym_EventScript_1FC855:: @ 81FC855
giveitem_std ITEM_TM08
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq DewfordTown_Gym_EventScript_27205E
msgbox DewfordTown_Gym_Text_1FD181, 4
setflag FLAG_0x0A6
@@ -203,7 +203,7 @@ DewfordTown_Gym_EventScript_1FC855:: @ 81FC855
DewfordTown_Gym_EventScript_1FC878:: @ 81FC878
giveitem_std ITEM_TM08
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq DewfordTown_Gym_EventScript_272054
msgbox DewfordTown_Gym_Text_1FD181, 4
setflag FLAG_0x0A6

View File

@@ -6,7 +6,7 @@ DewfordTown_Hall_EventScript_1FD4D0:: @ 81FD4D0
faceplayer
call DewfordTown_Hall_EventScript_271E8B
special sub_81229C8
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq DewfordTown_Hall_EventScript_1FD4EF
msgbox DewfordTown_Hall_Text_1FD818, 4
release
@@ -31,9 +31,9 @@ DewfordTown_Hall_EventScript_1FD50A:: @ 81FD50A
call DewfordTown_Hall_EventScript_271E8B
special sub_811EF6C
msgbox DewfordTown_Hall_Text_1FD948, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq DewfordTown_Hall_EventScript_1FD533
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq DewfordTown_Hall_EventScript_1FD53D
end
@@ -191,14 +191,14 @@ DewfordTown_Hall_EventScript_1FD739:: @ 81FD739
DewfordTown_Hall_EventScript_1FD73A:: @ 81FD73A
applymovement 8, DewfordTown_Hall_Movement_1FD7D6
waitmovement 0
compare_var_to_value VAR_0x8008, 0
compare VAR_0x8008, 0
goto_eq DewfordTown_Hall_EventScript_1FD75B
compare_var_to_value VAR_0x8008, 1
compare VAR_0x8008, 1
goto_eq DewfordTown_Hall_EventScript_1FD771
end
DewfordTown_Hall_EventScript_1FD75B:: @ 81FD75B
compare_var_to_value VAR_FACING, 4
compare VAR_FACING, 4
goto_eq DewfordTown_Hall_EventScript_1FD739
applymovement 255, DewfordTown_Hall_Movement_2725A8
waitmovement 0
@@ -210,16 +210,16 @@ DewfordTown_Hall_EventScript_1FD771:: @ 81FD771
DewfordTown_Hall_EventScript_1FD772:: @ 81FD772
applymovement 7, DewfordTown_Hall_Movement_1FD7D8
waitmovement 0
compare_var_to_value VAR_0x8008, 0
compare VAR_0x8008, 0
goto_eq DewfordTown_Hall_EventScript_1FD793
compare_var_to_value VAR_0x8008, 1
compare VAR_0x8008, 1
goto_eq DewfordTown_Hall_EventScript_1FD7C0
end
DewfordTown_Hall_EventScript_1FD793:: @ 81FD793
compare_var_to_value VAR_FACING, 2
compare VAR_FACING, 2
call_if 1, DewfordTown_Hall_EventScript_1FD7AA
compare_var_to_value VAR_FACING, 1
compare VAR_FACING, 1
call_if 1, DewfordTown_Hall_EventScript_1FD7B5
return
@@ -234,7 +234,7 @@ DewfordTown_Hall_EventScript_1FD7B5:: @ 81FD7B5
return
DewfordTown_Hall_EventScript_1FD7C0:: @ 81FD7C0
compare_var_to_value VAR_FACING, 3
compare VAR_FACING, 3
goto_eq DewfordTown_Hall_EventScript_1FD739
applymovement 255, DewfordTown_Hall_Movement_2725A4
waitmovement 0
@@ -256,7 +256,7 @@ DewfordTown_Hall_EventScript_1FD7DA:: @ 81FD7DA
goto_eq DewfordTown_Hall_EventScript_1FD80E
msgbox DewfordTown_Hall_Text_1FE142, 4
giveitem_std ITEM_TM36
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq DewfordTown_Hall_EventScript_272054
setflag FLAG_0x0E6
release

View File

@@ -8,7 +8,7 @@ DewfordTown_House2_EventScript_1FE22E:: @ 81FE22E
goto_eq DewfordTown_House2_EventScript_1FE267
msgbox DewfordTown_House2_Text_1FE27A, 4
giveitem_std ITEM_SILK_SCARF
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq DewfordTown_House2_EventScript_1FE25D
setflag FLAG_0x121
release

View File

@@ -38,7 +38,7 @@ EverGrandeCity_ChampionsRoom_Movement_228A42: @ 8228A42
step_end
EverGrandeCity_ChampionsRoom_EventScript_228A45:: @ 8228A45
playbgm BGM_DAIGO, 0
playbgm MUS_DAIGO, 0
msgbox EverGrandeCity_ChampionsRoom_Text_228C4C, 4
trainerbattle 3, TRAINER_WALLACE, 0, EverGrandeCity_ChampionsRoom_Text_228EAC
goto EverGrandeCity_ChampionsRoom_EventScript_228A61
@@ -53,25 +53,25 @@ EverGrandeCity_ChampionsRoom_EventScript_228A61:: @ 8228A61
closemessage
playse SE_DOOR
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, EverGrandeCity_ChampionsRoom_EventScript_228ABC
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, EverGrandeCity_ChampionsRoom_EventScript_228AC1
addobject 2
call EverGrandeCity_ChampionsRoom_EventScript_228BFD
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq EverGrandeCity_ChampionsRoom_EventScript_228AC6
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq EverGrandeCity_ChampionsRoom_EventScript_228AFB
end
EverGrandeCity_ChampionsRoom_EventScript_228ABC:: @ 8228ABC
playbgm BGM_GIRL_SUP, 0
playbgm MUS_GIRL_SUP, 0
return
EverGrandeCity_ChampionsRoom_EventScript_228AC1:: @ 8228AC1
playbgm BGM_BOY_SUP, 0
playbgm MUS_BOY_SUP, 0
return
EverGrandeCity_ChampionsRoom_EventScript_228AC6:: @ 8228AC6
@@ -128,9 +128,9 @@ EverGrandeCity_ChampionsRoom_EventScript_228B30:: @ 8228B30
waitmovement 0
msgbox EverGrandeCity_ChampionsRoom_Text_2293EB, 4
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, EverGrandeCity_ChampionsRoom_EventScript_228BEB
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, EverGrandeCity_ChampionsRoom_EventScript_228BF4
closemessage
applymovement 1, EverGrandeCity_ChampionsRoom_Movement_228C3F

View File

@@ -26,7 +26,7 @@ EverGrandeCity_DrakesRoom_EventScript_2286C5:: @ 82286C5
EverGrandeCity_DrakesRoom_MapScript1_2286D2: @ 82286D2
checkflag FLAG_0x4FE
call_if 1, EverGrandeCity_DrakesRoom_EventScript_2286E7
compare_var_to_value VAR_0x409C, 4
compare VAR_0x409C, 4
call_if 1, EverGrandeCity_DrakesRoom_EventScript_2286ED
end
@@ -43,7 +43,7 @@ EverGrandeCity_DrakesRoom_EventScript_2286F3:: @ 82286F3
faceplayer
checkflag FLAG_0x4FE
goto_eq EverGrandeCity_DrakesRoom_EventScript_22871A
playbgm BGM_SITENNOU, 0
playbgm MUS_SITENNOU, 0
msgbox EverGrandeCity_DrakesRoom_Text_22873E, 4
trainerbattle 3, TRAINER_DRAKE, 0, EverGrandeCity_DrakesRoom_Text_228895
goto EverGrandeCity_DrakesRoom_EventScript_228724

View File

@@ -26,7 +26,7 @@ EverGrandeCity_GlaciasRoom_EventScript_22843B:: @ 822843B
EverGrandeCity_GlaciasRoom_MapScript1_228448: @ 8228448
checkflag FLAG_0x4FD
call_if 1, EverGrandeCity_GlaciasRoom_EventScript_22845D
compare_var_to_value VAR_0x409C, 3
compare VAR_0x409C, 3
call_if 1, EverGrandeCity_GlaciasRoom_EventScript_228463
end
@@ -43,7 +43,7 @@ EverGrandeCity_GlaciasRoom_EventScript_228469:: @ 8228469
faceplayer
checkflag FLAG_0x4FD
goto_eq EverGrandeCity_GlaciasRoom_EventScript_228490
playbgm BGM_SITENNOU, 0
playbgm MUS_SITENNOU, 0
msgbox EverGrandeCity_GlaciasRoom_Text_2284AC, 4
trainerbattle 3, TRAINER_GLACIA, 0, EverGrandeCity_GlaciasRoom_Text_2285B4
goto EverGrandeCity_GlaciasRoom_EventScript_22849A

View File

@@ -44,16 +44,16 @@ EverGrandeCity_HallOfFame_EventScript_229850:: @ 8229850
setvar VAR_0x4001, 1
call EverGrandeCity_HallOfFame_EventScript_2717C1
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq EverGrandeCity_HallOfFame_EventScript_2298E9
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq EverGrandeCity_HallOfFame_EventScript_2298F5
end
EverGrandeCity_HallOfFame_EventScript_2298E9:: @ 82298E9
setrespawn 1
fadescreenspeed 1, 24
special sub_8137734
special GameClear
waitstate
releaseall
end
@@ -61,7 +61,7 @@ EverGrandeCity_HallOfFame_EventScript_2298E9:: @ 82298E9
EverGrandeCity_HallOfFame_EventScript_2298F5:: @ 82298F5
setrespawn 2
fadescreenspeed 1, 24
special sub_8137734
special GameClear
waitstate
releaseall
end

View File

@@ -26,7 +26,7 @@ EverGrandeCity_PhoebesRoom_EventScript_22819D:: @ 822819D
EverGrandeCity_PhoebesRoom_MapScript1_2281AA: @ 82281AA
checkflag FLAG_0x4FC
call_if 1, EverGrandeCity_PhoebesRoom_EventScript_2281BF
compare_var_to_value VAR_0x409C, 2
compare VAR_0x409C, 2
call_if 1, EverGrandeCity_PhoebesRoom_EventScript_2281C5
end
@@ -43,7 +43,7 @@ EverGrandeCity_PhoebesRoom_EventScript_2281CB:: @ 82281CB
faceplayer
checkflag FLAG_0x4FC
goto_eq EverGrandeCity_PhoebesRoom_EventScript_2281F2
playbgm BGM_SITENNOU, 0
playbgm MUS_SITENNOU, 0
msgbox EverGrandeCity_PhoebesRoom_Text_22820E, 4
trainerbattle 3, TRAINER_PHOEBE, 0, EverGrandeCity_PhoebesRoom_Text_228325
goto EverGrandeCity_PhoebesRoom_EventScript_2281FC

View File

@@ -36,11 +36,11 @@ EverGrandeCity_PokemonCenter_1F_EventScript_229A79:: @ 8229A79
faceplayer
msgbox EverGrandeCity_PokemonCenter_1F_Text_229BF1, 4
closemessage
compare_var_to_value VAR_FACING, 2
compare VAR_FACING, 2
call_if 1, EverGrandeCity_PokemonCenter_1F_EventScript_229AB6
compare_var_to_value VAR_FACING, 4
compare VAR_FACING, 4
call_if 1, EverGrandeCity_PokemonCenter_1F_EventScript_229AC1
compare_var_to_value VAR_FACING, 3
compare VAR_FACING, 3
call_if 1, EverGrandeCity_PokemonCenter_1F_EventScript_229AC1
addvar VAR_0x40D1, 1
setflag FLAG_0x1CF

View File

@@ -5,7 +5,7 @@ EverGrandeCity_PokemonLeague_1F_MapScripts:: @ 82295D2
EverGrandeCity_PokemonLeague_1F_MapScript1_2295DD: @ 82295DD
setrespawn 20
setflag FLAG_SYS_POKEMON_LEAGUE_FLY
setflag FLAG_LANDMARK_POKEMON_LEAGUE
checkflag FLAG_0x107
call_if 0, EverGrandeCity_PokemonLeague_1F_EventScript_2295ED
end
@@ -51,9 +51,9 @@ EverGrandeCity_PokemonLeague_1F_EventScript_229636:: @ 8229636
checkflag FLAG_0x107
goto_eq EverGrandeCity_PokemonLeague_1F_EventScript_2296BB
getplayerxy VAR_0x4000, VAR_0x4001
compare_var_to_value VAR_0x4000, 11
compare VAR_0x4000, 11
call_if 4, EverGrandeCity_PokemonLeague_1F_EventScript_229698
compare_var_to_value VAR_0x4000, 8
compare VAR_0x4000, 8
call_if 3, EverGrandeCity_PokemonLeague_1F_EventScript_2296A3
message EverGrandeCity_PokemonLeague_1F_Text_2296E8
waitmessage
@@ -65,7 +65,7 @@ EverGrandeCity_PokemonLeague_1F_EventScript_229636:: @ 8229636
applymovement 4, EverGrandeCity_PokemonLeague_1F_Movement_2296E5
waitmovement 0
delay 10
playfanfare BGM_ME_BACHI
playfanfare MUS_ME_BACHI
message EverGrandeCity_PokemonLeague_1F_Text_2297EF
waitmessage
waitfanfare

View File

@@ -13,7 +13,7 @@ EverGrandeCity_SidneysRoom_MapScript1_227F16: @ 8227F16
EverGrandeCity_SidneysRoom_MapScript1_227F1D: @ 8227F1D
checkflag FLAG_0x4FB
call_if 1, EverGrandeCity_SidneysRoom_EventScript_227F32
compare_var_to_value VAR_0x409C, 1
compare VAR_0x409C, 1
call_if 1, EverGrandeCity_SidneysRoom_EventScript_227F38
end
@@ -50,7 +50,7 @@ EverGrandeCity_SidneysRoom_EventScript_227F64:: @ 8227F64
faceplayer
checkflag FLAG_0x4FB
goto_eq EverGrandeCity_SidneysRoom_EventScript_227F8B
playbgm BGM_SITENNOU, 0
playbgm MUS_SITENNOU, 0
msgbox EverGrandeCity_SidneysRoom_Text_227FA7, 4
trainerbattle 3, TRAINER_SIDNEY, 0, EverGrandeCity_SidneysRoom_Text_2280A2
goto EverGrandeCity_SidneysRoom_EventScript_227F95

View File

@@ -10,9 +10,9 @@ FallarborTown_BattleTentBattleRoom_MapScript1_2008A9: @ 82008A9
FallarborTown_BattleTentBattleRoom_EventScript_2008AF:: @ 82008AF
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq FallarborTown_BattleTentBattleRoom_EventScript_2008C7
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq FallarborTown_BattleTentBattleRoom_EventScript_2008D2
return
@@ -38,7 +38,7 @@ FallarborTown_BattleTentBattleRoom_EventScript_2008E7:: @ 82008E7
setvar VAR_0x8004, 1
setvar VAR_0x8005, 2
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, FallarborTown_BattleTentBattleRoom_EventScript_200B73
FallarborTown_BattleTentBattleRoom_EventScript_20090F:: @ 820090F
@@ -108,17 +108,17 @@ FallarborTown_BattleTentBattleRoom_EventScript_2009B3:: @ 82009B3
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3
special sub_81A1780
playfanfare BGM_ME_ASA
playfanfare MUS_ME_ASA
waitfanfare
special sp000_heal_pokemon
special HealPlayerParty
FallarborTown_BattleTentBattleRoom_EventScript_200A2A:: @ 8200A2A
setvar VAR_0x8004, 1
setvar VAR_0x8005, 2
special sub_81A1780
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, FallarborTown_BattleTentBattleRoom_EventScript_200B43
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
call_if 1, FallarborTown_BattleTentBattleRoom_EventScript_200B4A
multichoice 20, 6, 104, 1
switch VAR_RESULT
@@ -163,7 +163,7 @@ FallarborTown_BattleTentBattleRoom_EventScript_200AF3:: @ 8200AF3
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
special sub_81A5238
compare_var_to_value VAR_RESULT, 9999
compare VAR_RESULT, 9999
goto_eq FallarborTown_BattleTentBattleRoom_EventScript_2009B3
addvar VAR_RESULT, 1
setvar VAR_0x8004, 2

View File

@@ -70,7 +70,7 @@ FallarborTown_BattleTentLobby_EventScript_1FFF27:: @ 81FFF27
special sub_81A1780
message FallarborTown_BattleTentLobby_Text_2C4F69
waitmessage
playfanfare BGM_FANFA4
playfanfare MUS_FANFA4
waitfanfare
msgbox FallarborTown_BattleTentLobby_Text_2C501F, 4
closemessage
@@ -132,7 +132,7 @@ FallarborTown_BattleTentLobby_EventScript_200001:: @ 8200001
faceplayer
setvar VAR_0x8004, 1
special sub_81B9B80
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, FallarborTown_BattleTentLobby_EventScript_1FFF84
special copy_player_party_to_sav1
msgbox FallarborTown_BattleTentLobby_Text_2C47EB, 4
@@ -153,7 +153,7 @@ FallarborTown_BattleTentLobby_EventScript_20005D:: @ 820005D
setvar VAR_RESULT, 2
setvar VAR_0x8004, 15
special sub_81A1780
compare_var_to_value VAR_0x8004, 1
compare VAR_0x8004, 1
goto_eq FallarborTown_BattleTentLobby_EventScript_200176
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
@@ -165,7 +165,7 @@ FallarborTown_BattleTentLobby_EventScript_20005D:: @ 820005D
setvar VAR_0x8005, 3
special sub_80F9490
waitstate
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq FallarborTown_BattleTentLobby_EventScript_2001C2
msgbox FallarborTown_BattleTentLobby_Text_2C4B35, 5
switch VAR_RESULT
@@ -193,7 +193,7 @@ FallarborTown_BattleTentLobby_EventScript_2000E2:: @ 82000E2
delay 2
call FallarborTown_BattleTentLobby_EventScript_27134F
setvar VAR_0x4000, 255
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq FallarborTown_BattleTentLobby_EventScript_2001AB
FallarborTown_BattleTentLobby_EventScript_20013C:: @ 820013C

View File

@@ -7,7 +7,7 @@ FallarborTown_House1_EventScript_200F13:: @ 8200F13
checkflag FLAG_0x0E5
goto_eq FallarborTown_House1_EventScript_200FB2
checkitem ITEM_METEORITE, 1
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq FallarborTown_House1_EventScript_200F38
msgbox FallarborTown_House1_Text_200FEE, 4
release
@@ -18,11 +18,11 @@ FallarborTown_House1_EventScript_200F38:: @ 8200F38
call_if 0, FallarborTown_House1_EventScript_200F8B
checkflag FLAG_0x002
call_if 1, FallarborTown_House1_EventScript_200F9C
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq FallarborTown_House1_EventScript_200FA5
msgbox FallarborTown_House1_Text_201159, 4
giveitem_std ITEM_TM27
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq FallarborTown_House1_EventScript_272054
setvar VAR_0x8004, 280
call FallarborTown_House1_EventScript_2723E4

View File

@@ -14,7 +14,7 @@ FallarborTown_House2_EventScript_201383:: @ 8201383
FallarborTown_House2_EventScript_2013A8:: @ 82013A8
checkitem ITEM_HEART_SCALE, 1
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq FallarborTown_House2_EventScript_201452
msgbox FallarborTown_House2_Text_201541, 5
switch VAR_RESULT
@@ -26,12 +26,12 @@ FallarborTown_House2_EventScript_2013D6:: @ 82013D6
msgbox FallarborTown_House2_Text_2015A5, 4
special sub_81B951C
waitstate
compare_var_to_value VAR_0x8004, 255
compare VAR_0x8004, 255
goto_eq FallarborTown_House2_EventScript_201452
special sub_81B98DC
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq FallarborTown_House2_EventScript_201444
compare_var_to_value VAR_0x8005, 0
compare VAR_0x8005, 0
goto_eq FallarborTown_House2_EventScript_201436
goto FallarborTown_House2_EventScript_20140C
end
@@ -40,7 +40,7 @@ FallarborTown_House2_EventScript_20140C:: @ 820140C
msgbox FallarborTown_House2_Text_2015C3, 4
special sub_8160638
waitstate
compare_var_to_value VAR_0x8004, 0
compare VAR_0x8004, 0
goto_eq FallarborTown_House2_EventScript_2013D6
msgbox FallarborTown_House2_Text_201627, 4
takeitem ITEM_HEART_SCALE, 1

View File

@@ -20,7 +20,7 @@ FarawayIsland_Entrance_EventScript_267CA2:: @ 8267CA2
lock
faceplayer
msgbox FarawayIsland_Entrance_Text_2C6B42, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq FarawayIsland_Entrance_EventScript_267CE7
msgbox FarawayIsland_Entrance_Text_2A6A5D, 4
closemessage

View File

@@ -12,13 +12,13 @@ FarawayIsland_Interior_MapScript1_267D0F: @ 8267D0F
FarawayIsland_Interior_EventScript_267D19:: @ 8267D19
specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq FarawayIsland_Interior_EventScript_267D4B
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
goto_eq FarawayIsland_Interior_EventScript_267D4B
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq FarawayIsland_Interior_EventScript_267D4B
compare_var_to_value VAR_RESULT, 10
compare VAR_RESULT, 10
goto_eq FarawayIsland_Interior_EventScript_267D4B
return
@@ -34,7 +34,7 @@ FarawayIsland_Interior_MapScript1_267D54: @ 8267D54
FarawayIsland_Interior_EventScript_267D5E:: @ 8267D5E
specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 7
compare VAR_RESULT, 7
goto_if 5, FarawayIsland_Interior_EventScript_27374E
removeobject VAR_LAST_TALKED
return
@@ -129,13 +129,13 @@ FarawayIsland_Interior_EventScript_267DF2:: @ 8267DF2
message FarawayIsland_Interior_Text_2C6DFF
waitse
playmoncry SPECIES_MEW, 2
compare_var_to_value VAR_FACING, 2
compare VAR_FACING, 2
call_if 1, FarawayIsland_Interior_EventScript_267EAF
compare_var_to_value VAR_FACING, 1
compare VAR_FACING, 1
call_if 1, FarawayIsland_Interior_EventScript_267EBA
compare_var_to_value VAR_FACING, 3
compare VAR_FACING, 3
call_if 1, FarawayIsland_Interior_EventScript_267EC5
compare_var_to_value VAR_FACING, 4
compare VAR_FACING, 4
call_if 1, FarawayIsland_Interior_EventScript_267ED0
special sub_81D4BEC
delay 40
@@ -145,17 +145,17 @@ FarawayIsland_Interior_EventScript_267DF2:: @ 8267DF2
setvar VAR_0x8006, 0
special DoScriptedWildBattle
setflag FLAG_SYS_CTRL_OBJ_DELETE
special sub_80B0934
special BattleSetup_StartLegendaryBattle
waitstate
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq FarawayIsland_Interior_EventScript_267E96
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
goto_eq FarawayIsland_Interior_EventScript_267EA4
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq FarawayIsland_Interior_EventScript_267EA4
compare_var_to_value VAR_RESULT, 10
compare VAR_RESULT, 10
goto_eq FarawayIsland_Interior_EventScript_267EA4
setflag FLAG_0x1CA
release

View File

@@ -3,9 +3,9 @@ FieryPath_MapScripts:: @ 8230F24
.byte 0
FieryPath_MapScript1_230F2A: @ 8230F2A
checkflag FLAG_0x8AA
checkflag FLAG_LANDMARK_FIERY_PATH
call_if 0, FieryPath_EventScript_230F37
setflag FLAG_0x8AA
setflag FLAG_LANDMARK_FIERY_PATH
end
FieryPath_EventScript_230F37:: @ 8230F37

View File

@@ -57,7 +57,7 @@ FortreeCity_EventScript_1E2614:: @ 81E2614
lock
faceplayer
checkitem ITEM_DEVON_SCOPE, 1
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq FortreeCity_EventScript_1E2630
msgbox FortreeCity_Text_1E29E5, 4
release
@@ -65,7 +65,7 @@ FortreeCity_EventScript_1E2614:: @ 81E2614
FortreeCity_EventScript_1E2630:: @ 81E2630
msgbox FortreeCity_Text_1E2A08, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq FortreeCity_EventScript_1E2645
release
end

View File

@@ -17,8 +17,8 @@ FortreeCity_Gym_EventScript_2165C4:: @ 82165C4
FortreeCity_Gym_EventScript_2165C8:: @ 82165C8
trainerbattle 1, TRAINER_WINONA_1, 0, FortreeCity_Gym_Text_216D75, FortreeCity_Gym_Text_216E60, FortreeCity_Gym_EventScript_2165FD
specialvar VAR_RESULT, sub_80B226C
compare_var_to_value VAR_RESULT, 1
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq FortreeCity_Gym_EventScript_21668D
checkflag FLAG_0x0AA
goto_if 0, FortreeCity_Gym_EventScript_216646
@@ -38,7 +38,7 @@ FortreeCity_Gym_EventScript_2165FD:: @ 82165FD
call FortreeCity_Gym_EventScript_21666A
closemessage
delay 30
playfanfare BGM_ME_MATCH_CALL
playfanfare MUS_ME_TORE_EYE
msgbox FortreeCity_Gym_Text_217044, 4
waitfanfare
closemessage
@@ -51,7 +51,7 @@ FortreeCity_Gym_EventScript_2165FD:: @ 82165FD
FortreeCity_Gym_EventScript_216646:: @ 8216646
giveitem_std ITEM_TM40
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq FortreeCity_Gym_EventScript_272054
msgbox FortreeCity_Gym_Text_216FEC, 4
setflag FLAG_0x0AA
@@ -60,7 +60,7 @@ FortreeCity_Gym_EventScript_216646:: @ 8216646
FortreeCity_Gym_EventScript_21666A:: @ 821666A
giveitem_std ITEM_TM40
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq FortreeCity_Gym_EventScript_27205E
msgbox FortreeCity_Gym_Text_216FEC, 4
setflag FLAG_0x0AA

View File

@@ -11,17 +11,17 @@ FortreeCity_House1_EventScript_2162BB:: @ 82162BB
specialvar VAR_RESULT, sub_807E73C
copyvar VAR_0x8009, VAR_RESULT
msgbox FortreeCity_House1_Text_21637B, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq FortreeCity_House1_EventScript_21633D
special sub_81B94B0
waitstate
copyvar VAR_0x800A, VAR_0x8004
compare_var_to_value VAR_0x8004, 255
compare VAR_0x8004, 255
goto_eq FortreeCity_House1_EventScript_21633D
copyvar VAR_0x8005, VAR_0x800A
specialvar VAR_RESULT, sub_807E9D4
copyvar VAR_0x800B, VAR_RESULT
compare_var_to_var VAR_RESULT, VAR_0x8009
compare VAR_RESULT, VAR_0x8009
goto_if 5, FortreeCity_House1_EventScript_216347
copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A

View File

@@ -22,7 +22,7 @@ FortreeCity_House2_EventScript_2177CB:: @ 82177CB
case 0, FortreeCity_House2_EventScript_217878
msgbox FortreeCity_House2_Text_217A28, 4
giveitem_std ITEM_TM10
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq FortreeCity_House2_EventScript_272054
setflag FLAG_0x108
msgbox FortreeCity_House2_Text_217A91, 4

View File

@@ -35,7 +35,7 @@ FortreeCity_House4_EventScript_217CD8:: @ 8217CD8
waitmovement 0
msgbox FortreeCity_House4_Text_217E05, 4
giveitem_std ITEM_MENTAL_HERB
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq FortreeCity_House4_EventScript_272054
setflag FLAG_0x0DF
releaseall

View File

@@ -10,12 +10,12 @@ GraniteCave_StevensRoom_EventScript_22DC7B:: @ 822DC7B
setflag FLAG_0x0BD
msgbox GraniteCave_StevensRoom_Text_22DDBD, 4
giveitem_std ITEM_TM47
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, GraniteCave_StevensRoom_EventScript_22DD3C
msgbox GraniteCave_StevensRoom_Text_22DE6B, 4
closemessage
delay 30
playfanfare BGM_ME_MATCH_CALL
playfanfare MUS_ME_TORE_EYE
msgbox GraniteCave_StevensRoom_Text_22DF6A, 4
waitfanfare
closemessage
@@ -23,13 +23,13 @@ GraniteCave_StevensRoom_EventScript_22DC7B:: @ 822DC7B
setflag FLAG_0x131
msgbox GraniteCave_StevensRoom_Text_22DF8C, 4
closemessage
compare_var_to_value VAR_FACING, 2
compare VAR_FACING, 2
call_if 1, GraniteCave_StevensRoom_EventScript_22DD0D
compare_var_to_value VAR_FACING, 1
compare VAR_FACING, 1
call_if 1, GraniteCave_StevensRoom_EventScript_22DD2A
compare_var_to_value VAR_FACING, 3
compare VAR_FACING, 3
call_if 1, GraniteCave_StevensRoom_EventScript_22DD18
compare_var_to_value VAR_FACING, 4
compare VAR_FACING, 4
call_if 1, GraniteCave_StevensRoom_EventScript_22DD18
playse SE_KAIDAN
removeobject 1

View File

@@ -17,9 +17,9 @@ InsideOfTruck_EventScript_23BF04:: @ 823BF04
lockall
setflag FLAG_SPECIAL_FLAG_0x4000
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq InsideOfTruck_EventScript_23BF20
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq InsideOfTruck_EventScript_23BF46
end

View File

@@ -11,7 +11,7 @@ IslandCave_MapScript1_238E3A: @ 8238E3A
IslandCave_EventScript_238E44:: @ 8238E44
specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 7
compare VAR_RESULT, 7
goto_if 5, IslandCave_EventScript_27374E
removeobject VAR_LAST_TALKED
return
@@ -31,7 +31,7 @@ IslandCave_EventScript_238E62:: @ 8238E62
return
IslandCave_MapScript1_238E99: @ 8238E99
setflag FLAG_0x8B5
setflag FLAG_LANDMARK_ISLAND_CAVE
call IslandCave_EventScript_238F45
checkflag FLAG_0x1BC
call_if 0, IslandCave_EventScript_238EAB
@@ -104,15 +104,15 @@ IslandCave_EventScript_238F58:: @ 8238F58
waitmoncry
setwildbattle SPECIES_REGICE, 40, ITEM_NONE
setflag FLAG_SYS_CTRL_OBJ_DELETE
special sub_80B0A74
special StartRegiBattle
waitstate
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, sub_8138B80
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq IslandCave_EventScript_238F9F
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
goto_eq IslandCave_EventScript_238FA8
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq IslandCave_EventScript_238FA8
setflag FLAG_0x1BC
release

View File

@@ -6,13 +6,13 @@ JaggedPass_MapScripts:: @ 8230656
JaggedPass_MapScript1_230666: @ 8230666
setstepcallback 1
compare_var_to_value VAR_0x40C8, 0
compare VAR_0x40C8, 0
call_if 1, JaggedPass_EventScript_230674
end
JaggedPass_EventScript_230674:: @ 8230674
checkitem ITEM_MAGMA_EMBLEM, 1
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq JaggedPass_EventScript_230685
return
@@ -21,7 +21,7 @@ JaggedPass_EventScript_230685:: @ 8230685
return
JaggedPass_MapScript1_23068B: @ 823068B
compare_var_to_value VAR_0x40BD, 1
compare VAR_0x40BD, 1
call_if 1, JaggedPass_EventScript_230697
end
@@ -31,7 +31,7 @@ JaggedPass_EventScript_230697:: @ 8230697
return
JaggedPass_MapScript1_23069C: @ 823069C
compare_var_to_value VAR_0x40C8, 1
compare VAR_0x40C8, 1
goto_if 3, JaggedPass_EventScript_2306A8
end
@@ -104,8 +104,8 @@ JaggedPass_EventScript_230785:: @ 8230785
JaggedPass_EventScript_23079C:: @ 823079C
trainerbattle 2, TRAINER_DIANA_1, 0, JaggedPass_Text_230974, JaggedPass_Text_2309B5, JaggedPass_EventScript_2307C8
specialvar VAR_RESULT, sub_80B226C
compare_var_to_value VAR_RESULT, 1
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq JaggedPass_EventScript_2307E4
msgbox JaggedPass_Text_2309D8, 4
release
@@ -128,8 +128,8 @@ JaggedPass_EventScript_2307E4:: @ 82307E4
JaggedPass_EventScript_2307FB:: @ 82307FB
trainerbattle 2, TRAINER_ETHAN_1, 0, JaggedPass_Text_230B10, JaggedPass_Text_230B50, JaggedPass_EventScript_230827
specialvar VAR_RESULT, sub_80B226C
compare_var_to_value VAR_RESULT, 1
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq JaggedPass_EventScript_230843
msgbox JaggedPass_Text_230B93, 4
release

View File

@@ -11,9 +11,9 @@ LavaridgeTown_MapScript1_1EA4DE: @ 81EA4DE
call_if 1, LavaridgeTown_EventScript_1EA53F
call LavaridgeTown_EventScript_271ED7
call LavaridgeTown_EventScript_271EFB
compare_var_to_value VAR_0x4053, 1
compare VAR_0x4053, 1
call_if 1, LavaridgeTown_EventScript_1EA518
compare_var_to_value VAR_0x4053, 1
compare VAR_0x4053, 1
call_if 1, LavaridgeTown_EventScript_1EA543
end
@@ -23,7 +23,7 @@ LavaridgeTown_EventScript_1EA514:: @ 81EA514
LavaridgeTown_EventScript_1EA518:: @ 81EA518
getplayerxy VAR_0x8004, VAR_0x8005
compare_var_to_value VAR_0x8004, 9
compare VAR_0x8004, 9
goto_eq LavaridgeTown_EventScript_1EA529
return
@@ -49,24 +49,24 @@ LavaridgeTown_MapScript2_1EA547: @ 81EA547
LavaridgeTown_EventScript_1EA551:: @ 81EA551
lockall
getplayerxy VAR_0x8008, VAR_0x8009
compare_var_to_value VAR_0x8008, 9
compare VAR_0x8008, 9
call_if 1, LavaridgeTown_EventScript_1EA63A
compare_var_to_value VAR_0x8008, 9
compare VAR_0x8008, 9
call_if 5, LavaridgeTown_EventScript_1EA65C
delay 20
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LavaridgeTown_EventScript_1EA630
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, LavaridgeTown_EventScript_1EA635
compare_var_to_value VAR_0x8008, 9
compare VAR_0x8008, 9
call_if 1, LavaridgeTown_EventScript_1EA6A1
compare_var_to_value VAR_0x8008, 9
compare VAR_0x8008, 9
call_if 5, LavaridgeTown_EventScript_1EA6AC
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LavaridgeTown_EventScript_1EA5B5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LavaridgeTown_EventScript_1EA5DA
end
@@ -91,24 +91,24 @@ LavaridgeTown_EventScript_1EA5FF:: @ 81EA5FF
removeobject 8
addobject 7
delay 30
compare_var_to_value VAR_0x8008, 9
compare VAR_0x8008, 9
call_if 1, LavaridgeTown_EventScript_1EA6B7
compare_var_to_value VAR_0x8008, 9
compare VAR_0x8008, 9
call_if 5, LavaridgeTown_EventScript_1EA6C9
removeobject 7
setvar VAR_0x4053, 2
clearflag FLAG_SPECIAL_FLAG_0x4000
savebgm SE_STOP
savebgm MUS_DUMMY
fadedefaultbgm
releaseall
end
LavaridgeTown_EventScript_1EA630:: @ 81EA630
playbgm BGM_GIRL_SUP, 1
playbgm MUS_GIRL_SUP, 1
return
LavaridgeTown_EventScript_1EA635:: @ 81EA635
playbgm BGM_BOY_SUP, 1
playbgm MUS_BOY_SUP, 1
return
LavaridgeTown_EventScript_1EA63A:: @ 81EA63A
@@ -213,7 +213,7 @@ LavaridgeTown_Movement_1EA6F8: @ 81EA6F8
LavaridgeTown_EventScript_1EA6FA:: @ 81EA6FA
specialvar VAR_RESULT, player_get_direction_lower_nybble
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LavaridgeTown_EventScript_1EA70B
end
@@ -251,14 +251,14 @@ LavaridgeTown_EventScript_1EA744:: @ 81EA744
checkflag FLAG_0x10A
goto_eq LavaridgeTown_EventScript_1EA787
msgbox LavaridgeTown_Text_1EAB80, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LavaridgeTown_EventScript_1EA79B
getpartysize
compare_var_to_value VAR_RESULT, 6
compare VAR_RESULT, 6
goto_eq LavaridgeTown_EventScript_1EA791
msgbox LavaridgeTown_Text_1EACC0, 4
setflag FLAG_0x10A
playfanfare BGM_FANFA4
playfanfare MUS_FANFA4
message LavaridgeTown_Text_1EACF4
waitfanfare
giveegg SPECIES_WYNAUT

View File

@@ -60,8 +60,8 @@ LavaridgeTown_Gym_1F_EventScript_1FE78B:: @ 81FE78B
LavaridgeTown_Gym_1F_EventScript_1FE78C:: @ 81FE78C
trainerbattle 1, TRAINER_FLANNERY_1, 0, LavaridgeTown_Gym_1F_Text_1FF0DC, LavaridgeTown_Gym_1F_Text_1FF233, LavaridgeTown_Gym_1F_EventScript_1FE7C1
specialvar VAR_RESULT, sub_80B226C
compare_var_to_value VAR_RESULT, 1
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE864
checkflag FLAG_0x0A8
goto_if 0, LavaridgeTown_Gym_1F_EventScript_1FE81D
@@ -78,7 +78,7 @@ LavaridgeTown_Gym_1F_EventScript_1FE7C1:: @ 81FE7C1
setflag FLAG_0x4F3
setflag FLAG_BADGE04_GET
addvar VAR_0x4085, 1
compare_var_to_value VAR_0x4085, 6
compare VAR_0x4085, 6
call_if 1, LavaridgeTown_Gym_1F_EventScript_271E84
setvar VAR_0x8008, 4
call LavaridgeTown_Gym_1F_EventScript_271F43
@@ -87,7 +87,7 @@ LavaridgeTown_Gym_1F_EventScript_1FE7C1:: @ 81FE7C1
call LavaridgeTown_Gym_1F_EventScript_1FE841
closemessage
delay 30
playfanfare BGM_ME_MATCH_CALL
playfanfare MUS_ME_TORE_EYE
msgbox LavaridgeTown_Gym_1F_Text_1FF517, 4
waitfanfare
closemessage
@@ -98,7 +98,7 @@ LavaridgeTown_Gym_1F_EventScript_1FE7C1:: @ 81FE7C1
LavaridgeTown_Gym_1F_EventScript_1FE81D:: @ 81FE81D
giveitem_std ITEM_TM50
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LavaridgeTown_Gym_1F_EventScript_272054
msgbox LavaridgeTown_Gym_1F_Text_1FF45C, 4
setflag FLAG_0x0A8
@@ -107,7 +107,7 @@ LavaridgeTown_Gym_1F_EventScript_1FE81D:: @ 81FE81D
LavaridgeTown_Gym_1F_EventScript_1FE841:: @ 81FE841
giveitem_std ITEM_TM50
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LavaridgeTown_Gym_1F_EventScript_27205E
msgbox LavaridgeTown_Gym_1F_Text_1FF45C, 4
setflag FLAG_0x0A8
@@ -127,9 +127,9 @@ LavaridgeTown_Gym_1F_EventScript_1FE89A:: @ 81FE89A
LavaridgeTown_Gym_B1F_EventScript_1FE89A:: @ 81FE89A
call LavaridgeTown_Gym_1F_EventScript_1FE705
release
special CheckIfMultipleTrainersWantBattle
compare_var_to_value VAR_RESULT, 1
goto_eq LavaridgeTown_Gym_1F_EventScript_2742F6
special ShouldTryGetTrainerScript
compare VAR_RESULT, 1
goto_eq EventScript_GotoTrainerScript
end
LavaridgeTown_Gym_1F_EventScript_1FE8AF:: @ 81FE8AF

View File

@@ -32,7 +32,7 @@ LavaridgeTown_HerbShop_EventScript_1FE505:: @ 81FE505
goto_eq LavaridgeTown_HerbShop_EventScript_1FE534
msgbox LavaridgeTown_HerbShop_Text_1FE584, 4
giveitem_std ITEM_CHARCOAL
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LavaridgeTown_HerbShop_EventScript_272054
setflag FLAG_0x0FE
release

View File

@@ -42,7 +42,7 @@ LilycoveCity_EventScript_1E2BD8:: @ 81E2BD8
random 10
addvar VAR_RESULT, 133
giveitem_std VAR_RESULT
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_EventScript_272054
setflag FLAG_0x92F
msgbox LilycoveCity_Text_2A72E3, 4
@@ -240,19 +240,19 @@ LilycoveCity_EventScript_1E2DDE:: @ 81E2DDE
lock
faceplayer
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_EventScript_1E2DF8
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_EventScript_1E2E6B
end
LilycoveCity_EventScript_1E2DF8:: @ 81E2DF8
playbgm BGM_GIRL_SUP, 1
playbgm MUS_GIRL_SUP, 1
checkflag FLAG_0x11E
call_if 1, LilycoveCity_EventScript_1E2E48
checkflag FLAG_0x11E
call_if 0, LilycoveCity_EventScript_1E2E51
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_EventScript_1E2E5A
msgbox LilycoveCity_Text_1E3234, 4
switch VAR_FIRST_POKE
@@ -272,18 +272,18 @@ LilycoveCity_EventScript_1E2E51:: @ 81E2E51
LilycoveCity_EventScript_1E2E5A:: @ 81E2E5A
setflag FLAG_0x11E
msgbox LilycoveCity_Text_1E318D, 4
savebgm SE_STOP
savebgm MUS_DUMMY
fadedefaultbgm
release
end
LilycoveCity_EventScript_1E2E6B:: @ 81E2E6B
playbgm BGM_BOY_SUP, 1
playbgm MUS_BOY_SUP, 1
checkflag FLAG_0x11E
call_if 1, LilycoveCity_EventScript_1E2EBB
checkflag FLAG_0x11E
call_if 0, LilycoveCity_EventScript_1E2EC4
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_EventScript_1E2ECD
msgbox LilycoveCity_Text_1E373C, 4
switch VAR_FIRST_POKE
@@ -303,7 +303,7 @@ LilycoveCity_EventScript_1E2EC4:: @ 81E2EC4
LilycoveCity_EventScript_1E2ECD:: @ 81E2ECD
setflag FLAG_0x11E
msgbox LilycoveCity_Text_1E36BF, 4
savebgm SE_STOP
savebgm MUS_DUMMY
fadedefaultbgm
release
end
@@ -343,9 +343,9 @@ LilycoveCity_EventScript_1E2F3E:: @ 81E2F3E
setvar VAR_RESULT, 0
checkflag FLAG_BADGE06_GET
call_if 1, LilycoveCity_EventScript_1E2F76
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LilycoveCity_EventScript_1E2F86
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, LilycoveCity_EventScript_1E2F8F
clearflag FLAG_0x2D2
clearflag FLAG_0x351
@@ -380,9 +380,9 @@ LilycoveCity_EventScript_1E2FAA:: @ 81E2FAA
setvar VAR_RESULT, 0
checkflag FLAG_BADGE06_GET
call_if 1, LilycoveCity_EventScript_1E2F76
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LilycoveCity_EventScript_1E2FE2
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, LilycoveCity_EventScript_1E2FEB
clearflag FLAG_0x2F8
clearflag FLAG_0x32F
@@ -413,7 +413,7 @@ LilycoveCity_EventScript_1E3006:: @ 81E3006
delay 15
removeobject VAR_LAST_TALKED
waitfieldeffect 30
savebgm SE_STOP
savebgm MUS_DUMMY
fadedefaultbgm
setflag FLAG_0x124
release
@@ -423,9 +423,9 @@ LilycoveCity_EventScript_1E302D:: @ 81E302D
lock
faceplayer
msgbox LilycoveCity_Text_1E4774, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, LilycoveCity_EventScript_1E304F
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LilycoveCity_EventScript_1E3058
release
end

View File

@@ -10,7 +10,7 @@ LilycoveCity_ContestLobby_MapScript1_21A21C: @ 821A21C
LilycoveCity_ContestLobby_EventScript_21A227:: @ 821A227
getpricereduction 4
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A23C
clearflag FLAG_0x369
setflag FLAG_0x340
@@ -45,9 +45,9 @@ LilycoveCity_ContestLobby_EventScript_21A264:: @ 821A264
drawcontestwinner 0
lockall
msgbox LilycoveCity_ContestLobby_Text_21AE78, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A2AA
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_21A2E4
releaseall
end
@@ -58,7 +58,7 @@ LilycoveCity_ContestLobby_EventScript_21A2AA:: @ 821A2AA
special sub_80F88DC
setvar VAR_0x4099, 0
specialvar VAR_RESULT, sub_80F8C7C
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, LilycoveCity_ContestLobby_EventScript_21A314
applymovement 4, LilycoveCity_ContestLobby_Movement_21A40F
waitmovement 0
@@ -70,7 +70,7 @@ LilycoveCity_ContestLobby_EventScript_21A2AA:: @ 821A2AA
LilycoveCity_ContestLobby_EventScript_21A2E4:: @ 821A2E4
msgbox LilycoveCity_ContestLobby_Text_21B0BC, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A2AA
msgbox LilycoveCity_ContestLobby_Text_21B132, 4
closemessage
@@ -92,7 +92,7 @@ LilycoveCity_ContestLobby_EventScript_21A314:: @ 821A314
applymovement 4, LilycoveCity_ContestLobby_Movement_21A41E
waitmovement 0
msgbox LilycoveCity_ContestLobby_Text_21B030, 4
playfanfare BGM_FANFA4
playfanfare MUS_FANFA4
msgbox LilycoveCity_ContestLobby_Text_21B07E, 4
waitfanfare
msgbox LilycoveCity_ContestLobby_Text_21B094, 4
@@ -219,9 +219,9 @@ LilycoveCity_ContestLobby_EventScript_21A436:: @ 821A436
fadescreen 1
drawcontestwinner 0
msgbox LilycoveCity_ContestLobby_Text_21AE78, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A47A
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_21A4B4
end
@@ -231,7 +231,7 @@ LilycoveCity_ContestLobby_EventScript_21A47A:: @ 821A47A
special sub_80F88DC
setvar VAR_0x4099, 0
specialvar VAR_RESULT, sub_80F8C7C
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, LilycoveCity_ContestLobby_EventScript_21A4E4
applymovement 11, LilycoveCity_ContestLobby_Movement_21A53C
waitmovement 0
@@ -243,7 +243,7 @@ LilycoveCity_ContestLobby_EventScript_21A47A:: @ 821A47A
LilycoveCity_ContestLobby_EventScript_21A4B4:: @ 821A4B4
msgbox LilycoveCity_ContestLobby_Text_21B0BC, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A47A
msgbox LilycoveCity_ContestLobby_Text_21B132, 4
closemessage
@@ -266,7 +266,7 @@ LilycoveCity_ContestLobby_EventScript_21A4E4:: @ 821A4E4
applymovement 11, LilycoveCity_ContestLobby_Movement_21A54B
waitmovement 0
msgbox LilycoveCity_ContestLobby_Text_21B030, 4
playfanfare BGM_FANFA4
playfanfare MUS_FANFA4
msgbox LilycoveCity_ContestLobby_Text_21B07E, 4
waitfanfare
msgbox LilycoveCity_ContestLobby_Text_21B094, 4
@@ -320,7 +320,7 @@ LilycoveCity_ContestLobby_Movement_21A54B: @ 821A54B
LilycoveCity_ContestLobby_EventScript_21A554:: @ 821A554
special sub_80F9154
specialvar VAR_RESULT, sub_80F8D24
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21A5CF
call LilycoveCity_ContestLobby_EventScript_279CC5
call LilycoveCity_ContestLobby_EventScript_21A670
@@ -642,10 +642,10 @@ LilycoveCity_ContestLobby_EventScript_21A819:: @ 821A819
LilycoveCity_ContestLobby_EventScript_21A856:: @ 821A856
msgbox LilycoveCity_ContestLobby_Text_27BD17, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_21A97F
call LilycoveCity_ContestLobby_EventScript_27134F
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_21A97F
message LilycoveCity_ContestLobby_Text_27C8FD
waitmessage
@@ -665,7 +665,7 @@ LilycoveCity_ContestLobby_EventScript_21A8BB:: @ 821A8BB
LilycoveCity_ContestLobby_EventScript_21A8C6:: @ 821A8C6
setvar VAR_0x400C, 1
compare_var_to_value VAR_0x400D, 1
compare VAR_0x400D, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21AAFC
goto LilycoveCity_ContestLobby_EventScript_21A8DC
end
@@ -717,19 +717,19 @@ LilycoveCity_ContestLobby_EventScript_21A97F:: @ 821A97F
LilycoveCity_ContestLobby_EventScript_21A98C:: @ 821A98C
msgbox LilycoveCity_ContestLobby_Text_27C1C3, 4
setvar VAR_CONTEST_RANK, 0
choosecontestpkmn
compare_var_to_value VAR_0x8004, 255
choosecontestmon
compare VAR_0x8004, 255
goto_eq LilycoveCity_ContestLobby_EventScript_21A97F
special sub_80F7F30
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_ContestLobby_EventScript_21A9E0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21AA0A
compare_var_to_value VAR_RESULT, 2
compare VAR_RESULT, 2
goto_eq LilycoveCity_ContestLobby_EventScript_21AA0A
compare_var_to_value VAR_RESULT, 3
compare VAR_RESULT, 3
goto_eq LilycoveCity_ContestLobby_EventScript_21A9EE
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
goto_eq LilycoveCity_ContestLobby_EventScript_21A9FC
end
@@ -754,28 +754,28 @@ LilycoveCity_ContestLobby_EventScript_21AA0A:: @ 821AA0A
end
LilycoveCity_ContestLobby_EventScript_21AA15:: @ 821AA15
compare_var_to_value VAR_0x400D, 1
compare VAR_0x400D, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21AB4B
compare_var_to_value VAR_0x400D, 2
compare VAR_0x400D, 2
goto_if 4, LilycoveCity_ContestLobby_EventScript_21A97F
message LilycoveCity_ContestLobby_Text_27BF85
waitmessage
copyvar VAR_0x8004, VAR_RESULT
compare_var_to_value VAR_0x400C, 0
compare VAR_0x400C, 0
call_if 1, LilycoveCity_ContestLobby_EventScript_21AABB
compare_var_to_value VAR_0x400C, 1
compare VAR_0x400C, 1
call_if 1, LilycoveCity_ContestLobby_EventScript_21AAC0
compare_var_to_value VAR_0x400C, 2
compare VAR_0x400C, 2
goto_if 4, LilycoveCity_ContestLobby_EventScript_21A97F
compare_var_to_value VAR_RESULT, 4
compare VAR_RESULT, 4
goto_eq LilycoveCity_ContestLobby_EventScript_21AAD3
compare_var_to_value VAR_RESULT, 3
compare VAR_RESULT, 3
goto_eq LilycoveCity_ContestLobby_EventScript_21AAD3
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq LilycoveCity_ContestLobby_EventScript_21A97F
compare_var_to_value VAR_RESULT, 6
compare VAR_RESULT, 6
goto_eq LilycoveCity_ContestLobby_EventScript_21AAEF
compare_var_to_value VAR_RESULT, 10
compare VAR_RESULT, 10
goto_eq LilycoveCity_ContestLobby_EventScript_21AAE1
message3 LilycoveCity_ContestLobby_Text_27BEEC
contestlinktransfer
@@ -843,15 +843,15 @@ LilycoveCity_ContestLobby_EventScript_21AB17:: @ 821AB17
end
LilycoveCity_ContestLobby_EventScript_21AB4B:: @ 821AB4B
compare_var_to_value VAR_CONTEST_CATEGORY, 0
compare VAR_CONTEST_CATEGORY, 0
call_if 1, LilycoveCity_ContestLobby_EventScript_21AB88
compare_var_to_value VAR_CONTEST_CATEGORY, 1
compare VAR_CONTEST_CATEGORY, 1
call_if 1, LilycoveCity_ContestLobby_EventScript_21AB8E
compare_var_to_value VAR_CONTEST_CATEGORY, 2
compare VAR_CONTEST_CATEGORY, 2
call_if 1, LilycoveCity_ContestLobby_EventScript_21AB94
compare_var_to_value VAR_CONTEST_CATEGORY, 3
compare VAR_CONTEST_CATEGORY, 3
call_if 1, LilycoveCity_ContestLobby_EventScript_21AB9A
compare_var_to_value VAR_CONTEST_CATEGORY, 4
compare VAR_CONTEST_CATEGORY, 4
call_if 1, LilycoveCity_ContestLobby_EventScript_21ABA0
goto LilycoveCity_ContestLobby_EventScript_21ABA6
end
@@ -889,22 +889,22 @@ LilycoveCity_ContestLobby_EventScript_21ABA6:: @ 821ABA6
LilycoveCity_ContestLobby_EventScript_21ABE3:: @ 821ABE3
call LilycoveCity_ContestLobby_EventScript_21AC33
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21AC3D
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq LilycoveCity_ContestLobby_EventScript_21ABA6
compare_var_to_value VAR_RESULT, 8
compare VAR_RESULT, 8
goto_eq LilycoveCity_ContestLobby_EventScript_21ABE3
release
end
LilycoveCity_ContestLobby_EventScript_21AC0B:: @ 821AC0B
call LilycoveCity_ContestLobby_EventScript_21AC38
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_ContestLobby_EventScript_21AC3D
compare_var_to_value VAR_RESULT, 5
compare VAR_RESULT, 5
goto_eq LilycoveCity_ContestLobby_EventScript_21ABA6
compare_var_to_value VAR_RESULT, 8
compare VAR_RESULT, 8
goto_eq LilycoveCity_ContestLobby_EventScript_21AC0B
release
end

View File

@@ -9,7 +9,7 @@ LilycoveCity_CoveLilyMotel_2F_EventScript_2186D3:: @ 82186D3
checkflag FLAG_0x002
call_if 1, LilycoveCity_CoveLilyMotel_2F_EventScript_21870F
specialvar VAR_RESULT, sub_80C08E4
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_CoveLilyMotel_2F_EventScript_218702
release
end
@@ -20,7 +20,7 @@ LilycoveCity_CoveLilyMotel_2F_EventScript_2186F9:: @ 82186F9
LilycoveCity_CoveLilyMotel_2F_EventScript_218702:: @ 8218702
setflag FLAG_0x002
playfanfare BGM_FANFA4
playfanfare MUS_FANFA4
waitfanfare
goto LilycoveCity_CoveLilyMotel_2F_EventScript_21870F
end
@@ -29,7 +29,7 @@ LilycoveCity_CoveLilyMotel_2F_EventScript_21870F:: @ 821870F
message LilycoveCity_CoveLilyMotel_2F_Text_21881C
waitmessage
call LilycoveCity_CoveLilyMotel_2F_EventScript_27207E
special sub_8137CB4
special Special_ShowDiploma
waitstate
release
end

View File

@@ -60,7 +60,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_2206C5:: @ 82206C5
LilycoveCity_DepartmentStoreElevator_EventScript_220718:: @ 8220718
setvar VAR_0x8006, 4
setdynamicwarp LILYCOVE_CITY_DEPARTMENT_STORE_1F, 255, 2, 1
compare_var_to_value VAR_DEPT_STORE_FLOOR, 4
compare VAR_DEPT_STORE_FLOOR, 4
goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
setvar VAR_DEPT_STORE_FLOOR, 4
@@ -70,7 +70,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_220718:: @ 8220718
LilycoveCity_DepartmentStoreElevator_EventScript_220740:: @ 8220740
setvar VAR_0x8006, 5
setdynamicwarp LILYCOVE_CITY_DEPARTMENT_STORE_2F, 255, 2, 1
compare_var_to_value VAR_DEPT_STORE_FLOOR, 5
compare VAR_DEPT_STORE_FLOOR, 5
goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
setvar VAR_DEPT_STORE_FLOOR, 5
@@ -80,7 +80,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_220740:: @ 8220740
LilycoveCity_DepartmentStoreElevator_EventScript_220768:: @ 8220768
setvar VAR_0x8006, 6
setdynamicwarp LILYCOVE_CITY_DEPARTMENT_STORE_3F, 255, 2, 1
compare_var_to_value VAR_DEPT_STORE_FLOOR, 6
compare VAR_DEPT_STORE_FLOOR, 6
goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
setvar VAR_DEPT_STORE_FLOOR, 6
@@ -90,7 +90,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_220768:: @ 8220768
LilycoveCity_DepartmentStoreElevator_EventScript_220790:: @ 8220790
setvar VAR_0x8006, 7
setdynamicwarp LILYCOVE_CITY_DEPARTMENT_STORE_4F, 255, 2, 1
compare_var_to_value VAR_DEPT_STORE_FLOOR, 7
compare VAR_DEPT_STORE_FLOOR, 7
goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
setvar VAR_DEPT_STORE_FLOOR, 7
@@ -100,7 +100,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_220790:: @ 8220790
LilycoveCity_DepartmentStoreElevator_EventScript_2207B8:: @ 82207B8
setvar VAR_0x8006, 8
setdynamicwarp LILYCOVE_CITY_DEPARTMENT_STORE_5F, 255, 2, 1
compare_var_to_value VAR_DEPT_STORE_FLOOR, 8
compare VAR_DEPT_STORE_FLOOR, 8
goto_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
setvar VAR_DEPT_STORE_FLOOR, 8

View File

@@ -4,9 +4,9 @@ LilycoveCity_DepartmentStoreRooftop_MapScripts:: @ 8220207
LilycoveCity_DepartmentStoreRooftop_MapScript1_22020D: @ 822020D
getpricereduction 3
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220227
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_22022B
end
@@ -52,7 +52,7 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_220268:: @ 8220268
lock
faceplayer
getpricereduction 3
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220282
msgbox LilycoveCity_DepartmentStoreRooftop_Text_220463, 4
release
@@ -126,22 +126,22 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_220328:: @ 8220328
return
LilycoveCity_DepartmentStoreRooftop_EventScript_22032F:: @ 822032F
compare_var_to_value VAR_0x4001, 0
compare VAR_0x4001, 0
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220305
compare_var_to_value VAR_0x4001, 1
compare VAR_0x4001, 1
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_22030C
compare_var_to_value VAR_0x4001, 2
compare VAR_0x4001, 2
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220313
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220442
checkitemspace VAR_0x4000, 1
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450
compare_var_to_value VAR_0x4001, 0
compare VAR_0x4001, 0
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_22031A
compare_var_to_value VAR_0x4001, 1
compare VAR_0x4001, 1
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220321
compare_var_to_value VAR_0x4001, 2
compare VAR_0x4001, 2
call_if 1, LilycoveCity_DepartmentStoreRooftop_EventScript_220328
updatemoneybox 0, 0
nop
@@ -153,10 +153,10 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_22032F:: @ 822032F
bufferstdstring 2, 14
msgbox gUnknown_08272A9A, 4
random 64
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, LilycoveCity_DepartmentStoreRooftop_EventScript_220436
checkitemspace VAR_0x4000, 1
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450
playse SE_JIHANKI
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2205C2, 4
@@ -165,10 +165,10 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_22032F:: @ 822032F
bufferstdstring 2, 14
msgbox gUnknown_08272A9A, 4
random 64
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, LilycoveCity_DepartmentStoreRooftop_EventScript_220436
checkitemspace VAR_0x4000, 1
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450
playse SE_JIHANKI
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2205C2, 4

View File

@@ -9,12 +9,12 @@ LilycoveCity_DepartmentStore_1F_EventScript_21F69C:: @ 821F69C
lock
faceplayer
dodailyevents
compare_var_to_value VAR_POKELOT_PRIZE, 0
compare VAR_POKELOT_PRIZE, 0
goto_if 5, LilycoveCity_DepartmentStore_1F_EventScript_21F7F7
checkflag FLAG_0x92A
goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F78D
msgbox LilycoveCity_DepartmentStore_1F_Text_2A6390, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F797
setflag FLAG_0x92A
message LilycoveCity_DepartmentStore_1F_Text_2A64C8
@@ -26,31 +26,31 @@ LilycoveCity_DepartmentStore_1F_EventScript_21F69C:: @ 821F69C
applymovement 2, LilycoveCity_DepartmentStore_1F_Movement_2725A8
waitmovement 0
playse SE_PC_ON
special sub_8138EC0
special DoLotteryCornerComputerEffect
special PickLotteryCornerTicket
delay 220
special sub_8138FAC
special EndLotteryCornerComputerEffect
delay 10
applymovement 2, LilycoveCity_DepartmentStore_1F_Movement_27259E
waitmovement 0
compare_var_to_value VAR_0x8004, 0
compare VAR_0x8004, 0
goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7A1
incrementgamestat 46
compare_var_to_value VAR_0x8006, 0
compare VAR_0x8006, 0
call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F77B
compare_var_to_value VAR_0x8006, 1
compare VAR_0x8006, 1
call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F784
bufferitemname 0, VAR_0x8005
compare_var_to_value VAR_0x8004, 1
compare VAR_0x8004, 1
call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F7B9
compare_var_to_value VAR_0x8004, 2
compare VAR_0x8004, 2
call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F7C2
compare_var_to_value VAR_0x8004, 3
compare VAR_0x8004, 3
call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F7CB
compare_var_to_value VAR_0x8004, 4
compare VAR_0x8004, 4
call_if 1, LilycoveCity_DepartmentStore_1F_EventScript_21F7D4
giveitem_std VAR_0x8005
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7DD
special sub_80EE2CC
goto LilycoveCity_DepartmentStore_1F_EventScript_21F7AF
@@ -114,7 +114,7 @@ LilycoveCity_DepartmentStore_1F_EventScript_21F7ED:: @ 821F7ED
LilycoveCity_DepartmentStore_1F_EventScript_21F7F7:: @ 821F7F7
msgbox LilycoveCity_DepartmentStore_1F_Text_2A67E1, 4
giveitem_std VAR_POKELOT_PRIZE
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7ED
copyvar VAR_0x8004, VAR_0x404D
copyvar VAR_0x8005, VAR_POKELOT_PRIZE

View File

@@ -125,9 +125,9 @@ LilycoveCity_DepartmentStore_5F_EventScript_220075:: @ 8220075
lockall
applymovement 7, LilycoveCity_DepartmentStore_5F_Movement_27259E
waitmovement 0
compare_var_to_value VAR_0x405E, 0
compare VAR_0x405E, 0
goto_eq LilycoveCity_DepartmentStore_5F_EventScript_22009C
compare_var_to_value VAR_0x405E, 4
compare VAR_0x405E, 4
goto_if 4, LilycoveCity_DepartmentStore_5F_EventScript_22009C
goto LilycoveCity_DepartmentStore_5F_EventScript_2200A7
end

View File

@@ -17,23 +17,23 @@ LilycoveCity_Harbor_EventScript_21E00F:: @ 821E00F
call LilycoveCity_Harbor_EventScript_21E22A
call LilycoveCity_Harbor_EventScript_21E25C
call LilycoveCity_Harbor_EventScript_21E2A6
compare_var_to_value VAR_0x400C, 2
compare VAR_0x400C, 2
goto_eq LilycoveCity_Harbor_EventScript_21E350
compare_var_to_value VAR_0x400B, 1
compare VAR_0x400B, 1
goto_eq LilycoveCity_Harbor_EventScript_21E2F0
compare_var_to_value VAR_0x400B, 2
compare VAR_0x400B, 2
goto_eq LilycoveCity_Harbor_EventScript_21E320
compare_var_to_value VAR_0x400B, 4
compare VAR_0x400B, 4
goto_eq LilycoveCity_Harbor_EventScript_21E350
compare_var_to_value VAR_0x400B, 8
compare VAR_0x400B, 8
goto_eq LilycoveCity_Harbor_EventScript_21E41D
compare_var_to_value VAR_0x400B, 0
compare VAR_0x400B, 0
goto_if 5, LilycoveCity_Harbor_EventScript_21E44D
goto LilycoveCity_Harbor_EventScript_21E080
end
LilycoveCity_Harbor_EventScript_21E080:: @ 821E080
compare_var_to_value VAR_0x400A, 0
compare VAR_0x400A, 0
goto_eq LilycoveCity_Harbor_EventScript_21E557
msgbox LilycoveCity_Harbor_Text_21E758, 4
message LilycoveCity_Harbor_Text_21E7ED
@@ -87,7 +87,7 @@ LilycoveCity_Harbor_EventScript_21E139:: @ 821E139
LilycoveCity_Harbor_EventScript_21E149:: @ 821E149
msgbox LilycoveCity_Harbor_Text_21E864, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_21E5C0
setvar VAR_PORTHOLE, 5
call LilycoveCity_Harbor_EventScript_21E5CC
@@ -98,7 +98,7 @@ LilycoveCity_Harbor_EventScript_21E149:: @ 821E149
LilycoveCity_Harbor_EventScript_21E171:: @ 821E171
msgbox LilycoveCity_Harbor_Text_21E880, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_21E5C0
call LilycoveCity_Harbor_EventScript_21E5CC
warp BATTLE_FRONTIER_OUTSIDE_WEST, 255, 19, 67
@@ -111,7 +111,7 @@ LilycoveCity_Harbor_EventScript_21E194:: @ 821E194
checkflag FLAG_SYS_HAS_EON_TICKET
goto_if 0, LilycoveCity_Harbor_EventScript_27374E
checkitem ITEM_EON_TICKET, 1
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_27374E
setvar VAR_0x400E, 1
checkflag FLAG_0x1AE
@@ -124,7 +124,7 @@ LilycoveCity_Harbor_EventScript_21E1C6:: @ 821E1C6
checkflag FLAG_0x8D5
goto_if 0, LilycoveCity_Harbor_EventScript_27374E
checkitem ITEM_AURORA_TICKET, 1
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_27374E
setvar VAR_0x400D, 1
checkflag FLAG_0x1AF
@@ -137,7 +137,7 @@ LilycoveCity_Harbor_EventScript_21E1F8:: @ 821E1F8
checkflag FLAG_0x8D6
goto_if 0, LilycoveCity_Harbor_EventScript_27374E
checkitem ITEM_OLD_SEA_MAP, 1
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_27374E
setvar VAR_0x400C, 1
checkflag FLAG_0x1B0
@@ -150,7 +150,7 @@ LilycoveCity_Harbor_EventScript_21E22A:: @ 821E22A
checkflag FLAG_0x8E0
goto_if 0, LilycoveCity_Harbor_EventScript_27374E
checkitem ITEM_MYSTIC_TICKET, 1
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_27374E
setvar VAR_0x4009, 1
checkflag FLAG_0x1DB
@@ -160,13 +160,13 @@ LilycoveCity_Harbor_EventScript_21E22A:: @ 821E22A
LilycoveCity_Harbor_EventScript_21E25C:: @ 821E25C
setvar VAR_0x400B, 0
compare_var_to_value VAR_0x400E, 2
compare VAR_0x400E, 2
call_if 1, LilycoveCity_Harbor_EventScript_21E28E
compare_var_to_value VAR_0x400D, 2
compare VAR_0x400D, 2
call_if 1, LilycoveCity_Harbor_EventScript_21E294
compare_var_to_value VAR_0x400C, 2
compare VAR_0x400C, 2
call_if 1, LilycoveCity_Harbor_EventScript_21E29A
compare_var_to_value VAR_0x4009, 2
compare VAR_0x4009, 2
call_if 1, LilycoveCity_Harbor_EventScript_21E2A0
return
@@ -188,13 +188,13 @@ LilycoveCity_Harbor_EventScript_21E2A0:: @ 821E2A0
LilycoveCity_Harbor_EventScript_21E2A6:: @ 821E2A6
setvar VAR_0x400A, 0
compare_var_to_value VAR_0x400E, 1
compare VAR_0x400E, 1
call_if 1, LilycoveCity_Harbor_EventScript_21E2D8
compare_var_to_value VAR_0x400D, 1
compare VAR_0x400D, 1
call_if 1, LilycoveCity_Harbor_EventScript_21E2DE
compare_var_to_value VAR_0x400C, 1
compare VAR_0x400C, 1
call_if 1, LilycoveCity_Harbor_EventScript_21E2E4
compare_var_to_value VAR_0x4009, 1
compare VAR_0x4009, 1
call_if 1, LilycoveCity_Harbor_EventScript_21E2EA
return
@@ -262,25 +262,25 @@ LilycoveCity_Harbor_EventScript_21E350:: @ 821E350
waitmovement 0
applymovement 4, LilycoveCity_Harbor_Movement_27259A
waitmovement 0
compare_var_to_value VAR_FACING, 2
compare VAR_FACING, 2
call_if 1, LilycoveCity_Harbor_EventScript_21E656
compare_var_to_value VAR_FACING, 4
compare VAR_FACING, 4
call_if 1, LilycoveCity_Harbor_EventScript_21E661
addobject 5
compare_var_to_value VAR_FACING, 2
compare VAR_FACING, 2
call_if 1, LilycoveCity_Harbor_EventScript_21E675
compare_var_to_value VAR_FACING, 4
compare VAR_FACING, 4
call_if 1, LilycoveCity_Harbor_EventScript_21E680
msgbox LilycoveCity_Harbor_Text_2C6951, 4
compare_var_to_value VAR_FACING, 2
compare VAR_FACING, 2
call_if 1, LilycoveCity_Harbor_EventScript_21E68B
compare_var_to_value VAR_FACING, 4
compare VAR_FACING, 4
call_if 1, LilycoveCity_Harbor_EventScript_21E696
msgbox LilycoveCity_Harbor_Text_2C69AA, 4
closemessage
compare_var_to_value VAR_FACING, 2
compare VAR_FACING, 2
call_if 1, LilycoveCity_Harbor_EventScript_21E6A1
compare_var_to_value VAR_FACING, 4
compare VAR_FACING, 4
call_if 1, LilycoveCity_Harbor_EventScript_21E6BA
setvar VAR_0x8004, 2
call LilycoveCity_Harbor_EventScript_2721E2
@@ -367,9 +367,9 @@ LilycoveCity_Harbor_EventScript_21E514:: @ 821E514
waitmovement 0
delay 30
removeobject 4
compare_var_to_value VAR_FACING, 2
compare VAR_FACING, 2
call_if 1, LilycoveCity_Harbor_EventScript_21E61B
compare_var_to_value VAR_FACING, 4
compare VAR_FACING, 4
call_if 1, LilycoveCity_Harbor_EventScript_21E610
delay 30
hideobjectat 255, PETALBURG_CITY
@@ -396,7 +396,7 @@ LilycoveCity_Harbor_EventScript_21E56B:: @ 821E56B
LilycoveCity_Harbor_EventScript_21E575:: @ 821E575
msgbox LilycoveCity_Harbor_Text_21E864, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_21E5C0
setvar VAR_PORTHOLE, 5
call LilycoveCity_Harbor_EventScript_21E5CC
@@ -407,7 +407,7 @@ LilycoveCity_Harbor_EventScript_21E575:: @ 821E575
LilycoveCity_Harbor_EventScript_21E59D:: @ 821E59D
msgbox LilycoveCity_Harbor_Text_21E880, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_Harbor_EventScript_21E5C0
call LilycoveCity_Harbor_EventScript_21E5CC
warp BATTLE_FRONTIER_OUTSIDE_WEST, 255, 19, 67
@@ -428,9 +428,9 @@ LilycoveCity_Harbor_EventScript_21E5CC:: @ 821E5CC
waitmovement 0
delay 30
hideobjectat VAR_LAST_TALKED, LILYCOVE_CITY_HARBOR
compare_var_to_value VAR_FACING, 2
compare VAR_FACING, 2
call_if 1, LilycoveCity_Harbor_EventScript_21E61B
compare_var_to_value VAR_FACING, 4
compare VAR_FACING, 4
call_if 1, LilycoveCity_Harbor_EventScript_21E610
delay 30
hideobjectat 255, PETALBURG_CITY

View File

@@ -8,7 +8,7 @@ LilycoveCity_House2_EventScript_21ED75:: @ 821ED75
goto_eq LilycoveCity_House2_EventScript_21EDAC
msgbox LilycoveCity_House2_Text_21EDB6, 4
giveitem_std ITEM_TM44
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_House2_EventScript_272054
setflag FLAG_0x0EA
msgbox LilycoveCity_House2_Text_21EDF9, 4

View File

@@ -11,7 +11,7 @@ LilycoveCity_House3_EventScript_21EE4B:: @ 821EE4B
lock
faceplayer
msgbox LilycoveCity_House3_Text_21EF99, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_House3_EventScript_21EE75
msgbox LilycoveCity_House3_Text_21F0F8, 4
closemessage

View File

@@ -11,9 +11,9 @@ LilycoveCity_LilycoveMuseum_1F_EventScript_218CC2:: @ 8218CC2
message LilycoveCity_LilycoveMuseum_1F_Text_218EBC
waitmessage
multichoice 20, 8, 16, 1
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218CF5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218CEC
end
@@ -23,9 +23,9 @@ LilycoveCity_LilycoveMuseum_1F_EventScript_218CEC:: @ 8218CEC
LilycoveCity_LilycoveMuseum_1F_EventScript_218CF5:: @ 8218CF5
msgbox LilycoveCity_LilycoveMuseum_1F_Text_218F98, 5
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218D14
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218D1E
end

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