Prev: 45760 Up: Map Next: 45846
45830: SpecialRowAction
Used by the routine at 35787.
The special-row (13) handler, reached via the JP at $8BCB. 238 -> the press was aimed at RmveGrille before the swap above: restore the visible value 52 and start the timed grille removal anyway. Anything else goes to the normal path at $8BCE (52 -> attack, 49 -> timed grille removal).
45830 LD A,(33685) A = value the press landed on
45833 CP 238 swapped-under-the-cursor marker?
45835 JP NZ,35790 no: normal ATTACK / RmveGrille handling
45838 LD A,52 yes: mirror = 52 to match the displayed
45840 LD (33685),A ATTACK row,
45843 JP 35795 but still start the timed grille removal
Prev: 45760 Up: Map Next: 45846