dos33fsprogs/games/tfv/tfv_world.s

66 lines
1.3 KiB
ArmAsm
Raw Normal View History

2020-12-30 06:41:14 +00:00
; TFV world
; the main part of the game
.include "zp.inc"
.include "hardware.inc"
.include "common_defines.inc"
;================================
; Clear screen and setup graphics
;================================
;=====================
2020-12-31 20:01:44 +00:00
; Handle Overworld
2020-12-30 06:41:14 +00:00
;=====================
2020-12-31 20:01:44 +00:00
jsr handle_overworld
2020-12-30 06:41:14 +00:00
;=====================
; Game Over
;=====================
; return to title screen?
jsr game_over
lda #LOAD_TITLE
sta WHICH_LOAD
rts
;===============================================
; External modules
;===============================================
.include "tfv_drawmap.s"
.include "tfv_overworld.s"
.include "tfv_game_over.s"
2020-12-31 20:01:44 +00:00
.include "help_overworld.s"
2020-12-30 06:41:14 +00:00
.include "gr_fast_clear.s"
.include "gr_hlin.s"
.include "gr_pageflip.s"
.include "keyboard.s"
.include "joystick.s"
;.include "gr_putsprite.s"
2021-01-11 20:20:43 +00:00
.include "gr_putsprite_crop.s"
2020-12-30 06:41:14 +00:00
.include "text_print.s"
.include "gr_copy.s"
.include "decompress_fast_v2.s"
.include "gr_offsets.s"
.include "wait_keypressed.s"
2021-01-05 20:32:11 +00:00
.include "tfv_battle.s"
.include "rotate_intro.s"
2020-12-30 06:41:14 +00:00
;===============================================
2021-01-13 17:16:20 +00:00
; Graphics
2020-12-30 06:41:14 +00:00
;===============================================
.include "tfv_sprites.inc"
2021-01-13 20:17:15 +00:00
.include "battle_sprites.inc"
2021-01-13 17:16:20 +00:00
.include "number_sprites.inc"
2020-12-30 06:41:14 +00:00
.include "graphics_map/tfv_backgrounds.inc"