Merge remote-tracking branch 'Egg/decompile_use_pokeblock'
This commit is contained in:
@@ -449,7 +449,7 @@ OldaleTown_PokemonCenter_2F_EventScript_276F60:: @ 8276F60
|
||||
end
|
||||
|
||||
OldaleTown_PokemonCenter_2F_EventScript_276FBD:: @ 8276FBD
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
special copy_player_party_to_sav1
|
||||
special copy_bags_and_unk_data_from_save_blocks
|
||||
copyvar VAR_0x4087, VAR_0x8004
|
||||
@@ -1031,7 +1031,7 @@ OldaleTown_PokemonCenter_2F_EventScript_27759F:: @ 827759F
|
||||
goto_eq OldaleTown_PokemonCenter_2F_EventScript_2772EC
|
||||
msgbox OldaleTown_PokemonCenter_2F_Text_27961C, 4
|
||||
closemessage
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
setvar VAR_0x8004, 6
|
||||
copyvar VAR_0x4087, VAR_0x8004
|
||||
call OldaleTown_PokemonCenter_2F_EventScript_277BBE
|
||||
|
||||
@@ -143,7 +143,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257630:: @ 8257630
|
||||
special sub_81A1780
|
||||
playfanfare BGM_ME_ASA
|
||||
waitfanfare
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
|
||||
BattleFrontier_BattleArenaBattleRoom_EventScript_2576B0:: @ 82576B0
|
||||
setvar VAR_0x8004, 9
|
||||
@@ -430,14 +430,14 @@ FallarborTown_BattleTentBattleRoom_EventScript_257B6C:: @ 8257B6C
|
||||
setvar VAR_0x8005, 6
|
||||
setvar VAR_0x8006, 0
|
||||
special sub_81A1780
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
setvar VAR_0x8004, 5
|
||||
setvar VAR_0x8005, 0
|
||||
special sub_8163AC4
|
||||
waitstate
|
||||
setvar VAR_0x8004, 18
|
||||
special sub_81A1780
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
setvar VAR_0x8004, 21
|
||||
special sub_81A1780
|
||||
return
|
||||
|
||||
@@ -90,7 +90,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255D59:: @ 8255D59
|
||||
setvar VAR_0x8004, 8
|
||||
special sub_81A1780
|
||||
special copy_player_party_from_sav1
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
setvar VAR_0x8004, 3
|
||||
setvar VAR_0x8005, 0
|
||||
special sub_81A5238
|
||||
|
||||
@@ -528,7 +528,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C440:: @ 824C440
|
||||
setvar VAR_0x8005, 6
|
||||
setvar VAR_0x8006, 0
|
||||
special sub_81A1780
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
setvar VAR_0x8004, 3
|
||||
setvar VAR_0x8005, 0
|
||||
setvar VAR_0x4009, 1
|
||||
@@ -537,7 +537,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C440:: @ 824C440
|
||||
setvar VAR_0x4009, 0
|
||||
setvar VAR_0x8004, 17
|
||||
special sub_818E9AC
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
setvar VAR_0x8004, 16
|
||||
special sub_818E9AC
|
||||
return
|
||||
|
||||
@@ -95,7 +95,7 @@ BattleFrontier_BattleDomeLobby_EventScript_2498C9:: @ 82498C9
|
||||
setvar VAR_0x8006, 1
|
||||
special sub_818E9AC
|
||||
special copy_player_party_from_sav1
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_249991
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249940:: @ 8249940
|
||||
@@ -118,7 +118,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249940:: @ 8249940
|
||||
setvar VAR_0x8006, 1
|
||||
special sub_818E9AC
|
||||
special copy_player_party_from_sav1
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249991:: @ 8249991
|
||||
setvar VAR_0x8004, 13
|
||||
@@ -265,7 +265,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249BC2:: @ 8249BC2
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24A437, 4
|
||||
closemessage
|
||||
call BattleFrontier_BattleDomeLobby_EventScript_249C6E
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
warp BATTLE_FRONTIER_BATTLE_DOME_CORRIDOR, 255, 23, 6
|
||||
setvar VAR_0x4000, 0
|
||||
waitstate
|
||||
|
||||
@@ -249,7 +249,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5C7:: @ 824B5C7
|
||||
special sub_81A1780
|
||||
playfanfare BGM_ME_ASA
|
||||
waitfanfare
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
call BattleFrontier_BattleDomePreBattleRoom_EventScript_24B600
|
||||
fadescreen 1
|
||||
setvar VAR_0x8004, 11
|
||||
|
||||
@@ -89,7 +89,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEA7:: @ 825AEA7
|
||||
setvar VAR_0x8005, 6
|
||||
setvar VAR_0x8006, 0
|
||||
special sub_81A1780
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
setvar VAR_0x8004, 6
|
||||
setvar VAR_0x8005, 0
|
||||
special sub_8163AC4
|
||||
@@ -225,7 +225,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0:: @ 825B0E0
|
||||
setvar VAR_0x8005, 6
|
||||
setvar VAR_0x8006, 0
|
||||
special sub_81A1780
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
setvar VAR_0x8004, 6
|
||||
setvar VAR_0x8005, 0
|
||||
special sub_8163AC4
|
||||
|
||||
@@ -72,7 +72,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259BA5:: @ 8259BA5
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A22D, 4
|
||||
playfanfare BGM_ME_ASA
|
||||
waitfanfare
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
setvar VAR_0x8004, 9
|
||||
special sub_81A1780
|
||||
compare VAR_RESULT, 0
|
||||
|
||||
@@ -100,7 +100,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24F911:: @ 824F911
|
||||
special sub_81A1780
|
||||
playfanfare BGM_ME_ASA
|
||||
waitfanfare
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A:: @ 824F98A
|
||||
setvar VAR_0x8004, 9
|
||||
@@ -337,14 +337,14 @@ VerdanturfTown_BattleTentBattleRoom_EventScript_24FDF7:: @ 824FDF7
|
||||
setvar VAR_0x8005, 6
|
||||
setvar VAR_0x8006, 0
|
||||
special sub_81A1780
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
setvar VAR_0x8004, 4
|
||||
setvar VAR_0x8005, 0
|
||||
special sub_8163AC4
|
||||
waitstate
|
||||
setvar VAR_0x8004, 18
|
||||
special sub_81A1780
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
setvar VAR_0x8004, 21
|
||||
special sub_81A1780
|
||||
return
|
||||
|
||||
@@ -90,7 +90,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D8A1:: @ 824D8A1
|
||||
setvar VAR_0x8004, 8
|
||||
special sub_81A1780
|
||||
special copy_player_party_from_sav1
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
setvar VAR_0x8004, 7
|
||||
setvar VAR_0x8005, 0
|
||||
special sub_8195960
|
||||
|
||||
@@ -25,7 +25,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B707:: @ 825B707
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25B710:: @ 825B710
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
setvar VAR_0x8004, 27
|
||||
special sub_81A703C
|
||||
lockall
|
||||
@@ -77,7 +77,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B78D:: @ 825B78D
|
||||
copyvar VAR_0x8006, VAR_RESULT
|
||||
special sub_81A703C
|
||||
special copy_player_party_from_sav1
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
setvar VAR_0x8004, 27
|
||||
special sub_81A703C
|
||||
message BattleFrontier_BattlePikeLobby_Text_25C1DF
|
||||
@@ -108,7 +108,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B806:: @ 825B806
|
||||
setvar VAR_0x8006, 0
|
||||
special sub_81A703C
|
||||
special copy_player_party_from_sav1
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
setvar VAR_0x8004, 27
|
||||
special sub_81A703C
|
||||
setvar VAR_0x8004, 8
|
||||
@@ -210,7 +210,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B95C:: @ 825B95C
|
||||
setvar VAR_0x8004, 5
|
||||
special sub_81A1780
|
||||
call BattleFrontier_BattlePikeLobby_EventScript_25BA94
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
call BattleFrontier_BattlePikeLobby_EventScript_25BB49
|
||||
warpsilent BATTLE_FRONTIER_BATTLE_PIKE_CORRIDOR, 255, 6, 7
|
||||
setvar VAR_0x4000, 0
|
||||
|
||||
@@ -89,7 +89,7 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D285:: @ 825D285
|
||||
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DE3F, 4
|
||||
playfanfare BGM_ME_ASA
|
||||
waitfanfare
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DE94, 4
|
||||
closemessage
|
||||
release
|
||||
@@ -257,7 +257,7 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D50E:: @ 825D50E
|
||||
waitmessage
|
||||
playfanfare BGM_ME_ASA
|
||||
waitfanfare
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DA13, 4
|
||||
closemessage
|
||||
applymovement 1, BattleFrontier_BattlePikeRandomRoom1_Movement_25D798
|
||||
|
||||
@@ -90,7 +90,7 @@ BattleFrontier_BattlePyramidTop_EventScript_252B66:: @ 8252B66
|
||||
special sub_81A8E7C
|
||||
setvar VAR_0x8004, 14
|
||||
special sub_81A8E7C
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
warpsilent BATTLE_FRONTIER_BATTLE_PYRAMID_LOBBY, 255, 7, 13
|
||||
waitstate
|
||||
end
|
||||
|
||||
@@ -70,7 +70,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_2507DA:: @ 82507DA
|
||||
special copy_player_party_from_sav1
|
||||
setvar VAR_0x8004, 14
|
||||
special sub_81A8E7C
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
message BattleFrontier_BattlePyramidLobby_Text_2519F8
|
||||
waitmessage
|
||||
playse SE_EXPMAX
|
||||
@@ -100,7 +100,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250852:: @ 8250852
|
||||
special copy_player_party_from_sav1
|
||||
setvar VAR_0x8004, 14
|
||||
special sub_81A8E7C
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
lockall
|
||||
message BattleFrontier_BattlePyramidLobby_Text_251B5A
|
||||
waitmessage
|
||||
@@ -218,7 +218,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250A21:: @ 8250A21
|
||||
setvar VAR_0x8006, 0
|
||||
special sub_81A1780
|
||||
setvar VAR_RESULT, 0
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
warp BATTLE_FRONTIER_BATTLE_PYRAMID_EMPTY_SQUARE, 255, 1, 1
|
||||
setvar VAR_0x4000, 0
|
||||
waitstate
|
||||
|
||||
@@ -84,7 +84,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241C2F:: @ 8241C2F
|
||||
msgbox BattleFrontier_BattleTowerBattleRoom_Text_242217, 4
|
||||
playfanfare BGM_ME_ASA
|
||||
waitfanfare
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
|
||||
BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F:: @ 8241C8F
|
||||
setvar VAR_0x8004, 9
|
||||
@@ -361,7 +361,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_24210E:: @ 824210E
|
||||
setvar VAR_0x8005, 6
|
||||
setvar VAR_0x8006, 0
|
||||
special sub_81A1780
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
setvar VAR_0x8004, 0
|
||||
setvar VAR_0x8005, 0
|
||||
special sub_8163AC4
|
||||
@@ -371,7 +371,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_24210E:: @ 824210E
|
||||
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_24215A
|
||||
setvar VAR_0x8004, 18
|
||||
special sub_81A1780
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
setvar VAR_0x8004, 21
|
||||
special sub_81A1780
|
||||
|
||||
|
||||
@@ -161,7 +161,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_249121:: @ 8249121
|
||||
call_if 1, BattleFrontier_BattleTowerBattleRoom2_EventScript_249514
|
||||
playfanfare BGM_ME_ASA
|
||||
waitfanfare
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
|
||||
BattleFrontier_BattleTowerBattleRoom2_EventScript_249143:: @ 8249143
|
||||
setvar VAR_0x8004, 1
|
||||
|
||||
@@ -153,7 +153,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23E84D:: @ 823E84D
|
||||
setvar VAR_0x8004, 8
|
||||
special sub_81A1780
|
||||
special copy_player_party_from_sav1
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
setvar VAR_0x8004, 6
|
||||
setvar VAR_0x8005, 0
|
||||
special sub_8161F74
|
||||
|
||||
@@ -68,7 +68,7 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243E41:: @ 8243E41
|
||||
applymovement 255, BattleFrontier_BattleTowerMultiBattleRoom_Movement_2725A6
|
||||
waitmovement 0
|
||||
msgbox BattleFrontier_BattleTowerMultiBattleRoom_Text_244056, 4
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
setvar VAR_0x4001, 1
|
||||
releaseall
|
||||
end
|
||||
|
||||
@@ -110,7 +110,7 @@ FallarborTown_BattleTentBattleRoom_EventScript_2009B3:: @ 82009B3
|
||||
special sub_81A1780
|
||||
playfanfare BGM_ME_ASA
|
||||
waitfanfare
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_200A2A:: @ 8200A2A
|
||||
setvar VAR_0x8004, 1
|
||||
|
||||
@@ -230,7 +230,7 @@ Route101_EventScript_1EBE16:: @ 81EBE16
|
||||
applymovement 2, Route101_Movement_1EBE8D
|
||||
waitmovement 0
|
||||
msgbox Route101_Text_1EBF12, 4
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
setflag FLAG_0x2D0
|
||||
clearflag FLAG_0x2D1
|
||||
setflag FLAG_0x2BC
|
||||
|
||||
@@ -54,7 +54,7 @@ SlateportCity_BattleTentBattleRoom_EventScript_2099BE:: @ 82099BE
|
||||
msgbox 0x2021fc4, 4
|
||||
waitmessage
|
||||
closemessage
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
setvar VAR_0x8004, 6
|
||||
setvar VAR_0x8005, 0
|
||||
special sub_8163AC4
|
||||
|
||||
@@ -65,7 +65,7 @@ SlateportCity_BattleTentCorridor_EventScript_208EEE:: @ 8208EEE
|
||||
msgbox SlateportCity_BattleTentCorridor_Text_25A22D, 4
|
||||
playfanfare BGM_ME_ASA
|
||||
waitfanfare
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
|
||||
SlateportCity_BattleTentCorridor_EventScript_208F0D:: @ 8208F0D
|
||||
setvar VAR_0x8004, 1
|
||||
|
||||
@@ -78,7 +78,7 @@ SlateportCity_OceanicMuseum_2F_EventScript_20BB00:: @ 820BB00
|
||||
fadescreen 1
|
||||
playfanfare BGM_ME_ASA
|
||||
waitfanfare
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
removeobject 1
|
||||
setflag FLAG_0x384
|
||||
compare VAR_0x40DA, 0
|
||||
|
||||
@@ -29,7 +29,7 @@ SootopolisCity_MysteryEventsHouse_B1F_EventScript_227E68:: @ 8227E68
|
||||
compare VAR_RESULT, 2
|
||||
call_if 1, SootopolisCity_MysteryEventsHouse_B1F_EventScript_227EE8
|
||||
closemessage
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
applymovement 255, SootopolisCity_MysteryEventsHouse_B1F_Movement_227EF9
|
||||
waitmovement 0
|
||||
special copy_player_party_from_sav1
|
||||
|
||||
@@ -97,7 +97,7 @@ TrainerHill_Entrance_EventScript_2681DA:: @ 82681DA
|
||||
applymovement 255, TrainerHill_Entrance_Movement_268381
|
||||
waitmovement 0
|
||||
setvar VAR_0x40D6, 0
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
releaseall
|
||||
|
||||
TrainerHill_Entrance_EventScript_2681EE:: @ 82681EE
|
||||
@@ -174,7 +174,7 @@ TrainerHill_Entrance_EventScript_2682C8:: @ 82682C8
|
||||
special sp194_trainer_tower
|
||||
setvar VAR_0x40D6, 1
|
||||
setvar VAR_0x4005, 0
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
msgbox TrainerHill_Entrance_Text_26862A, 4
|
||||
setvar VAR_0x8004, 0
|
||||
special sp194_trainer_tower
|
||||
|
||||
@@ -88,7 +88,7 @@ VerdanturfTown_BattleTentBattleRoom_EventScript_2023C8:: @ 82023C8
|
||||
special sub_81A1780
|
||||
playfanfare BGM_ME_ASA
|
||||
waitfanfare
|
||||
special sp000_heal_pokemon
|
||||
special HealPlayerParty
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_20243C:: @ 820243C
|
||||
setvar VAR_0x8004, 1
|
||||
|
||||
@@ -53,7 +53,7 @@ EventScript_2A4BAC:: @ 82A4BAC
|
||||
|
||||
EventScript_2A4BD0:: @ 82A4BD0
|
||||
fadescreen 1
|
||||
special sub_8135908
|
||||
special OpenPokeblockCaseOnFeeder
|
||||
waitstate
|
||||
compare VAR_RESULT, 65535
|
||||
goto_if 5, EventScript_2A4BE2
|
||||
|
||||
Reference in New Issue
Block a user