dos33fsprogs/games/tfv/tfv_world.s
2021-01-05 15:32:11 -05:00

63 lines
1.2 KiB
ArmAsm

; TFV world
; the main part of the game
.include "zp.inc"
.include "hardware.inc"
.include "common_defines.inc"
;================================
; Clear screen and setup graphics
;================================
;=====================
; Handle Overworld
;=====================
jsr handle_overworld
;=====================
; 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"
.include "help_overworld.s"
.include "gr_fast_clear.s"
.include "gr_hlin.s"
.include "gr_pageflip.s"
.include "keyboard.s"
.include "joystick.s"
.include "gr_putsprite.s"
.include "text_print.s"
.include "gr_copy.s"
.include "decompress_fast_v2.s"
.include "gr_offsets.s"
.include "wait_keypressed.s"
.include "tfv_battle.s"
.include "rotate_intro.s"
;===============================================
; Variables
;===============================================
.include "tfv_sprites.inc"
.include "graphics_map/tfv_backgrounds.inc"