Skip to content

Commit

Permalink
Wrong macro used for EmotionBubblesOAM
Browse files Browse the repository at this point in the history
It's actually just the last 2 bytes of 4 OAM entries, see WriteOAMBlock for when it is used. BC is pre-loaded with the x and y pixels, whereas de (emotionBubblesOAM) is the tile id and attributes only. Not sure if there's a specific macro for this type of declaration.
  • Loading branch information
Vortyne authored Sep 26, 2024
1 parent 9a2f1b2 commit ea2feab
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions engine/overworld/emotion_bubbles.asm
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,12 @@ EmotionBubblesPointerTable:
dw QuestionEmote
dw HappyEmote

; tile ID and attribute
EmotionBubblesOAM:
dbsprite 0, -1, 0, 0, $f9, 0
dbsprite 0, -1, 0, 2, $fb, 0
db $f8, 0
db $f9, 0
db $fa, 0
db $fb, 0

EmotionBubbles:
ShockEmote: INCBIN "gfx/emotes/shock.2bpp"
Expand Down

0 comments on commit ea2feab

Please sign in to comment.