Prev: 6BE4 Up: Map Next: 6D1F
6C98: Main game update routine.
Used by the routine at Start.
Game_Update 6C98 DEFB $11 Game speed ( LD DE,$0096 )
GameSpeed 6C99 DEFB $96,$00
6C9B CALL PauseOrSound
6C9E CALL Items_Erase
6CA1 CALL BgAttrScroll
6CA4 CALL Bg_Update
6CA7 LD BC,$003C
6CAA LD DE,Item_Copies_ShipOffset
6CAD LD HL,Item_ShipPosOffset
6CB0 LDIR
6CB2 CALL Items_Clear
6CB5 CALL _6f90_
6CB8 NOP
6CB9 NOP
6CBA NOP
6CBB CALL Bomb_Move
6CBE CALL Ship_Update
6CC1 CALL Sprite_EraseAll
6CC4 CALL Screen_DrawColAndScroll
6CC7 CALL Items_Draw
6CCA CALL Score_UpdateOnScreen
6CCD LD A,(Item_ShipTile) If ship has not exploded, return.
6CD0 CP $9A
6CD2 RET NZ
6CD3 CALL Sound_MultiPlay Play explosion sound.
6CD6 CALL Items_Erase
6CD9 LD BC,$003C
6CDC LD DE,Item_Copies_ShipOffset
6CDF LD HL,Item_ShipPosOffset
6CE2 LDIR
6CE4 CALL Sprite_EraseAll
6CE7 CALL Items_ClearSlots
6CEA LD A,(Char_Ships) See if we have run out of ships. Return if so.
6CED CP $30
6CEF RET Z
6CF0 CALL _749a
6CF3 RET
6CF4 NOP
6CF5 NOP
6CF6 NOP
6CF7 NOP
6CF8 NOP
6CF9 NOP
6CFA NOP
6CFB NOP
6CFC NOP
6CFD NOP
6CFE NOP
6CFF NOP
6D00 NOP
6D01 NOP
6D02 NOP
6D03 NOP
6D04 NOP
6D05 NOP
6D06 NOP
6D07 NOP
6D08 NOP
6D09 NOP
6D0A NOP
6D0B NOP
6D0C NOP
6D0D NOP
6D0E NOP
6D0F NOP
6D10 NOP
6D11 NOP
6D12 NOP
6D13 NOP
6D14 NOP
6D15 NOP
6D16 NOP
6D17 NOP
6D18 NOP
6D19 NOP
6D1A NOP
6D1B NOP
6D1C NOP
6D1D NOP
6D1E NOP
Prev: 6BE4 Up: Map Next: 6D1F