Added pixel X reset on newline
This commit is contained in:
parent
d20ee7a3b2
commit
97be1a635c
|
@ -110,11 +110,15 @@ org $80C4F84; bl m2_vwf_entries.c4b2c_clear_right
|
|||
// C980C hacks
|
||||
//---------------------------------------------------------
|
||||
|
||||
// Reset pixel X during a newline
|
||||
org $80C9CC4
|
||||
bl m2_vwf_entries.c980c_resetx_newline
|
||||
|
||||
// Custom codes check
|
||||
org $80CA2BC
|
||||
bl m2_vwf_entries.c980c_custom_codes
|
||||
|
||||
// Clear pixel X
|
||||
// Reset pixel X when redrawing the window
|
||||
org $80CA2E6
|
||||
bl m2_vwf_entries.c980c_resetx
|
||||
|
||||
|
|
|
@ -33,6 +33,15 @@ pop {r1}
|
|||
bl $80C87D0
|
||||
pop {pc}
|
||||
|
||||
//==============================================================================
|
||||
.c980c_resetx_newline:
|
||||
push {lr}
|
||||
strh r0,[r5,#0x2C]
|
||||
strh r4,[r5,#0x2A]
|
||||
strh r4,[r5,#2]
|
||||
pop {pc}
|
||||
|
||||
|
||||
//==============================================================================
|
||||
.c87d0_clear_entry:
|
||||
push {lr}
|
||||
|
|
Loading…
Reference in New Issue