Identified another user of wBattleAnimTemp

QueueBattleAnimation loads an object using these wram addresses. Usually
populated by the anim_obj command, but in a couple of cases also
manually.
This commit is contained in:
mid-kid
2018-11-22 12:32:24 +01:00
parent 2746288030
commit 41f39211ca
4 changed files with 30 additions and 24 deletions

View File

@@ -595,13 +595,13 @@ BattleAnimCmd_IfParamAnd:
BattleAnimCmd_Obj:
; index, x, y, param
call GetBattleAnimByte
ld [wBattleAnimTemp0], a
ld [wBattleObjectTempID], a
call GetBattleAnimByte
ld [wBattleAnimTemp1], a
ld [wBattleObjectTempXCoord], a
call GetBattleAnimByte
ld [wBattleAnimTemp2], a
ld [wBattleObjectTempYCoord], a
call GetBattleAnimByte
ld [wBattleAnimTemp3], a
ld [wBattleObjectTemp0b], a
call QueueBattleAnimation
ret