468
edits
(Page Created) |
mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 19: | Line 19: | ||
|coins= | |coins= | ||
}} | }} | ||
The Tox Box is an enemy in [[Shifting Sand Land]]. The enemy moves in a set pattern and will crush Mario is he is caught below it. | The '''Tox Box''' is an enemy in [[Shifting Sand Land]]. The enemy moves in a set pattern and will crush Mario is he is caught below it. | ||
==Behavior== | ==Behavior== | ||
===Movement Function=== | ===Movement Function=== | ||
The Tox Box movement function takes 4 parameters; 2 floats (a0 and a1) and 2 shorts (a2 and a3). The Y-position of Tox Box is given as: | The Tox Box movement function takes 4 parameters; 2 floats (a0 and a1) and 2 shorts (a2 and a3). The Y-position of Tox Box is given as: | ||
Line 43: | Line 42: | ||
==References== | ==References== | ||
[https://github.com/n64decomp/sm64/blob/06ec56df7f951f88da05f468cdcacecba496145a/src/game/behaviors/tox_box.inc.c | * [https://github.com/n64decomp/sm64/blob/06ec56df7f951f88da05f468cdcacecba496145a/src/game/behaviors/tox_box.inc.c Tox Box behavior file] | ||
[[Category:Enemies]] | [[Category:Enemies]] | ||
{{objects}} | |||
[[Category:Objects with Version Differences]] |