Prev: ED35 Up: Map Next: ED52
ED39: Get Level Password
Used by the routine at 76D7.
GetLevelPassword ED39 CALL SpendLife Call SpendLife.
Create an offset using BC.
ED3C LD A,($7820) C=*CurrentLevel*05.
ED3F LD B,A
ED40 ADD A,A
ED41 ADD A,A
ED42 ADD A,B
ED43 LD C,A
ED44 LD B,$00 B=00.
ED46 LD HL,$EEC0 HL=Messaging_Passwords+=BC.
ED49 ADD HL,BC
ED4A LD DE,$BACF DE=BACF.
ED4D LD C,$05 C=05.
ED4F LDIR Update the password at Messaging_NewCode with the password for the new level.
ED51 RET Return.
Prev: ED35 Up: Map Next: ED52