-
Notifications
You must be signed in to change notification settings - Fork 3
/
garnish_blind_laser_trail.asm
44 lines (28 loc) · 1 KB
/
garnish_blind_laser_trail.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
; ==============================================================================
; $4B58D-$4B590 DATA
pool Garnish_BlindLaserTrail:
{
.chr
db $61, $71, $70, $60
}
; ==============================================================================
; $4B591-$4B5B8
Garnish_BlindLaserTrail:
{
JSR Garnish_PrepOamCoord
LDA $00 : STA ($90), Y
LDA $02 : INY : STA ($90), Y
PHY
; Get the chr index.
LDA $7FF9FE, X : TAY
; I guess that this assumes that the chr *index*
; is at least 0x07?
LDA .chr-7, Y : PLY : INY : STA ($90), Y
PHY
LDA $7FF92C, X : TAY
; Copy palette and other oam properties from the parent sprite object.
LDA $0F50, Y : ORA $0B89, Y
PLY
BRA Garnish_SetOamPropsAndSmallSize
}
; ==============================================================================