mirror of
https://github.com/blondie7575/GSCats.git
synced 2024-11-22 06:31:48 +00:00
0ee3e558b6
Also fixed memory overwrite in health management caused by hit animations
67 lines
1022 B
ArmAsm
67 lines
1022 B
ArmAsm
;
|
|
; gscats
|
|
;
|
|
; Created by Quinn Dunki on 7/9/17
|
|
;
|
|
|
|
|
|
.include "macros.s"
|
|
.include "equates.s"
|
|
|
|
.import renderTerrainSpans
|
|
.import unrenderTerrainSpans
|
|
.import compileTerrainSpans
|
|
|
|
.org $0000
|
|
|
|
|
|
mainBank2:
|
|
SYNCDBR
|
|
BITS8
|
|
lda #$f0
|
|
sta TEXTCOLOR
|
|
BITS16
|
|
|
|
; Set up video
|
|
jsr initSCBs
|
|
SHRVIDEO
|
|
SHADOWMEMORY
|
|
|
|
jmp beginGameplay
|
|
|
|
quitGame:
|
|
NORMALMEMORY
|
|
CLASSICVIDEO
|
|
jml (PRODOSRETURN)
|
|
|
|
|
|
.include "random.s"
|
|
.include "graphics.s"
|
|
.include "sound.s"
|
|
.include "animation.s"
|
|
.include "player.s"
|
|
.include "terrain.s"
|
|
.include "collision.s"
|
|
.include "gameobject.s"
|
|
.include "utility.s"
|
|
.include "tables.s"
|
|
.include "gamemanager.s"
|
|
.include "input.s"
|
|
.include "fan.s"
|
|
.include "projectile.s"
|
|
.include "inventory.s"
|
|
.include "dirt.s"
|
|
.include "crosshair.s"
|
|
.include "progressBar.s"
|
|
|
|
endMainBank2:
|
|
|
|
|
|
; Suppress some linker warnings - Must be the last thing in the file
|
|
; This is because Quinn doesn't really know how to use ca65 properly
|
|
.SEGMENT "ZPSAVE"
|
|
.SEGMENT "EXEHDR"
|
|
.SEGMENT "STARTUP"
|
|
.SEGMENT "INIT"
|
|
.SEGMENT "LOWCODE"
|