Navigation

Goomba Geo Layout Deconstruction


ROM   : command

200FB4:   1600 0001 0096 0064 <-- Sets shadow
200FBC:     0400 0000 <-- node
200FC0:     1D00 0000 0000 4000 <-- Scale Polygons
200FC8:       0400 0000
200FCC:       1301 0000 0000 0000 0801 D760 <-- Not polygons, but RSP settings (*)
200FD8:         0400 0000
200FDC:         1301 0000 0000 0000 0000 0000
200FE8:           0400 0000
200FEC:           1400 0000 0000 0000 <-- Sets Billboarding
200FF4:             0400 0000
200FF8:             1504 0000 0801 B690 <-- Body polygon data (billboards). Uses texture #382.
201000:           0500 0000
201004:         0500 0000
201008:           0400 0000
20100C:           0E00 0002 8029 DB48 <-- Calls Blinking Function (common to many objects)
201014:             0400 0000
201018:             1301 0030 0000 0000 0801 B5C8 <-- Head polygon data (**)
201024:             1301 0030 0000 0000 0801 B5F0 <-- Blinking Head polygon data (**)
201030:           0500 0000
201034:           1301 FFC4 FFF0 002D 0000 0000 <-- Foot 1 position displacement (x,y,z)
201040:             0400 0000
201044:             1301 0000 0000 0000 0801 CE20 <-- Foot 1 polygon data (**)
201050:           0500 0000
201054:           1301 FFC4 FFF0 FFD3 0000 0000 <-- Foot 2 position displacement (x,y,z)
201060:             0400 0000
201064:             1301 0000 0000 0000 0801 CF78 <-- Foot 2 polygon data
201070:           0500 0000
201074:         0500 0000
201078:       0500 0000
20107C:     0500 0000
201080:   0500 0000
201084:   0100 0000
[/code]

The Bank 0x08 pointed by this object starts at 0xA8181C.

(*) BC00 0002 8000 0040 <-- "MOVEWORD" RSP command. According to Mupen's RSP plug-in, the fourth byte argument = NUMLIGHT, so it probably affects lightning properties.

(**) The second byte is the distance between the body and the head. Normally in a 0x13 command it would be the X position, however the animation of this node makes the object rotated. Each head uses a different texture, and they are alterned in order to get the blinking effect.

(***) Foot 1 color offsets = 0xA9ACEC/0x194D0 and 0xA9ACF4/0x194D8 [absolute/relative to bank]
Comments