Prev: 7160 Up: Map Next: 7198
7186: Reset Modified Code
Used by the routines at StartGame and FrameUpdateEnd.
Puts back the two changes which FrameUpdate makes to NextActor, so that the passes through the actors are normal again.
Self modifying code; this updates the address for BC (at 71AB).
ResetModifiedCode 7186 LD HL,$5F85 Write Message_Copyright to 71AC.
7189 LD ($71AC),HL
Self modifying code; this updates the command at 71BE to "LD HL, (xx)".
718C LD A,$2A Write 2A to 71BE.
718E LD ($71BE),A
Self modifying code; this updates the address for HL (at 71BE).
7191 LD HL,$5F1D Write FrameCounter to 71BF.
7194 LD ($71BF),HL
7197 RET Return.
View the equivalent code in;
Prev: 7160 Up: Map Next: 7198