git @ Cat's Eye Technologies SixtyPical / 505fcb7
game_state_routines pass through player_died; saves a few bytes. Chris Pressey 3 years ago
1 changed file(s) with 1 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
3232 typedef routine
3333 inputs joy2, press_fire_msg, dispatch_game_state,
3434 actor_pos, actor_delta, actor_logic,
35 player_died,
3536 screen, screen1, screen2, screen3, screen4, colormap1, colormap2, colormap3, colormap4
3637 outputs dispatch_game_state,
3738 actor_pos, actor_delta, actor_logic,
379380 define game_state_title_screen game_state_routine
380381 {
381382 ld y, 0
382 st y, player_died
383383 for y up to 17 {
384384 ld a, press_fire_msg + y
385385
435435
436436 define game_state_game_over game_state_routine
437437 {
438 ld y, 0
439 st y, player_died
440438 st off, c
441439 call check_button
442440