Merge branch 'master' of https://github.com/xCrystal/pokecrystal (resolve PR #459)
# Conflicts: # data/items/descriptions.asm # data/sprite_anims/framesets.asm # engine/crystal_colors.asm # engine/events/kurt.asm # engine/events/special.asm # engine/events/std_scripts.asm # engine/events_3.asm # engine/item_effects.asm # engine/namingscreen.asm # engine/scripting.asm # engine/stats_screen.asm # engine/trade_animation.asm # home/audio.asm # main.asm # maps/BattleTower1F.asm # maps/BattleTowerBattleRoom.asm # maps/BurnedTowerB1F.asm # maps/ElmsLab.asm # maps/GoldenrodDeptStore5F.asm # maps/GoldenrodUnderground.asm # maps/HallOfFame.asm # maps/MahoganyTown.asm # maps/ManiasHouse.asm # maps/MobileBattleRoom.asm # maps/MobileTradeRoomMobile.asm # maps/RadioTower2F.asm # maps/Route35NationalParkGate.asm # maps/Route36NationalParkGate.asm # maps/Route39Farmhouse.asm # tilesets/palette_maps.asm
This commit is contained in:
@@ -23,7 +23,7 @@ Script_BattleRoom: ; 0x9f421
|
||||
; beat all 7 opponents in a row
|
||||
Script_BattleRoomLoop: ; 0x9f425
|
||||
writebyte BATTLETOWERBATTLEROOM_YOUNGSTER
|
||||
special Function_LoadOpponentTrainerAndPokemonsWithOTSprite
|
||||
special Special_LoadOpponentTrainerAndPokemonWithOTSprite
|
||||
appear BATTLETOWERBATTLEROOM_YOUNGSTER
|
||||
warpsound
|
||||
waitsfx
|
||||
@@ -32,8 +32,8 @@ Script_BattleRoomLoop: ; 0x9f425
|
||||
battletowertext BATTLETOWERTEXT_INTRO
|
||||
buttonsound
|
||||
closetext
|
||||
special BattleTowerBattle ; calls predef startbattle
|
||||
special FadeOutPalettes
|
||||
special Special_BattleTowerBattle ; calls predef startbattle
|
||||
special Special_FadeOutPalettes
|
||||
reloadmap
|
||||
if_not_equal $0, Script_FailedBattleTowerChallenge
|
||||
copybytetovar wNrOfBeatenBattleTowerTrainers ; wcf64
|
||||
@@ -48,10 +48,10 @@ Script_BattleRoomLoop: ; 0x9f425
|
||||
waitbutton
|
||||
closetext
|
||||
playmusic MUSIC_HEAL
|
||||
special FadeOutPalettes
|
||||
special LoadMapPalettes
|
||||
special Special_FadeOutPalettes
|
||||
special Special_LoadMapPalettes
|
||||
pause 60
|
||||
special FadeInPalettes
|
||||
special Special_FadeInPalettes
|
||||
special RestartMapMusic
|
||||
opentext
|
||||
writetext Text_NextUpOpponentNo
|
||||
@@ -68,25 +68,25 @@ Script_DontBattleNextOpponent: ; 0x9f483
|
||||
yesorno
|
||||
iffalse Script_DontSaveAndEndTheSession
|
||||
writebyte BATTLETOWERACTION_SAVELEVELGROUP ; save level group
|
||||
special BattleTowerAction
|
||||
special Special_BattleTowerAction
|
||||
writebyte BATTLETOWERACTION_SAVEOPTIONS ; choose reward
|
||||
special BattleTowerAction
|
||||
special Special_BattleTowerAction
|
||||
writebyte BATTLETOWERACTION_SAVE_AND_QUIT ; quicksave
|
||||
special BattleTowerAction
|
||||
special Special_BattleTowerAction
|
||||
playsound SFX_SAVE
|
||||
waitsfx
|
||||
special FadeOutPalettes
|
||||
special Special_FadeOutPalettes
|
||||
special Reset
|
||||
Script_DontSaveAndEndTheSession: ; 0x9f4a3
|
||||
writetext Text_CancelYourBattleRoomChallenge
|
||||
yesorno
|
||||
iffalse Script_ContinueAndBattleNextOpponent
|
||||
writebyte BATTLETOWERACTION_CHALLENGECANCELED
|
||||
special BattleTowerAction
|
||||
special Special_BattleTowerAction
|
||||
writebyte BATTLETOWERACTION_06
|
||||
special BattleTowerAction
|
||||
special Special_BattleTowerAction
|
||||
closetext
|
||||
special FadeOutPalettes
|
||||
special Special_FadeOutPalettes
|
||||
warpfacing UP, BATTLE_TOWER_1F, 7, 7
|
||||
opentext
|
||||
jump Script_BattleTowerHopeToServeYouAgain
|
||||
@@ -96,7 +96,7 @@ Script_FailedBattleTowerChallenge:
|
||||
special Special_BattleTowerFade
|
||||
warpfacing UP, BATTLE_TOWER_1F, 7, 7
|
||||
writebyte BATTLETOWERACTION_CHALLENGECANCELED
|
||||
special BattleTowerAction
|
||||
special Special_BattleTowerAction
|
||||
opentext
|
||||
writetext Text_ThanksForVisiting
|
||||
waitbutton
|
||||
@@ -114,7 +114,7 @@ Script_BeatenAllTrainers2:
|
||||
|
||||
UnreferencedScript_0x9f4eb:
|
||||
writebyte BATTLETOWERACTION_CHALLENGECANCELED
|
||||
special BattleTowerAction
|
||||
special Special_BattleTowerAction
|
||||
opentext
|
||||
writetext Text_TooMuchTimeElapsedNoRegister
|
||||
waitbutton
|
||||
@@ -123,9 +123,9 @@ UnreferencedScript_0x9f4eb:
|
||||
|
||||
UnreferencedScript_0x9f4f7:
|
||||
writebyte BATTLETOWERACTION_CHALLENGECANCELED
|
||||
special BattleTowerAction
|
||||
special Special_BattleTowerAction
|
||||
writebyte BATTLETOWERACTION_06
|
||||
special BattleTowerAction
|
||||
special Special_BattleTowerAction
|
||||
opentext
|
||||
writetext Text_ThanksForVisiting
|
||||
writetext Text_WeHopeToServeYouAgain
|
||||
|
Reference in New Issue
Block a user