If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
NBA Jam Tournament Edition (SNES)/ROM map/Studmuffin code: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Hawk moved page NBA Jam Tournament Edition/ROM map/Studmuffin code to NBA Jam Tournament Edition (SNES)/ROM map/Studmuffin code) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
= | {{subpage|game=NBA Jam Tournament Edition:ROM map}} | ||
{{Note|This simple code checks if '''Left + L + R''' is pressed any time during the very first two information screens. It sets a bit at '''$1E28''' if pressed.}} | |||
This simple code checks if '''Left + L + R''' is pressed any time during the very first two information screens. It sets a bit at '''$1E28''' if pressed. | |||
==Studmuffin input check routine== | ==Studmuffin input check routine== | ||
Line 7: | Line 6: | ||
<pre> | <pre> | ||
$89/9428 A5 08 LDA $08 [$00:0008] A:0009 | $89/9428 A5 08 LDA $08 [$00:0008] A:0009 | ||
$89/942A C9 30 02 CMP #$0230 A:0000 | $89/942A C9 30 02 CMP #$0230 A:0000 (Left = #$0200, L = #$0020, R = #$0010) | ||
$89/942D D0 06 BNE $06 [$9435] A:0000 | $89/942D D0 06 BNE $06 [$9435] A:0000 | ||
Line 14: | Line 13: | ||
$89/9435 end | $89/9435 end | ||
</pre> | </pre> | ||
Latest revision as of 20:35, 28 January 2024
This is a sub-page of NBA Jam Tournament Edition (SNES)/ROM map.
Note: This simple code checks if Left + L + R is pressed any time during the very first two information screens. It sets a bit at $1E28 if pressed. |
Studmuffin input check routine
$89/9428 A5 08 LDA $08 [$00:0008] A:0009 $89/942A C9 30 02 CMP #$0230 A:0000 (Left = #$0200, L = #$0020, R = #$0010) $89/942D D0 06 BNE $06 [$9435] A:0000 $89/942F A9 01 00 LDA #$0001 A:0230 $89/9432 8D 28 1E STA $1E28 [$00:1E28] A:0001 $89/9435 end