diff options
Diffstat (limited to 'engine/battle')
| -rwxr-xr-x | engine/battle/14.asm | 2 | ||||
| -rwxr-xr-x | engine/battle/core.asm | 8 | 
2 files changed, 5 insertions, 5 deletions
| diff --git a/engine/battle/14.asm b/engine/battle/14.asm index 530032a0..18aaa5e1 100755 --- a/engine/battle/14.asm +++ b/engine/battle/14.asm @@ -1,5 +1,5 @@  Func_525af: ; 525af (14:65af) -	ld a, [$ffd7] +	ld a, [hTilesetType]  	ld [wd0d4], a  	xor a  	ld [wcd6a], a diff --git a/engine/battle/core.asm b/engine/battle/core.asm index 26465b8f..7b1c1d12 100755 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -136,7 +136,7 @@ SlidePlayerAndEnemySilhouettesOnScreen: ; 3c04c (f:404c)  	ld [hVBlankWY], a  	ld [rWY], a  	xor a -	ld [$ffd7], a +	ld [hTilesetType], a  	ld [hVBlankSCY], a  	dec a  	ld [wUpdateSpritesEnabled], a @@ -1015,7 +1015,7 @@ TrainerBattleVictory: ; 3c696 (f:4696)  	call ScrollTrainerPicAfterBattle  	ld c, $28  	call DelayFrames -	call Func_3381 +	call PrintEndBattleText  	ld hl, MoneyForWinningText  	call PrintText  	ld de, wPlayerMoney + 2 @@ -6263,7 +6263,7 @@ DoBattleTransitionAndInitBattleVariables: ; 3ec32 (f:6c32)  	ld [H_AUTOBGTRANSFERENABLED], a  	ld [hVBlankWY], a  	ld [rWY], a -	ld [$ffd7], a +	ld [hTilesetType], a  	ld hl, wd060  	ld [hli], a  	ld [hli], a @@ -6851,7 +6851,7 @@ InitBattle_Common: ; 3efeb (f:6feb)  	pop af  	ld [wMapPalOffset], a  	ld a, [wd0d4] -	ld [$ffd7], a +	ld [hTilesetType], a  	scf  	ret  .emptyString | 
