LoadEDTile → CopyTilemapAtOnce (fix #345)

This commit is contained in:
Remy Oukaour
2017-12-24 18:11:17 -05:00
parent 0a1fef45fd
commit 040aa7cb17
10 changed files with 39 additions and 39 deletions

View File

@@ -60,7 +60,7 @@ Predef_StartBattle: ; 8c20f
call UpdateSprites
call DelayFrame
call .NonMobile_LoadPokeballTiles
call BattleStart_LoadEDTile
call BattleStart_CopyTilemapAtOnce
jr .resume
.mobile
@@ -663,7 +663,7 @@ StartTrainerBattle_LoadPokeBallGraphics: ; 8c5dc (23:45dc)
ld a, $1
ld [hCGBPalUpdate], a
call DelayFrame
call BattleStart_LoadEDTile
call BattleStart_CopyTilemapAtOnce
.nextscene ; 8c673 (23:4673)
call StartTrainerBattle_NextScene

View File

@@ -307,7 +307,7 @@ Function8bec:
ld a, [EnemySafeguardCount] ; value
and $3
call FillBoxCGB
call LoadEDTile
call CopyTilemapAtOnce
ret
ApplyMonOrTrainerPals:

View File

@@ -599,7 +599,7 @@ Phone_StartRinging: ; 9033f
call PlaySFX
call Phone_CallerTextbox
call UpdateSprites
farcall PhoneRing_LoadEDTile
farcall PhoneRing_CopyTilemapAtOnce
ret
; 90355
@@ -609,7 +609,7 @@ HangUp_Wait20Frames: ; 90355
Phone_Wait20Frames
ld c, 20
call DelayFrames
farcall PhoneRing_LoadEDTile
farcall PhoneRing_CopyTilemapAtOnce
ret
; 90363

View File

@@ -3,7 +3,7 @@ SaveMenu: ; 14a1a
farcall DisplaySaveInfoOnSave
call SpeechTextBox
call UpdateSprites
farcall SaveMenu_LoadEDTile
farcall SaveMenu_CopyTilemapAtOnce
ld hl, Text_WouldYouLikeToSaveTheGame
call SaveTheGame_yesorno
jr nz, .refused
@@ -19,7 +19,7 @@ SaveMenu: ; 14a1a
.refused
call ExitMenu
call ret_d90
farcall SaveMenu_LoadEDTile
farcall SaveMenu_CopyTilemapAtOnce
scf
ret