tfv: battle: menus almost in place

This commit is contained in:
Vince Weaver 2021-01-12 00:44:03 -05:00
parent cd67c4e4da
commit da98de69e3
5 changed files with 639 additions and 381 deletions

View File

@ -1,3 +1,7 @@
simple sound effects when selecting menu
maybe gradients on backgrounds
help:
different help screen for flying than worldmap

View File

@ -28,6 +28,21 @@ inverse_text:
rts
;=============================
; flash_text
;=============================
; modify so print flashing text
flash_text:
; want ora #$30
lda #$09
sta ps_smc1
lda #$40
sta ps_smc1+1
rts
;=============================
; raw text

File diff suppressed because it is too large Load Diff

View File

@ -71,16 +71,23 @@ tfv_defeat_sprite:
; Enemies
;==========
killer_crab:
killer_crab_sprite:
.byte $9,$6
.byte $99,$00,$99,$00,$00,$00,$99,$00,$99
.byte $06,$60,$06,$00,$00,$00,$06,$60,$06
.byte $00,$06,$40,$49,$44,$49,$40,$06,$00
.byte $06,$04,$44,$44,$44,$44,$44,$04,$06
.byte $00,$60,$04,$64,$04,$64,$04,$60,$00
.byte $44,$00,$40,$04,$00,$04,$40,$00,$44
.byte $99,$AA,$99,$AA,$AA,$AA,$99,$AA,$99
.byte $A6,$6A,$A6,$AA,$AA,$AA,$A6,$6A,$A6
.byte $AA,$A6,$4A,$49,$44,$49,$4A,$A6,$AA
.byte $A6,$A4,$44,$44,$44,$44,$44,$A4,$A6
.byte $AA,$6A,$A4,$64,$A4,$64,$A4,$6A,$AA
.byte $44,$AA,$4A,$A4,$AA,$A4,$4A,$AA,$44
; Procrastinon
plain_fish_sprite:
.byte $9,$6
.byte $6A,$AA,$A9,$69,$6A,$6A,$AA,$AA,$AA
.byte $64,$6A,$66,$66,$66,$66,$66,$6A,$AA
.byte $64,$66,$66,$66,$46,$66,$64,$66,$AA
.byte $64,$66,$66,$44,$66,$66,$66,$66,$ee
.byte $64,$66,$66,$66,$64,$66,$66,$6e,$A5
.byte $64,$AA,$A6,$66,$66,$66,$A6,$AA,$AA
;=======================
; Background Features

View File

@ -101,9 +101,24 @@ SOUND_STATUS = $A6
SOUND_MOCKINGBOARD = $02 ; mockingboard detected
JS_BUTTON_STATE = $A7
HERO_X = $B0 ; used in battle
HERO_STATE = $B1 ; used in battle
HERO_STATE_RUNNING = $01 ; running from battle
BATTLE_COUNT = $B2 ; battle counter
ENEMY_TYPE = $B3 ; used in battle
ENEMY_HP = $B4 ; enemy hitpoints
ENEMY_X = $B5 ; enemy X position
ENEMY_COUNT = $B6 ; enemy countdown to attack
HERO_LIMIT = $B7 ; hero limit break count
MENU_STATE = $B8 ; battle menu state
MENU_NONE = 0
MENU_MAIN = 1
MENU_MAGIC = 2
MENU_SUMMON = 3
MENU_LIMIT = 4
MENU_POSITION = $B9
LAST_KEY = $BA
COLOR1 = $E0
COLOR2 = $E1