Add todo for boss disappearring from blind maiden bug
This commit is contained in:
@@ -603,8 +603,6 @@ Sprite_Twinrova_Draw:
|
|||||||
|
|
||||||
RTS
|
RTS
|
||||||
|
|
||||||
|
|
||||||
; =========================================================
|
|
||||||
.start_index
|
.start_index
|
||||||
db $00, $04, $08, $0C, $10, $14, $18, $1C, $22, $26, $2A, $2E
|
db $00, $04, $08, $0C, $10, $14, $18, $1C, $22, $26, $2A, $2E
|
||||||
.nbr_of_tiles
|
.nbr_of_tiles
|
||||||
@@ -681,25 +679,19 @@ Sprite_Twinrova_Draw:
|
|||||||
ApplyTwinrovaGraphics:
|
ApplyTwinrovaGraphics:
|
||||||
{
|
{
|
||||||
PHX
|
PHX
|
||||||
|
REP #$20 ; A = 16, XY = 8
|
||||||
REP #$20 ; A = 16, XY = 8
|
LDX #$80 : STX $2100 ; turn the screen off (required)
|
||||||
LDX #$80 : STX $2100 ; turn the screen off (required)
|
|
||||||
|
|
||||||
LDX #$80 : STX $2115 ; Set the video port register every time we write it increase by 1
|
LDX #$80 : STX $2115 ; Set the video port register every time we write it increase by 1
|
||||||
LDA #$5000 : STA $2116 ; Destination of the DMA $5800 in vram <- this need to be divided by 2
|
LDA #$5000 : STA $2116 ; Destination of the DMA $5800 in vram <- this need to be divided by 2
|
||||||
LDA #$1801 : STA $4300 ; DMA Transfer Mode and destination register
|
LDA #$1801 : STA $4300 ; DMA Transfer Mode and destination register
|
||||||
; "001 => 2 registers write once (2 bytes: p, p+1)"
|
; "001 => 2 registers write once (2 bytes: p, p+1)"
|
||||||
LDA.w #TwinrovaGraphics : STA $4302 ; Source address where you want gfx from ROM
|
LDA.w #TwinrovaGraphics : STA $4302 ; Source address where you want gfx from ROM
|
||||||
LDX.b #TwinrovaGraphics>>16 : STX $4304
|
LDX.b #TwinrovaGraphics>>16 : STX $4304
|
||||||
LDA #$2000 : STA $4305 ; size of the transfer 4 sheets of $800 each
|
LDA #$2000 : STA $4305 ; Size of the transfer 4 sheets of $800 each
|
||||||
LDX #$01 : STX $420B ; Do the DMA
|
LDX #$01 : STX $420B ; Do the DMA
|
||||||
|
LDX #$0F : STX $2100 ; Turn the screen back on
|
||||||
LDX #$0F : STX $2100 ;turn the screen back on
|
|
||||||
|
|
||||||
SEP #$30
|
SEP #$30
|
||||||
|
|
||||||
PLX
|
PLX
|
||||||
|
|
||||||
RTL
|
RTL
|
||||||
|
|
||||||
TwinrovaGraphics:
|
TwinrovaGraphics:
|
||||||
@@ -804,13 +796,16 @@ Follower_CheckBlindTrigger:
|
|||||||
}
|
}
|
||||||
|
|
||||||
; =========================================================
|
; =========================================================
|
||||||
; Called during the BlindMaiden section of Follower_BasicMover
|
; Called during Blind Maiden section of Follower_BasicMover
|
||||||
; to spawn Twinrova in the room.
|
; to spawn Twinrova from the Blind Maiden.
|
||||||
|
|
||||||
|
; TODO: Figure out why the sprite disappears after graphics
|
||||||
|
; are transferred in. It seems to be unrelated to the
|
||||||
|
; graphics code, but rather related to the BlindMaiden
|
||||||
|
; spawn code.
|
||||||
org $1DA03C
|
org $1DA03C
|
||||||
Blind_SpawnFromMaiden:
|
Blind_SpawnFromMaiden:
|
||||||
{
|
{
|
||||||
; Load the Twinrova graphics
|
|
||||||
JSL ApplyTwinrovaGraphics
|
JSL ApplyTwinrovaGraphics
|
||||||
|
|
||||||
LDX.b #$00 ; Load the boss into sprite index 0
|
LDX.b #$00 ; Load the boss into sprite index 0
|
||||||
|
|||||||
Reference in New Issue
Block a user