M
What comes to my mind is to take the routine that calls it with the TM, and add something like
ld hl, wExtraFlags
set 4, [hl]
before the call to the routine, then I could replace the existing check for which list it is with something like
ld a, [wExtraFlags]
bit 4, a
res 4, a
jr z, .noTM
or something. Not sure if there is a better way that's just the first thing to come to mind while brainstorming.
ld hl, wExtraFlags
set 4, [hl]
before the call to the routine, then I could replace the existing check for which list it is with something like
ld a, [wExtraFlags]
bit 4, a
res 4, a
jr z, .noTM
or something. Not sure if there is a better way that's just the first thing to come to mind while brainstorming.