Nintendo Badge Arcade/PrizeCollection: Difference between revisions
DaniElectra (talk | contribs) m →Crane (crb): Add image layout details |
DaniElectra (talk | contribs) m →Crane Instance (cib): Expand information |
||
Line 118: | Line 118: | ||
| 0x24 | | 0x24 | ||
| 0x4 | | 0x4 | ||
| Start address of | | Start address of crane instance properties | ||
|- | |- | ||
| 0x28 | | 0x28 | ||
| 0x4 | | 0x4 | ||
| End address of | | End address of crane instance properties | ||
|- | |- | ||
| 0x2C | | 0x2C | ||
Line 141: | Line 141: | ||
|- | |- | ||
| 0xC0 | | 0xC0 | ||
| | | 0x8 | ||
| Unknown | | Unknown | ||
|- | |||
| 0xC8 | |||
| 0xC | |||
| [[#Crane color|Crane color]] | |||
|- | |- | ||
| 0xD4 | | 0xD4 | ||
Line 166: | Line 170: | ||
| 0xEC | | 0xEC | ||
| 0x4 | | 0x4 | ||
| Number of on- | | Number of on-machine prizes | ||
|- | |- | ||
| 0xF0 | | 0xF0 | ||
| 0x4 | | 0x4 | ||
| Number of | | Number of on-collection prizes | ||
|- | |- | ||
| 0xF4 | | 0xF4 | ||
| 0x4 | | 0x4 | ||
| Number of on- | | Number of on-machine attachments | ||
|- | |- | ||
| 0xF8 | | 0xF8 | ||
| 0x4 | | 0x4 | ||
| Number of on- | | Number of on-machine fixed objects | ||
|- | |- | ||
| 0xFC | | 0xFC | ||
Line 194: | Line 198: | ||
| 0x1C40 | | 0x1C40 | ||
| 0x2440 | | 0x2440 | ||
| [[# | | [[#Crane Instance Properties|Crane instance properties]] | ||
|} | |||
=== Crane color === | |||
This section defines the color of a crane. The color is set with three float32 values with a range from 0 to 1 corresponding to RGB values. | |||
{| class="wikitable" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0xC8 | |||
| 0x4 | |||
| Crane red color | |||
|- | |||
| 0xCC | |||
| 0x4 | |||
| Crane green color | |||
|- | |||
| 0xD0 | |||
| 0x4 | |||
| Crane blue color | |||
|} | |} | ||
Line 257: | Line 283: | ||
|} | |} | ||
=== | === Crane Instance Properties === | ||
This section has the properties of all the components (prizes, attachments and fixed objects) and | This section has the properties of all the components (prizes, attachments and fixed objects) and defines how many of them are used within a set. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 268: | Line 294: | ||
| 0x1C40 | | 0x1C40 | ||
| 0x60 | | 0x60 | ||
| On- | | On-machine prize property | ||
|- | |- | ||
| | | | ||
| 0x60 | | 0x60 | ||
| Optional on- | | Optional on-machine prize properties | ||
|- | |- | ||
| 0x23C0 | | 0x23C0 | ||
| 0x60 | | 0x60 | ||
| | | On-collection prize property | ||
|- | |- | ||
| | | | ||
| 0x60 | | 0x60 | ||
| Optional | | Optional on-collection prize properties | ||
|- | |- | ||
| 0x2F00 | | 0x2F00 | ||
| 0x60 | | 0x60 | ||
| On- | | On-machine attachment property | ||
|- | |- | ||
| | | | ||
| 0x60 | | 0x60 | ||
| Optional on- | | Optional on-machine attachment properties | ||
|- | |- | ||
| 0x3680 | | 0x3680 | ||
| 0x60 | | 0x60 | ||
| On- | | On-machine fixed object property | ||
|- | |- | ||
| | | | ||
| 0x60 | | 0x60 | ||
| Optional on- | | Optional on-machine fixed object properties | ||
|- | |- | ||
| 0x3E00 | | 0x3E00 | ||
Line 307: | Line 333: | ||
|} | |} | ||
==== | ==== Component properties ==== | ||
All | All component-related properties set the visible components on the crane instance or the collection. Each component can be set more than once with different properties. | ||
In case of prizes, this allows the player to get a prize more than once. | In case of prizes, this allows the player to get a prize more than once or repeat it inside the collection. | ||
Except for the index, all of the properties are saved as float32 values. | Except for the index, all of the properties are saved as float32 values. |