Trolls
This commit is contained in:
@@ -126,6 +126,53 @@ CheckBeeBoss:
|
||||
RTL
|
||||
; return non-zero A if entity is a boss (and bee should not attack)
|
||||
;--------------------------------------------------------------------------------
|
||||
StunGanon:
|
||||
JSL RNG_Ganon
|
||||
BIT.b #$30
|
||||
BEQ .non_magic
|
||||
.magic
|
||||
AND.b #$0E
|
||||
LSR
|
||||
BRA .chosen
|
||||
.non_magic
|
||||
AND.b #$0C
|
||||
LSR #2
|
||||
ORA.b #$08
|
||||
.chosen
|
||||
PHX
|
||||
TAX
|
||||
LDA.l Ganon_RandomizeItem, X
|
||||
STA.l GanonVulnerabilityItem
|
||||
PLX
|
||||
JSL DialogItem
|
||||
LDA.b #$D7
|
||||
STA.w $0E20, X
|
||||
RTL
|
||||
;--------------------------------------------------------------------------------
|
||||
DialogItem:
|
||||
PHX : PHY
|
||||
LDA.l GanonVulnerabilityItem
|
||||
ASL
|
||||
TAX
|
||||
LDA.l Ganon_TextBox+1, X
|
||||
TAY
|
||||
LDA.l Ganon_TextBox, X
|
||||
JSL Sprite_ShowMessageUnconditional
|
||||
PLY : PLX
|
||||
RTL
|
||||
;--------------------------------------------------------------------------------
|
||||
Ganon_RandomizeItem:
|
||||
db #$05, #$06, #$07, #$08
|
||||
db #$09, #$0A, #$11, #$12
|
||||
db #$01, #$02, #$03, #$0C
|
||||
;--------------------------------------------------------------------------------
|
||||
Ganon_TextBox:
|
||||
dw #$0000 ; default behavior--assume silvers
|
||||
dw #$0199, #$019A, #$019B, #$019C, #$019D
|
||||
dw #$019E, #$019F, #$01A0, #$01A1, #$01A2
|
||||
dw #$0000, #$01A3, #$0000, #$0000, #$0000
|
||||
dw #$01A4, #$01A5, #$01A6, #$0000, #$0000
|
||||
;--------------------------------------------------------------------------------
|
||||
Ganon_CheckByAncilla:
|
||||
db #$00 ; default behavior--we shouldn't be checking the table here anyway
|
||||
db #$00, #$05, #$1F, #$07, #$00
|
||||
|
||||
Reference in New Issue
Block a user