| messiaen Catgirl Level: 68 Posts: 723/1085 EXP: 2594040 For next: 134760 Since: 11-20-07 Since last post: 8.1 years Last activity: 7.2 years |
|
||
| Here's some documentation about weather effects which hopefully can be added into the next Toad's Tool version (at least on imported levels). I posted something similar into the "Checksum area" thread many months ago, but when looking at the beta flower stuff I figured out the missing parts to make it work in any level. First, you need to load this segment into memory: 17 0C 00 0B 00 DA 27 85 00 DA 95 1D This is where all texture/display list data for the weather effects is located. Note that segment 0x0B is only used for this purpose: this is the only ROM "bank" which uses this segment number. In the future, one could modify the textures, save it as a new bank and use it as "additional" effects by loading the alternate file instead of the original one. Now, you need to find the function 0x802761D0 called from the level terrain Geo Layout through command 0x18: 18 00 00 [xx] 80 27 61 D0 The fourth byte is the argument passed to this function. Here are the valid values: 00 = no effect 01 = Snow. Used in Cool Cool Mountain (area 1) and Snowman's Land (area 1) 02 = used in Jolly Roger Bay (area 2) and Secret Aquarium 03 = Blizzard (unused?) 04-0A = ?? 0B = Beta Flowers in the ground (unused) 0C = Lava effect. Used in Lethal Lava Land (area 1), Bowser's Fire Sea and Bowser Second Battle 0D = used in Dire Dire Docks (area 1) 0E = used in Jolly Roger Bay and Dire Dire Docks (area 2). Well, the most interesting find surely is the beta flower, showed in the beta stuff thread. There's also a blizzard setting (argument 0x03) which isn't used in any level, though it may be triggered by something else, so I can't say for sure it's unused. The lava will work only on terrains which use Collision Type 1 (Lava). I'm not sure what do arguments 02, 0D and 0E, but they are probably related to water. |





















