Prev: BDB5 Up: Map Next: BE29
BDC3: Routine at BDC3
Used by the routine at Action08_BoxingGloveSafe.
Input
Output
BDC3 LD A,L
BDC4 LD H,D
BDC5 SUB $08
BDC7 JR NC,$BDCA
BDC9 XOR A
BDCA CP $E0
BDCC JR C,$BDD0
BDCE LD A,$E0
BDD0 LD L,A
BDD1 LD (BitmapX),HL
BDD4 LD A,$4D Dead Wally graphic.
BDD6 CALL Bitmap16Draw
BDD9 LD A,L
BDDA ADD A,$10
BDDC LD (BitmapX),A
BDDF LD A,$4E
BDE1 CALL Bitmap16Draw
BDE4 LD B,$28 Wait for a little while, updating the room.
BDE6 PUSH BC
BDE7 PUSH HL
BDE8 CALL Pause_Short
BDEB CALL Room_EventCaller
BDEE POP HL
BDEF POP BC
BDF0 DJNZ $BDE6
BDF2 PUSH HL
BDF3 CALL Room_EventCaller
BDF6 CALL Pause_Short
BDF9 POP HL
BDFA LD (BitmapX),HL
BDFD LD A,$4D
BDFF CALL Bitmap16Draw
BE02 LD A,L
BE03 ADD A,$10
BE05 LD (BitmapX),A
StartNextLife BE08 LD A,$4E
BE0A CALL Bitmap16Draw
BE0D DEC H
BE0E DEC H
BE0F LD A,H
BE10 CP $30
BE12 JR C,_be29
BE14 LD (BitmapX),HL
BE17 LD A,$4D
BE19 CALL Bitmap16Draw
BE1C LD A,L
BE1D ADD A,$10
BE1F LD (BitmapX),A
BE22 LD A,$4E
BE24 CALL Bitmap16Draw
BE27 JR $BDF2
Prev: BDB5 Up: Map Next: BE29