Some minor corrections

This commit is contained in:
ElectroDeoxys 2025-06-05 12:21:20 +01:00
parent e8e2f8e360
commit d818eb6fb9
3 changed files with 8 additions and 4 deletions

View File

@ -375,7 +375,7 @@ DEF DUEL_ANIM_STRUCT_ID RB ; $0
DEF DUEL_ANIM_STRUCT_SCREEN RB ; $1
DEF DUEL_ANIM_STRUCT_DUELIST_SIDE RB ; $2
DEF DUEL_ANIM_STRUCT_LOCATION_PARAM RB ; $3
DEF DUEL_ANIM_STRUCT_DAMAGE Rw ; $4
DEF DUEL_ANIM_STRUCT_DAMAGE RW ; $4
DEF DUEL_ANIM_STRUCT_UNKNOWN_2 RB ; $6
DEF DUEL_ANIM_STRUCT_BANK RB ; $7
DEF DUEL_ANIM_STRUCT_SIZE EQU _RS

View File

@ -278,7 +278,7 @@ Func_1ce03:
.pointer_table
dw SetScreenForDuelAnimation ; DUEL_ANIM_SET_SCREEN
dw PrintDamageText ; DUEL_ANIM_SHOW_DAMAGE
dw PrintDamageText ; DUEL_ANIM_PRINT_DAMAGE
dw UpdateMainSceneHUD ; DUEL_ANIM_UPDATE_HUD
dw DuelAnim153 ; DUEL_ANIM_153_UNUSED
dw DuelAnim154 ; DUEL_ANIM_154_UNUSED

View File

@ -50,7 +50,9 @@ Func_18661: ; unreferenced
; b button
ld a, -1
call $50fb ; non-existent routine, points to middle of SetScreenForDuelAnimation
; bug, the following routine is in another bank,
; should use PlaySFXConfirmOrCancel_Bank6 instead
call PlaySFXConfirmOrCancel
scf
ret
@ -58,7 +60,9 @@ Func_18661: ; unreferenced
.a_button
call .draw_cursor
ld a, 1
call $50fb ; non-existent routine, points to middle of SetScreenForDuelAnimation
; bug, the following routine is in another bank,
; should use PlaySFXConfirmOrCancel_Bank6 instead
call PlaySFXConfirmOrCancel
scf
ret