Skip to content

Commit

Permalink
Fix comment about auto text box drawing (#458)
Browse files Browse the repository at this point in the history
Actually, setting bit 0 of this byte disables auto text box drawing on calling DisplayTextID. See https://github.com/pret/pokered/blob/6e3ab0a9e97ff14123ac65f56cb4b4ddab45b695/engine/menus/display_text_id_init.asm#L7
  • Loading branch information
Vortyne authored and Engezerstorung committed Aug 23, 2024
1 parent 831e388 commit c428cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ram/wram.asm
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ wBoughtOrSoldItemInMart:: db
; $02 - draw
wBattleResult:: db

; bit 0: if set, DisplayTextID automatically draws a text box
; bit 0: if set, prevents DisplayTextID from automatically drawing a text box
wAutoTextBoxDrawingControl:: db

; used in some overworld scripts to vary scripted movement
Expand Down

0 comments on commit c428cc2

Please sign in to comment.