Skip to content

Commit

Permalink
Fix comment about auto text box drawing
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 Jul 30, 2024
1 parent 6e3ab0a commit 4d7a751
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 @@ -976,7 +976,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 4d7a751

Please sign in to comment.