writebackup --> closewindow; game corner prize vendors; others

This commit is contained in:
PikalaxALT
2015-12-24 22:58:42 -05:00
parent 1df28a6beb
commit a5e928eb98
44 changed files with 2604 additions and 2600 deletions

View File

@@ -2932,7 +2932,7 @@ ForcePlayerMonChoice: ; 3d227
call ClearPalettes
call DelayFrame
call _LoadHPBar
call WriteBackup
call CloseWindow
call GetMemSGBLayout
call SetPalettes
call SendOutPkmnText
@@ -5368,7 +5368,7 @@ BattleMenuPKMN_Loop:
call ClearPalettes
call DelayFrame
call _LoadHPBar
call WriteBackup
call CloseWindow
call LoadTileMapToTempTileMap
call GetMemSGBLayout
call SetPalettes
@@ -5451,7 +5451,7 @@ TryPlayerSwitch: ; 3e358
call DelayFrame
call ClearSprites
call _LoadHPBar
call WriteBackup
call CloseWindow
call GetMemSGBLayout
call SetPalettes
ld a, [CurPartyMon]
@@ -5464,7 +5464,7 @@ PlayerSwitch: ; 3e3ad
jr z, .not_linked
call LoadStandardMenuDataHeader
call LinkBattleSendReceiveAction
call WriteBackup
call CloseWindow
.not_linked
call ParseEnemyAction

View File

@@ -8961,7 +8961,7 @@ BattleCommand_BatonPass: ; 379c9
; Return to battle scene
call ClearPalettes
callba _LoadBattleFontsHPBar
call WriteBackup
call CloseWindow
call ClearSprites
hlcoord 1, 0
lb bc, 4, 10
@@ -9030,7 +9030,7 @@ BatonPass_LinkPlayerSwitch: ; 37a67
call LoadStandardMenuDataHeader
ld hl, LinkBattleSendReceiveAction
call CallBattleCore
call WriteBackup
call CloseWindow
xor a
ld [wPlayerAction], a
@@ -9061,7 +9061,7 @@ BatonPass_LinkEnemySwitch: ; 37a82
add BATTLEACTION_SWITCH1
ld [wBattleAction], a
.switch
jp WriteBackup
jp CloseWindow
; 37aab