Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Championship Bowling (NES)/ROM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
m (Xkeeper moved page Championship Bowling (NES):ROM map to Championship Bowling (NES)/ROM map: normalize subpages and titles)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{rammap|game=Championship Bowling (NES)}}
{{rommap}}


=Page 00 ($8000-$BFFF)=
=Page 00 ($8000-$BFFF)=
Line 5: Line 5:
Checks for collisions between the ball & pins; sets carry flag if true.
Checks for collisions between the ball & pins; sets carry flag if true.
===Parameters===
===Parameters===
*<b>X</b> - Pin number (<b>0x00</b> = Pin 1, and so on)
*'''X''' - Pin number ('''0x00''' = Pin 1, and so on)


==Function 00:89DE==
==Function 00:89DE==
Checks for object collision; sets carry flag if true.
Checks for object collision; sets carry flag if true.
===Parameters===
===Parameters===
*<b>$80</b>/<b>$82</b> - x-positions of objects
*'''$80'''/'''$82''' - x-positions of objects
*<b>$81</b>/<b>$83</b> - y-positions of objects
*'''$81'''/'''$83''' - y-positions of objects
*<b>$84</b> - x-difference threshold ([hitbox width-1]/2)
*'''$84''' - x-difference threshold ([hitbox width-1]/2)
*<b>$85</b> - y-difference threshold ([hitbox height-1]/2)
*'''$85''' - y-difference threshold ([hitbox height-1]/2)


=Page 01 ($C000-$FFFF)=
=Page 01 ($C000-$FFFF)=
{{Internal Data}}

Latest revision as of 20:48, 8 February 2024

Chip tiny.png The following article is a ROM map for Championship Bowling (NES).

Page 00 ($8000-$BFFF)

Function 00:88FF

Checks for collisions between the ball & pins; sets carry flag if true.

Parameters

  • X - Pin number (0x00 = Pin 1, and so on)

Function 00:89DE

Checks for object collision; sets carry flag if true.

Parameters

  • $80/$82 - x-positions of objects
  • $81/$83 - y-positions of objects
  • $84 - x-difference threshold ([hitbox width-1]/2)
  • $85 - y-difference threshold ([hitbox height-1]/2)

Page 01 ($C000-$FFFF)