dos33fsprogs/games/tfv/tfv_world.s
2021-01-13 23:33:05 -05:00

66 lines
1.3 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 "gr_putsprite_crop.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"
;===============================================
; Graphics
;===============================================
.include "tfv_sprites.inc"
.include "battle_sprites.inc"
.include "number_sprites.inc"
.include "graphics_map/tfv_backgrounds.inc"