![]() |
Routines |
| Prev: 27030 | Up: Map | Next: 27114 |
|
_ALIEN_ROWS_DATA holds the data for the alien rows. Each row is 706 bytes, and there's 5 of them.
Used by the routines at generate_alien_bullets, bullet_alien_coll_yaxis, move_aliens and init_draw_aliens.
|
||||||||||||
| find_alien_row_data | 27097 | LD IX,_ALIEN_ROWS_DATA | Row data block starts here | |||||||||
| 27101 | OR A | For row zero we already have the answer | ||||||||||
| 27102 | RET Z | |||||||||||
| 27103 | PUSH BC | Go into a loop adding the row data size (706 bytes) to IX. | ||||||||||
| 27104 | LD BC,706 | |||||||||||
| find_alien_row_data_0 | 27107 | ADD IX,BC | ||||||||||
| 27109 | DEC A | |||||||||||
| 27110 | JR NZ,find_alien_row_data_0 | |||||||||||
| 27112 | POP BC | |||||||||||
| 27113 | RET | That's the address of that row's data | ||||||||||
| Prev: 27030 | Up: Map | Next: 27114 |