Prev: F314 Up: Map Next: F3A0
F336: Routine at F336
Used by the routines at _be29 and Action13_EnterAcrade.
Input
Output
F336 LD HL,(_f46d)
F339 LD DE,$F45E
F33C AND A
F33D SBC HL,DE
F33F LD A,L
F340 RR A
F342 ADD A,$1D
F344 LD (Wally_RoomNo),A
F347 CALL ScreenClearEffect
F34A CALL Draw_CeilingWallFloor
F34D LD DE,$0F00
F350 LD HL,item_dc31
F353 CALL FurnitureDraw
F356 CALL Wally_Draw
F359 LD HL,Invaders_Data
F35C LD B,$18
F35E LD A,(HL)
F35F LD E,A
F360 INC HL
F361 LD D,(HL)
F362 INC HL
F363 CP $FE
F365 JR Z,$F382
F367 LD (BitmapX),DE
F36B PUSH HL
F36C LD DE,($F3A4)
F370 INC DE
F371 AND A
F372 SBC HL,DE
F374 JR NC,$F37B
F376 LD A,($F3A1)
F379 JR $F37E
F37B LD A,(_f3a0)
F37E POP HL
F37F CALL Bitmap16Draw
F382 DJNZ $F35E
F384 LD HL,Arcade_ExplosionSlots
F387 LD A,(HL)
F388 CP $FE
F38A JR Z,$F393
F38C LD (HL),$FF
F38E INC HL
F38F INC HL
F390 INC HL
F391 JR $F387
F393 LD B,$03
F395 LD HL,Arcade_BombData
F398 LD (HL),$FF
F39A INC HL
F39B INC HL
F39C INC HL
F39D DJNZ $F398
F39F RET
Prev: F314 Up: Map Next: F3A0