Add todo for boss disappearring from blind maiden bug
This commit is contained in:
@@ -603,8 +603,6 @@ Sprite_Twinrova_Draw:
|
||||
|
||||
RTS
|
||||
|
||||
|
||||
; =========================================================
|
||||
.start_index
|
||||
db $00, $04, $08, $0C, $10, $14, $18, $1C, $22, $26, $2A, $2E
|
||||
.nbr_of_tiles
|
||||
@@ -681,25 +679,19 @@ Sprite_Twinrova_Draw:
|
||||
ApplyTwinrovaGraphics:
|
||||
{
|
||||
PHX
|
||||
|
||||
REP #$20 ; A = 16, XY = 8
|
||||
LDX #$80 : STX $2100 ; turn the screen off (required)
|
||||
|
||||
REP #$20 ; A = 16, XY = 8
|
||||
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
|
||||
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
|
||||
; "001 => 2 registers write once (2 bytes: p, p+1)"
|
||||
LDA.w #TwinrovaGraphics : STA $4302 ; Source address where you want gfx from ROM
|
||||
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 #$0F : STX $2100 ;turn the screen back on
|
||||
|
||||
LDX #$0F : STX $2100 ; Turn the screen back on
|
||||
SEP #$30
|
||||
|
||||
PLX
|
||||
|
||||
RTL
|
||||
|
||||
TwinrovaGraphics:
|
||||
@@ -804,13 +796,16 @@ Follower_CheckBlindTrigger:
|
||||
}
|
||||
|
||||
; =========================================================
|
||||
; Called during the BlindMaiden section of Follower_BasicMover
|
||||
; to spawn Twinrova in the room.
|
||||
; Called during Blind Maiden section of Follower_BasicMover
|
||||
; 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
|
||||
Blind_SpawnFromMaiden:
|
||||
{
|
||||
; Load the Twinrova graphics
|
||||
JSL ApplyTwinrovaGraphics
|
||||
|
||||
LDX.b #$00 ; Load the boss into sprite index 0
|
||||
|
||||
Reference in New Issue
Block a user