13
13
14
14
macro RegularItemPLM(addr , gfx)
15
15
org $ 840000 + <addr>
16
- dw load_item_gfx , <gfx> ; load item graphics
16
+ dw load_item_gfx , <gfx> ; load item graphics
17
17
dw $ 887C , <addr> + $ 21 ; go to end if item is collected
18
18
dw $ 8A24 , <addr> + $ 18 ; set link instruction
19
19
dw $ 86C1 , $ DF89 ; pre-instruction = go to link instruction if triggered
@@ -24,7 +24,7 @@ endmacro
24
24
25
25
macro ChozoBallItemPLM(addr , gfx)
26
26
org $ 840000 + <addr>
27
- dw load_item_gfx , <gfx> ; load item graphics
27
+ dw load_item_gfx , <gfx> ; load item graphics
28
28
dw $ 887C , <addr> + $ 2C ; go to end if item is collected
29
29
dw $ 8A2E , $ DFAF ; call $DFAF (item orb)
30
30
dw $ 8A2E , $ DFC7 ; call $DFC7 (item orb burst)
@@ -39,7 +39,7 @@ endmacro
39
39
40
40
macro ShotBlockItemPLM(addr , gfx)
41
41
org $ 840000 + <addr>
42
- dw load_item_gfx , <gfx> ; load item graphics
42
+ dw load_item_gfx , <gfx> ; load item graphics
43
43
dw $ 8A2E , $ E007 ; call $E007 (item shot block)
44
44
dw $ 887C , <addr> + $ 30 ; go to end if item is collected
45
45
dw $ 8A24 , <addr> + $ 27 ; set link instruction
@@ -51,6 +51,8 @@ org $840000+<addr>
51
51
dw $ 873F , <addr> + $ 17 ; decrement timer and loop if non-zero
52
52
dw $ 8A2E , $ E020 ; call $E020 (item shot block reconcealing)
53
53
dw $ 8724 , <addr> + $ 04 ; go to start (without loading graphics again)
54
+ org $ 840000 + <addr> + $ 34
55
+ dw $ 8724 , <addr> + $ 04 ; go to start (without loading graphics again)
54
56
endmacro
55
57
56
58
; Patch item PLM instruction lists:
0 commit comments