Here is the deconstructed Goomba Geo Layout. This probably will be useful for creating new (modified) enemies. Maybe in the future it could be expanded to an "enemies" Geo Layout thread.
All offsets are absolute:
200FB4: 1600 0001 0096 0064 <-- Sets shadow
200FBC: 0400 0000
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 <-- "Triggers" 0x0D scaling?? (**)
200FF4: 0400 0000
200FF8: 1504 0000 0801 B690 <-- Body (not animated). 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 (***)
201024: 1301 0030 0000 0000 0801 B5F0 <-- Blinking Head (***)
201030: 0500 0000
201034: 1301 FFC4 FFF0 002D 0000 0000 <-- Foot 1 position (x,y,z)
201040: 0400 0000
201044: 1301 0000 0000 0000 0801 CE20 <-- Foot 1 (****)
201050: 0500 0000
201054: 1301 FFC4 FFF0 FFD3 0000 0000 <-- Foot 2 position (x,y,z)
201060: 0400 0000
201064: 1301 0000 0000 0000 0801 CF78 <-- Foot 2
201070: 0500 0000
201074: 0500 0000
201078: 0500 0000
20107C: 0500 0000
201080: 0500 0000
201084: 0100 0000
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.
(**) I have to check this again, but without the 0x14 the 0x1D scaling doesn't work. At least that was my experience with custom non-animated models. This has to be tested again.
(***) 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]
Here is a simple modification:
|