Port generic event script macros from pokeruby

This commit is contained in:
Marcus Huderle
2017-12-21 13:47:52 -06:00
parent 4307292f55
commit 173761a5a1
266 changed files with 3054 additions and 3041 deletions

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,14 +107,14 @@ 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
@@ -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 sub_80097E8
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 sub_80097E8
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
@@ -410,7 +410,7 @@ OldaleTown_PokemonCenter_2F_EventScript_276F23:: @ 8276F23
OldaleTown_PokemonCenter_2F_EventScript_276F2E:: @ 8276F2E
special HasEnoughMonsForDoubleBattle
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if 5, OldaleTown_PokemonCenter_2F_EventScript_276F47
setvar VAR_0x8004, 2
goto OldaleTown_PokemonCenter_2F_EventScript_276F60
@@ -428,23 +428,23 @@ 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
@@ -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,10 +1024,10 @@ 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
@@ -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
@@ -1195,7 +1195,7 @@ OldaleTown_PokemonCenter_2F_EventScript_27788E:: @ 827788E
OldaleTown_PokemonCenter_2F_EventScript_277899:: @ 8277899
special HasEnoughMonsForDoubleBattle
compare_var_to_value VAR_RESULT, 0
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
@@ -895,7 +895,7 @@ LinkContestRoom1_EventScript_27A8A5:: @ 827A8A5
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
@@ -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
@@ -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
@@ -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

@@ -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

@@ -4,7 +4,7 @@ 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, ShouldTryRematchBattle
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq AbandonedShip_Rooms2_1F_EventScript_2380F0
msgbox AbandonedShip_Rooms2_1F_Text_23820F, 4
release
@@ -27,7 +27,7 @@ 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, ShouldTryRematchBattle
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq AbandonedShip_Rooms2_1F_EventScript_238154
msgbox AbandonedShip_Rooms2_1F_Text_23830A, 4
release

View File

@@ -13,7 +13,7 @@ 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, ShouldTryRematchBattle
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq AbandonedShip_Rooms_1F_EventScript_237AFE
msgbox AbandonedShip_Rooms_1F_Text_237BDB, 4
release

View File

@@ -11,7 +11,7 @@ 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
@@ -76,11 +76,11 @@ AncientTomb_EventScript_23905A:: @ 823905A
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
@@ -149,25 +149,25 @@ 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,7 +359,7 @@ 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
@@ -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,7 +403,7 @@ 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

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
@@ -97,7 +97,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255D59:: @ 8255D59
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,7 +449,7 @@ 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
@@ -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,7 +488,7 @@ 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
@@ -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
@@ -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
@@ -272,9 +272,9 @@ BattleFrontier_BattleDomeLobby_EventScript_249BC2:: @ 8249BC2
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

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
@@ -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,14 +161,14 @@ 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
@@ -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,14 +197,14 @@ 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
@@ -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
@@ -75,7 +75,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259BA5:: @ 8259BA5
special sp000_heal_pokemon
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
@@ -106,25 +106,25 @@ 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,7 +266,7 @@ 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
@@ -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,7 +309,7 @@ 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
@@ -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
@@ -97,7 +97,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D8A1:: @ 824D8A1
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

@@ -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
@@ -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

View File

@@ -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,14 +155,14 @@ 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
@@ -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,14 +190,14 @@ 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
@@ -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,9 +607,9 @@ 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
waitfanfare

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

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
@@ -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
@@ -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

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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -160,14 +160,14 @@ 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
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
@@ -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
@@ -207,14 +207,14 @@ 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
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

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,7 +75,7 @@ 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
@@ -90,14 +90,14 @@ 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,7 +307,7 @@ 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
@@ -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,7 +341,7 @@ 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
@@ -367,7 +367,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_24210E:: @ 824210E
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
@@ -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,7 +157,7 @@ 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
waitfanfare
@@ -168,10 +168,10 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_249143:: @ 8249143
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,7 +90,7 @@ 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
@@ -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
@@ -160,7 +160,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E84D:: @ 823E84D
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 sub_80097E8
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 sub_80097E8
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

@@ -88,7 +88,7 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243E7A:: @ 8243E7A
message BattleFrontier_BattleTowerMultiBattleRoom_Text_244094
waitmessage
multichoicedefault 20, 8, 94, 1, 0
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243E9D
msgbox BattleFrontier_BattleTowerMultiBattleRoom_Text_24410C, 4
release
@@ -192,9 +192,9 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243F36:: @ 8243F36
waitmessage
waitbuttonpress
closemessage
compare_var_to_value VAR_FACING, 1
compare VAR_FACING, 1
call_if 5, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FD4
compare_var_to_value VAR_FACING, 1
compare VAR_FACING, 1
call_if 1, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FDF
removeobject VAR_LAST_TALKED
setflag FLAG_0x152

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
@@ -31,16 +31,16 @@ BattleFrontier_Lounge1_EventScript_25E7B6:: @ 825E7B6
BattleFrontier_Lounge1_EventScript_25E7BF:: @ 825E7BF
specialvar VAR_RESULT, sub_81396E0
compare_var_to_value VAR_RESULT, 412
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

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

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
compare VAR_RESULT, 412
goto_eq BattleFrontier_Lounge5_EventScript_264603
special sub_813A7B8
waitmessage

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

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

@@ -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
@@ -92,11 +92,11 @@ BirthIsland_Exterior_EventScript_267FC1:: @ 8267FC1
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
@@ -76,11 +76,11 @@ DesertRuins_EventScript_22DA02:: @ 822DA02
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

@@ -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
@@ -158,7 +158,7 @@ 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, ShouldTryRematchBattle
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq DewfordTown_Gym_EventScript_1FC89C
checkflag FLAG_0x0A6
goto_if 0, DewfordTown_Gym_EventScript_1FC878
@@ -175,7 +175,7 @@ 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
@@ -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

@@ -53,16 +53,16 @@ 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
@@ -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

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

View File

@@ -44,9 +44,9 @@ 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

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

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

@@ -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

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

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
@@ -116,9 +116,9 @@ 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

@@ -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
@@ -149,13 +149,13 @@ FarawayIsland_Interior_EventScript_267DF2:: @ 8267DF2
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

@@ -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

@@ -18,7 +18,7 @@ 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, ShouldTryRematchBattle
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq FortreeCity_Gym_EventScript_21668D
checkflag FLAG_0x0AA
goto_if 0, FortreeCity_Gym_EventScript_216646
@@ -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,7 +10,7 @@ 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
@@ -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
@@ -108,11 +108,11 @@ IslandCave_EventScript_238F58:: @ 8238F58
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
@@ -105,7 +105,7 @@ 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, ShouldTryRematchBattle
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq JaggedPass_EventScript_2307E4
msgbox JaggedPass_Text_2309D8, 4
release
@@ -129,7 +129,7 @@ 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, ShouldTryRematchBattle
compare_var_to_value VAR_RESULT, 1
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,9 +91,9 @@ 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
@@ -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,10 +251,10 @@ 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

View File

@@ -61,7 +61,7 @@ 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, ShouldTryRematchBattle
compare_var_to_value VAR_RESULT, 1
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
@@ -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
@@ -128,7 +128,7 @@ LavaridgeTown_Gym_B1F_EventScript_1FE89A:: @ 81FE89A
call LavaridgeTown_Gym_1F_EventScript_1FE705
release
special ShouldTryGetTrainerScript
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq EventScript_GotoTrainerScript
end

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,9 +240,9 @@ 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
@@ -252,7 +252,7 @@ LilycoveCity_EventScript_1E2DF8:: @ 81E2DF8
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
@@ -283,7 +283,7 @@ LilycoveCity_EventScript_1E2E6B:: @ 81E2E6B
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
@@ -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
@@ -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
@@ -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
@@ -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

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
@@ -33,24 +33,24 @@ LilycoveCity_DepartmentStore_1F_EventScript_21F69C:: @ 821F69C
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

View File

@@ -125,7 +125,7 @@ LilycoveCity_LilycoveMuseum_2F_EventScript_2198EA:: @ 82198EA
applymovement 1, LilycoveCity_LilycoveMuseum_2F_Movement_27259E
msgbox LilycoveCity_LilycoveMuseum_2F_Text_219EC5, 4
givedecoration_std 44
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_LilycoveMuseum_2F_EventScript_219911
setflag FLAG_0x0EC
closemessage

View File

@@ -16,19 +16,19 @@ LilycoveCity_MoveDeletersHouse_EventScript_21EA3B:: @ 821EA3B
msgbox LilycoveCity_MoveDeletersHouse_Text_21EB65, 4
special sub_81B94B0
waitstate
compare_var_to_value VAR_0x8004, 255
compare VAR_0x8004, 255
goto_eq LilycoveCity_MoveDeletersHouse_EventScript_21EAE6
special sub_81B98DC
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_MoveDeletersHouse_EventScript_21EADC
special sub_81B96D0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_MoveDeletersHouse_EventScript_21EACF
msgbox LilycoveCity_MoveDeletersHouse_Text_21EB89, 4
fadescreen 1
special sub_81B968C
fadescreen 0
compare_var_to_value VAR_0x8005, 4
compare VAR_0x8005, 4
goto_eq LilycoveCity_MoveDeletersHouse_EventScript_21EA3B
special sub_81B9718
msgbox LilycoveCity_MoveDeletersHouse_Text_21EBDA, 5
@@ -40,7 +40,7 @@ LilycoveCity_MoveDeletersHouse_EventScript_21EA3B:: @ 821EA3B
LilycoveCity_MoveDeletersHouse_EventScript_21EAB0:: @ 821EAB0
special sub_81B9918
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_MoveDeletersHouse_EventScript_21EAF0
special sub_81B9770
playfanfare BGM_ME_WASURE

View File

@@ -10,9 +10,9 @@ LilycoveCity_PokemonCenter_1F_MapScript1_21C5BD: @ 821C5BD
LilycoveCity_PokemonCenter_1F_EventScript_21C5C6:: @ 821C5C6
special sub_818D9C0
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_PokemonCenter_1F_EventScript_21C5E0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonCenter_1F_EventScript_21C5E4
end

View File

@@ -62,9 +62,9 @@ LilycoveCity_PokemonTrainerFanClub_Movement_21C807: @ 821C807
LilycoveCity_PokemonTrainerFanClub_MapScript1_21C80D: @ 821C80D
call LilycoveCity_PokemonTrainerFanClub_EventScript_21C8DA
compare_var_to_value VAR_0x4095, 1
compare VAR_0x4095, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21C9F8
compare_var_to_value VAR_0x4095, 2
compare VAR_0x4095, 2
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21C829
end
@@ -73,41 +73,41 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21C829:: @ 821C829
call LilycoveCity_PokemonTrainerFanClub_EventScript_21C8F5
setvar VAR_0x8004, 8
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LilycoveCity_PokemonTrainerFanClub_EventScript_21C9B8
setvar VAR_0x8004, 9
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LilycoveCity_PokemonTrainerFanClub_EventScript_21C9C0
setvar VAR_0x8004, 10
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LilycoveCity_PokemonTrainerFanClub_EventScript_21C9C8
setvar VAR_0x8004, 11
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LilycoveCity_PokemonTrainerFanClub_EventScript_21C9D0
setvar VAR_0x8004, 12
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LilycoveCity_PokemonTrainerFanClub_EventScript_21C9D8
setvar VAR_0x8004, 13
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LilycoveCity_PokemonTrainerFanClub_EventScript_21C9E0
setvar VAR_0x8004, 14
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LilycoveCity_PokemonTrainerFanClub_EventScript_21C9E8
setvar VAR_0x8004, 15
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LilycoveCity_PokemonTrainerFanClub_EventScript_21C9F0
end
LilycoveCity_PokemonTrainerFanClub_EventScript_21C8DA:: @ 821C8DA
specialvar VAR_RESULT, sub_80EE7C0
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21C8F1
clearflag FLAG_0x2DA
clearflag FLAG_0x0D2
@@ -121,37 +121,37 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21C8F5:: @ 821C8F5
setvar VAR_0x8005, 8
setvar VAR_0x8004, 8
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LilycoveCity_PokemonTrainerFanClub_EventScript_21C9AE
setvar VAR_0x8004, 9
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LilycoveCity_PokemonTrainerFanClub_EventScript_21C9AE
setvar VAR_0x8004, 10
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LilycoveCity_PokemonTrainerFanClub_EventScript_21C9AE
setvar VAR_0x8004, 11
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LilycoveCity_PokemonTrainerFanClub_EventScript_21C9AE
setvar VAR_0x8004, 12
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LilycoveCity_PokemonTrainerFanClub_EventScript_21C9AE
setvar VAR_0x8004, 13
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LilycoveCity_PokemonTrainerFanClub_EventScript_21C9AE
setvar VAR_0x8004, 14
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LilycoveCity_PokemonTrainerFanClub_EventScript_21C9AE
setvar VAR_0x8004, 15
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LilycoveCity_PokemonTrainerFanClub_EventScript_21C9AE
compare_var_to_value VAR_0x8005, 5
compare VAR_0x8005, 5
goto_if 4, LilycoveCity_PokemonTrainerFanClub_EventScript_21C9B4
return
@@ -209,13 +209,13 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CA17:: @ 821CA17
faceplayer
setvar VAR_0x8004, 13
special sub_813BDB4
compare_var_to_value VAR_0x4095, 0
compare VAR_0x4095, 0
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CA84
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CA56
specialvar VAR_RESULT, sub_813BCA8
compare_var_to_value VAR_RESULT, 7
compare VAR_RESULT, 7
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CA7A
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21D12A, 4
release
@@ -223,7 +223,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CA17:: @ 821CA17
LilycoveCity_PokemonTrainerFanClub_EventScript_21CA56:: @ 821CA56
specialvar VAR_RESULT, sub_813BCA8
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CA70
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21D094, 4
release
@@ -249,13 +249,13 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CA8E:: @ 821CA8E
faceplayer
setvar VAR_0x8004, 8
special sub_813BDB4
compare_var_to_value VAR_0x4095, 0
compare VAR_0x4095, 0
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CAFB
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CACD
specialvar VAR_RESULT, sub_813BCA8
compare_var_to_value VAR_RESULT, 7
compare VAR_RESULT, 7
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CAF1
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21D347, 4
release
@@ -263,7 +263,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CA8E:: @ 821CA8E
LilycoveCity_PokemonTrainerFanClub_EventScript_21CACD:: @ 821CACD
specialvar VAR_RESULT, sub_813BCA8
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CAE7
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21D2A6, 4
release
@@ -289,13 +289,13 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CB05:: @ 821CB05
faceplayer
setvar VAR_0x8004, 9
special sub_813BDB4
compare_var_to_value VAR_0x4095, 0
compare VAR_0x4095, 0
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CB72
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CB44
specialvar VAR_RESULT, sub_813BCA8
compare_var_to_value VAR_RESULT, 7
compare VAR_RESULT, 7
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CB68
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21D52E, 4
release
@@ -303,7 +303,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CB05:: @ 821CB05
LilycoveCity_PokemonTrainerFanClub_EventScript_21CB44:: @ 821CB44
specialvar VAR_RESULT, sub_813BCA8
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CB5E
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21D438, 4
release
@@ -329,13 +329,13 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CB7C:: @ 821CB7C
faceplayer
setvar VAR_0x8004, 10
special sub_813BDB4
compare_var_to_value VAR_0x4095, 0
compare VAR_0x4095, 0
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CBE9
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CBBB
specialvar VAR_RESULT, sub_813BCA8
compare_var_to_value VAR_RESULT, 7
compare VAR_RESULT, 7
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CBDF
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21D822, 4
release
@@ -343,7 +343,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CB7C:: @ 821CB7C
LilycoveCity_PokemonTrainerFanClub_EventScript_21CBBB:: @ 821CBBB
specialvar VAR_RESULT, sub_813BCA8
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CBD5
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21D751, 4
release
@@ -370,10 +370,10 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CBF3:: @ 821CBF3
setvar VAR_0x8004, 11
special sub_813BDB4
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CC27
specialvar VAR_RESULT, sub_813BCA8
compare_var_to_value VAR_RESULT, 7
compare VAR_RESULT, 7
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CC4B
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21D9D1, 4
release
@@ -381,7 +381,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CBF3:: @ 821CBF3
LilycoveCity_PokemonTrainerFanClub_EventScript_21CC27:: @ 821CC27
specialvar VAR_RESULT, sub_813BCA8
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CC41
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21D921, 4
release
@@ -403,10 +403,10 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CC55:: @ 821CC55
setvar VAR_0x8004, 12
special sub_813BDB4
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CC89
specialvar VAR_RESULT, sub_813BCA8
compare_var_to_value VAR_RESULT, 7
compare VAR_RESULT, 7
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CCAD
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21DB69, 4
release
@@ -414,7 +414,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CC55:: @ 821CC55
LilycoveCity_PokemonTrainerFanClub_EventScript_21CC89:: @ 821CC89
specialvar VAR_RESULT, sub_813BCA8
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CCA3
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21DA73, 4
release
@@ -436,10 +436,10 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CCB7:: @ 821CCB7
setvar VAR_0x8004, 14
special sub_813BDB4
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CCEB
specialvar VAR_RESULT, sub_813BCA8
compare_var_to_value VAR_RESULT, 7
compare VAR_RESULT, 7
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CD0F
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21DD36, 4
release
@@ -447,7 +447,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CCB7:: @ 821CCB7
LilycoveCity_PokemonTrainerFanClub_EventScript_21CCEB:: @ 821CCEB
specialvar VAR_RESULT, sub_813BCA8
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CD05
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21DC68, 4
release
@@ -469,10 +469,10 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CD19:: @ 821CD19
setvar VAR_0x8004, 15
special sub_813BDB4
specialvar VAR_RESULT, sub_813BD60
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CD4D
specialvar VAR_RESULT, sub_813BCA8
compare_var_to_value VAR_RESULT, 7
compare VAR_RESULT, 7
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CD71
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21DEFF, 4
release
@@ -480,7 +480,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CD19:: @ 821CD19
LilycoveCity_PokemonTrainerFanClub_EventScript_21CD4D:: @ 821CD4D
specialvar VAR_RESULT, sub_813BCA8
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CD67
msgbox LilycoveCity_PokemonTrainerFanClub_Text_21DE72, 4
release
@@ -508,7 +508,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CD7B:: @ 821CD7B
LilycoveCity_PokemonTrainerFanClub_EventScript_21CD90:: @ 821CD90
setvar VAR_0x8005, 11
special InterviewBefore
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CEFF
copyvar VAR_0x800A, VAR_0x8006
setvar VAR_0x8004, 8
@@ -519,9 +519,9 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CD90:: @ 821CD90
call LilycoveCity_PokemonTrainerFanClub_EventScript_271E7C
lock
faceplayer
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CDE0
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CDEE
end
@@ -534,9 +534,9 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CDEE:: @ 821CDEE
setvar VAR_0x8004, 8
special sub_813BDB4
msgbox LilycoveCity_PokemonTrainerFanClub_Text_281C3D, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CEC6
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CE15
end
@@ -549,9 +549,9 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CE15:: @ 821CE15
call LilycoveCity_PokemonTrainerFanClub_EventScript_271E7C
lock
faceplayer
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CDE0
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CDEE
end
@@ -579,9 +579,9 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CE9F:: @ 821CE9F
setvar VAR_0x8004, 8
special sub_813BDB4
msgbox LilycoveCity_PokemonTrainerFanClub_Text_281CCD, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CEC6
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CE4D
end

View File

@@ -7,23 +7,23 @@ LittlerootTown_MapScripts:: @ 81E7DCB
LittlerootTown_MapScript1_1E7DDB: @ 81E7DDB
setflag FLAG_VISITED_LITTLEROOT_TOWN
call LittlerootTown_EventScript_271ED7
compare_var_to_value VAR_0x4092, 2
compare VAR_0x4092, 2
call_if 1, LittlerootTown_EventScript_1E7E67
checkflag FLAG_0x052
call_if 0, LittlerootTown_EventScript_1E7E6F
compare_var_to_value VAR_0x4050, 3
compare VAR_0x4050, 3
call_if 1, LittlerootTown_EventScript_1E7E92
compare_var_to_value VAR_0x4082, 4
compare VAR_0x4082, 4
call_if 1, LittlerootTown_EventScript_1E7E5C
compare_var_to_value VAR_0x408C, 4
compare VAR_0x408C, 4
call_if 1, LittlerootTown_EventScript_1E7E5C
compare_var_to_value VAR_0x40C7, 1
compare VAR_0x40C7, 1
call_if 1, LittlerootTown_EventScript_1E7E53
compare_var_to_value VAR_0x408D, 3
compare VAR_0x408D, 3
call_if 1, LittlerootTown_EventScript_1E7E4F
compare_var_to_value VAR_0x40D3, 1
compare VAR_0x40D3, 1
call_if 1, LittlerootTown_EventScript_1E7E4B
compare_var_to_value VAR_0x40D3, 2
compare VAR_0x40D3, 2
call_if 1, LittlerootTown_EventScript_1E7E45
end
@@ -54,7 +54,7 @@ LittlerootTown_EventScript_1E7E67:: @ 81E7E67
return
LittlerootTown_EventScript_1E7E6F:: @ 81E7E6F
compare_var_to_value VAR_0x4050, 0
compare VAR_0x4050, 0
goto_eq LittlerootTown_EventScript_1E7E86
setobjectxyperm 1, 10, 1
setobjectmovementtype 1, 7
@@ -69,9 +69,9 @@ LittlerootTown_EventScript_1E7E92:: @ 81E7E92
clearflag FLAG_0x2F0
setobjectmovementtype 4, 8
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LittlerootTown_EventScript_1E7EB1
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, LittlerootTown_EventScript_1E7EB9
return
@@ -209,7 +209,7 @@ LittlerootTown_EventScript_1E7FEC:: @ 81E7FEC
addobject 8
addobject 7
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_eq LittlerootTown_EventScript_1E8004
goto LittlerootTown_EventScript_1E8013
end
@@ -239,7 +239,7 @@ LittlerootTown_EventScript_1E8034:: @ 81E8034
goto_eq LittlerootTown_EventScript_1E8087
checkflag FLAG_0x052
goto_eq LittlerootTown_EventScript_1E807A
compare_var_to_value VAR_0x4050, 0
compare VAR_0x4050, 0
goto_if 5, LittlerootTown_EventScript_1E805D
msgbox LittlerootTown_Text_1E8BB8, 4
release
@@ -384,9 +384,9 @@ LittlerootTown_EventScript_1E815A:: @ 81E815A
LittlerootTown_EventScript_1E8163:: @ 81E8163
lockall
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LittlerootTown_EventScript_1E817D
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, LittlerootTown_EventScript_1E8186
releaseall
end
@@ -402,9 +402,9 @@ LittlerootTown_EventScript_1E8186:: @ 81E8186
LittlerootTown_EventScript_1E818F:: @ 81E818F
lockall
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LittlerootTown_EventScript_1E81A9
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, LittlerootTown_EventScript_1E81B2
releaseall
end
@@ -457,27 +457,27 @@ LittlerootTown_EventScript_1E8205:: @ 81E8205
LittlerootTown_EventScript_1E8211:: @ 81E8211
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LittlerootTown_EventScript_1E8297
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, LittlerootTown_EventScript_1E82A2
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LittlerootTown_EventScript_1E8281
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, LittlerootTown_EventScript_1E828C
msgbox LittlerootTown_Text_1E87E1, 4
closemessage
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LittlerootTown_EventScript_1E82AD
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, LittlerootTown_EventScript_1E82F0
call LittlerootTown_EventScript_1E8693
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LittlerootTown_EventScript_1E8405
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, LittlerootTown_EventScript_1E8448
goto LittlerootTown_EventScript_1E8686
end
@@ -503,32 +503,32 @@ LittlerootTown_EventScript_1E82A2:: @ 81E82A2
return
LittlerootTown_EventScript_1E82AD:: @ 81E82AD
compare_var_to_value VAR_0x8008, 0
compare VAR_0x8008, 0
call_if 1, LittlerootTown_EventScript_1E8333
compare_var_to_value VAR_0x8008, 1
compare VAR_0x8008, 1
call_if 1, LittlerootTown_EventScript_1E8348
compare_var_to_value VAR_0x8008, 2
compare VAR_0x8008, 2
call_if 1, LittlerootTown_EventScript_1E835D
compare_var_to_value VAR_0x8008, 3
compare VAR_0x8008, 3
call_if 1, LittlerootTown_EventScript_1E8372
compare_var_to_value VAR_0x8008, 4
compare VAR_0x8008, 4
call_if 1, LittlerootTown_EventScript_1E8387
compare_var_to_value VAR_0x8008, 5
compare VAR_0x8008, 5
call_if 1, LittlerootTown_EventScript_1E839C
return
LittlerootTown_EventScript_1E82F0:: @ 81E82F0
compare_var_to_value VAR_0x8008, 0
compare VAR_0x8008, 0
call_if 1, LittlerootTown_EventScript_1E8333
compare_var_to_value VAR_0x8008, 1
compare VAR_0x8008, 1
call_if 1, LittlerootTown_EventScript_1E8348
compare_var_to_value VAR_0x8008, 2
compare VAR_0x8008, 2
call_if 1, LittlerootTown_EventScript_1E83B1
compare_var_to_value VAR_0x8008, 3
compare VAR_0x8008, 3
call_if 1, LittlerootTown_EventScript_1E83C6
compare_var_to_value VAR_0x8008, 4
compare VAR_0x8008, 4
call_if 1, LittlerootTown_EventScript_1E83DB
compare_var_to_value VAR_0x8008, 5
compare VAR_0x8008, 5
call_if 1, LittlerootTown_EventScript_1E83F0
return
@@ -603,32 +603,32 @@ LittlerootTown_EventScript_1E83F0:: @ 81E83F0
return
LittlerootTown_EventScript_1E8405:: @ 81E8405
compare_var_to_value VAR_0x8008, 0
compare VAR_0x8008, 0
call_if 1, LittlerootTown_EventScript_1E848B
compare_var_to_value VAR_0x8008, 1
compare VAR_0x8008, 1
call_if 1, LittlerootTown_EventScript_1E8496
compare_var_to_value VAR_0x8008, 2
compare VAR_0x8008, 2
call_if 1, LittlerootTown_EventScript_1E84A1
compare_var_to_value VAR_0x8008, 3
compare VAR_0x8008, 3
call_if 1, LittlerootTown_EventScript_1E84C7
compare_var_to_value VAR_0x8008, 4
compare VAR_0x8008, 4
call_if 1, LittlerootTown_EventScript_1E84ED
compare_var_to_value VAR_0x8008, 5
compare VAR_0x8008, 5
call_if 1, LittlerootTown_EventScript_1E8513
return
LittlerootTown_EventScript_1E8448:: @ 81E8448
compare_var_to_value VAR_0x8008, 0
compare VAR_0x8008, 0
call_if 1, LittlerootTown_EventScript_1E848B
compare_var_to_value VAR_0x8008, 1
compare VAR_0x8008, 1
call_if 1, LittlerootTown_EventScript_1E8496
compare_var_to_value VAR_0x8008, 2
compare VAR_0x8008, 2
call_if 1, LittlerootTown_EventScript_1E8539
compare_var_to_value VAR_0x8008, 3
compare VAR_0x8008, 3
call_if 1, LittlerootTown_EventScript_1E855F
compare_var_to_value VAR_0x8008, 4
compare VAR_0x8008, 4
call_if 1, LittlerootTown_EventScript_1E8585
compare_var_to_value VAR_0x8008, 5
compare VAR_0x8008, 5
call_if 1, LittlerootTown_EventScript_1E85AB
return
@@ -892,9 +892,9 @@ LittlerootTown_EventScript_1E863D:: @ 81E863D
lock
faceplayer
checkplayergender
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
call_if 1, LittlerootTown_EventScript_1E8281
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
call_if 1, LittlerootTown_EventScript_1E828C
call LittlerootTown_EventScript_1E8693
applymovement 4, LittlerootTown_Movement_2725A6

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