Skip to content

Commit fcd6ab5

Browse files
committed
Make bonk indicators work on PAL
1 parent 05e904e commit fcd6ab5

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

src/misc.asm

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,11 @@ org $90D000 ; hijack, runs when a shinespark is activated
167167
JMP misc_shinespark_activation
168168

169169

170+
if !FEATURE_PAL
171+
org $91DC97
172+
else
170173
org $91DD32
174+
endif
171175
misc_check_bonk:
172176
{
173177
LDA !SAMUS_POTENTIAL_POSE_VALUES : BMI .return
@@ -180,9 +184,13 @@ misc_check_bonk:
180184
LDA !IH_LETTER_B : STA $7EC628
181185
BRA .return
182186
}
183-
warnpc $91DD5B
187+
%warnpc($91DD5B, $91DCC0)
184188

189+
if !FEATURE_PAL
190+
org $91EAB8
191+
else
185192
org $91EB53
193+
endif
186194
JMP misc_check_bonk
187195
hijack_bonk_return:
188196

0 commit comments

Comments
 (0)