diff options
author | mid-kid <esteve.varela@gmail.com> | 2018-11-22 12:32:24 +0100 |
---|---|---|
committer | mid-kid <esteve.varela@gmail.com> | 2018-11-22 12:32:24 +0100 |
commit | 41f39211ca3448ee79a6c65757bd703f247442fd (patch) | |
tree | 3a1fe8ca8b21d0284f91c60bd908104411538d54 /engine/battle_anims/anim_commands.asm | |
parent | 2746288030ff3bd4febc43c1c9fe8a203272b927 (diff) |
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.
Diffstat (limited to 'engine/battle_anims/anim_commands.asm')
-rw-r--r-- | engine/battle_anims/anim_commands.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/battle_anims/anim_commands.asm b/engine/battle_anims/anim_commands.asm index fcf61c43f..0d1c29da5 100644 --- a/engine/battle_anims/anim_commands.asm +++ b/engine/battle_anims/anim_commands.asm @@ -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 |