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.
Pokémon Pinball/ROM map: Difference between revisions
Jump to navigation
Jump to search
Mantidactyle (talk | contribs) (Created page with "{{rommap|game=Pokémon Pinball}} ==Ball== * <tt>0x154AD-0x154B2</tt> - Ball IDs (upgrade) * <tt>0x154B3-0x154B8</tt> - Ball IDs (downgrade...") |
Mantidactyle (talk | contribs) (→Ball) |
||
Line 11: | Line 11: | ||
add hl,bc | add hl,bc | ||
ld a,(hl) // Loads the new Ball ID from ROM <tt>0x154B3</tt> + old Ball ID | ld a,(hl) // Loads the new Ball ID from ROM <tt>0x154B3</tt> + old Ball ID | ||
ld (D47E),a // Updates the Ball ID in RAM | ld (D47E),a // Updates the Ball ID in RAM <tt>1:0xD47E</tt> |
Revision as of 12:58, 4 July 2014
The following article is a ROM map for Pokémon Pinball.
Ball
- 0x154AD-0x154B2 - Ball IDs (upgrade)
- 0x154B3-0x154B8 - Ball IDs (downgrade)
- 0x15530-0x1554E - Subroutine that downgrades the current Ball
ld a,(D47E) // Loads the old Ball ID in register a ld c,a ld b,00 ld hl,54B3 add hl,bc ld a,(hl) // Loads the new Ball ID from ROM 0x154B3 + old Ball ID ld (D47E),a // Updates the Ball ID in RAM 1:0xD47E