You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ld [wBattleMonStatus], a ; remove the status ailment in the in-battle pokemon data
.calculateHPBarCoords
ld hl, wShadowOAMSprite36
ld bc,2* SCREEN_WIDTH
inc d
The code here defines the coordinates of the HPBar, which initially uses negative coordinates since the count starts at 1 (inc d).
However, it is incorrectly interpreted as an OAM-related address. It is not related to OAM.
I recommend changing the ld hl, wShadowOAMSprite36 into the corresponding coordinate address, e.g., hlcoord 4, -1.
The text was updated successfully, but these errors were encountered:
pokered/engine/items/item_effects.asm
Lines 1176 to 1180 in 17eaf76
The code here defines the coordinates of the HPBar, which initially uses negative coordinates since the count starts at 1 (
inc d
).However, it is incorrectly interpreted as an OAM-related address. It is not related to OAM.
I recommend changing the
ld hl, wShadowOAMSprite36
into the corresponding coordinate address, e.g.,hlcoord 4, -1
.The text was updated successfully, but these errors were encountered: