Made certain objects use their dynamically assigned model IDs

This commit is contained in:
MysterD 2022-02-26 02:14:30 -08:00
parent bb343f9ba2
commit d3b4e1c794
22 changed files with 757 additions and 738 deletions

View file

@ -2184,360 +2184,363 @@
| E_MODEL_BURN_SMOKE | 16 | | E_MODEL_BURN_SMOKE | 16 |
| E_MODEL_LEAVES | 17 | | E_MODEL_LEAVES | 17 |
| E_MODEL_PURPLE_MARBLE | 18 | | E_MODEL_PURPLE_MARBLE | 18 |
| E_MODEL_FISH | 19 | | E_MODEL_TRAMPOLINE | 19 |
| E_MODEL_FISH_SHADOW | 20 | | E_MODEL_TRAMPOLINE_CENTER | 20 |
| E_MODEL_SPARKLES_ANIMATION | 21 | | E_MODEL_TRAMPOLINE_BASE | 21 |
| E_MODEL_SAND_DUST | 22 | | E_MODEL_FISH | 22 |
| E_MODEL_BUTTERFLY | 23 | | E_MODEL_FISH_SHADOW | 23 |
| E_MODEL_BURN_SMOKE_UNUSED | 24 | | E_MODEL_SPARKLES_ANIMATION | 24 |
| E_MODEL_PEBBLE | 25 | | E_MODEL_SAND_DUST | 25 |
| E_MODEL_MIST | 26 | | E_MODEL_BUTTERFLY | 26 |
| E_MODEL_WHITE_PUFF | 27 | | E_MODEL_BURN_SMOKE_UNUSED | 27 |
| E_MODEL_WHITE_PARTICLE_DL | 28 | | E_MODEL_PEBBLE | 28 |
| E_MODEL_WHITE_PARTICLE | 29 | | E_MODEL_MIST | 29 |
| E_MODEL_YELLOW_COIN_NO_SHADOW | 30 | | E_MODEL_WHITE_PUFF | 30 |
| E_MODEL_BLUE_COIN | 31 | | E_MODEL_WHITE_PARTICLE_DL | 31 |
| E_MODEL_BLUE_COIN_NO_SHADOW | 32 | | E_MODEL_WHITE_PARTICLE | 32 |
| E_MODEL_MARIOS_WINGED_METAL_CAP | 33 | | E_MODEL_YELLOW_COIN_NO_SHADOW | 33 |
| E_MODEL_MARIOS_METAL_CAP | 34 | | E_MODEL_BLUE_COIN | 34 |
| E_MODEL_MARIOS_WING_CAP | 35 | | E_MODEL_BLUE_COIN_NO_SHADOW | 35 |
| E_MODEL_MARIOS_CAP | 36 | | E_MODEL_MARIOS_WINGED_METAL_CAP | 36 |
| E_MODEL_BOWSER_KEY_CUTSCENE | 37 | | E_MODEL_MARIOS_METAL_CAP | 37 |
| E_MODEL_BOWSER_KEY | 38 | | E_MODEL_MARIOS_WING_CAP | 38 |
| E_MODEL_RED_FLAME_SHADOW | 39 | | E_MODEL_MARIOS_CAP | 39 |
| E_MODEL_1UP | 40 | | E_MODEL_BOWSER_KEY_CUTSCENE | 40 |
| E_MODEL_RED_COIN | 41 | | E_MODEL_BOWSER_KEY | 41 |
| E_MODEL_RED_COIN_NO_SHADOW | 42 | | E_MODEL_RED_FLAME_SHADOW | 42 |
| E_MODEL_NUMBER | 43 | | E_MODEL_1UP | 43 |
| E_MODEL_EXPLOSION | 44 | | E_MODEL_RED_COIN | 44 |
| E_MODEL_DIRT_ANIMATION | 45 | | E_MODEL_RED_COIN_NO_SHADOW | 45 |
| E_MODEL_CARTOON_STAR | 46 | | E_MODEL_NUMBER | 46 |
| E_MODEL_BLUE_COIN_SWITCH | 47 | | E_MODEL_EXPLOSION | 47 |
| E_MODEL_AMP | 48 | | E_MODEL_DIRT_ANIMATION | 48 |
| E_MODEL_PURPLE_SWITCH | 49 | | E_MODEL_CARTOON_STAR | 49 |
| E_MODEL_CHECKERBOARD_PLATFORM | 50 | | E_MODEL_BLUE_COIN_SWITCH | 50 |
| E_MODEL_BREAKABLE_BOX | 51 | | E_MODEL_AMP | 51 |
| E_MODEL_BREAKABLE_BOX_SMALL | 52 | | E_MODEL_PURPLE_SWITCH | 52 |
| E_MODEL_EXCLAMATION_BOX_OUTLINE | 53 | | E_MODEL_CHECKERBOARD_PLATFORM | 53 |
| E_MODEL_EXCLAMATION_BOX | 54 | | E_MODEL_BREAKABLE_BOX | 54 |
| E_MODEL_GOOMBA | 55 | | E_MODEL_BREAKABLE_BOX_SMALL | 55 |
| E_MODEL_EXCLAMATION_POINT | 56 | | E_MODEL_EXCLAMATION_BOX_OUTLINE | 56 |
| E_MODEL_KOOPA_SHELL | 57 | | E_MODEL_EXCLAMATION_BOX | 57 |
| E_MODEL_METAL_BOX | 58 | | E_MODEL_GOOMBA | 58 |
| E_MODEL_METAL_BOX_DL | 59 | | E_MODEL_EXCLAMATION_POINT | 59 |
| E_MODEL_BLACK_BOBOMB | 60 | | E_MODEL_KOOPA_SHELL | 60 |
| E_MODEL_BOBOMB_BUDDY | 61 | | E_MODEL_METAL_BOX | 61 |
| E_MODEL_DL_CANNON_LID | 62 | | E_MODEL_METAL_BOX_DL | 62 |
| E_MODEL_BOWLING_BALL | 63 | | E_MODEL_BLACK_BOBOMB | 63 |
| E_MODEL_CANNON_BARREL | 64 | | E_MODEL_BOBOMB_BUDDY | 64 |
| E_MODEL_CANNON_BASE | 65 | | E_MODEL_DL_CANNON_LID | 65 |
| E_MODEL_HEART | 66 | | E_MODEL_BOWLING_BALL | 66 |
| E_MODEL_FLYGUY | 67 | | E_MODEL_CANNON_BARREL | 67 |
| E_MODEL_CHUCKYA | 68 | | E_MODEL_CANNON_BASE | 68 |
| E_MODEL_TRAJECTORY_MARKER_BALL | 69 | | E_MODEL_HEART | 69 |
| E_MODEL_BULLET_BILL | 70 | | E_MODEL_FLYGUY | 70 |
| E_MODEL_YELLOW_SPHERE | 71 | | E_MODEL_CHUCKYA | 71 |
| E_MODEL_HOOT | 72 | | E_MODEL_TRAJECTORY_MARKER_BALL | 72 |
| E_MODEL_YOSHI_EGG | 73 | | E_MODEL_BULLET_BILL | 73 |
| E_MODEL_THWOMP | 74 | | E_MODEL_YELLOW_SPHERE | 74 |
| E_MODEL_HEAVE_HO | 75 | | E_MODEL_HOOT | 75 |
| E_MODEL_BLARGG | 76 | | E_MODEL_YOSHI_EGG | 76 |
| E_MODEL_BULLY | 77 | | E_MODEL_THWOMP | 77 |
| E_MODEL_BULLY_BOSS | 78 | | E_MODEL_HEAVE_HO | 78 |
| E_MODEL_WATER_BOMB | 79 | | E_MODEL_BLARGG | 79 |
| E_MODEL_WATER_BOMB_SHADOW | 80 | | E_MODEL_BULLY | 80 |
| E_MODEL_KING_BOBOMB | 81 | | E_MODEL_BULLY_BOSS | 81 |
| E_MODEL_MANTA_RAY | 82 | | E_MODEL_WATER_BOMB | 82 |
| E_MODEL_UNAGI | 83 | | E_MODEL_WATER_BOMB_SHADOW | 83 |
| E_MODEL_SUSHI | 84 | | E_MODEL_KING_BOBOMB | 84 |
| E_MODEL_DL_WHIRLPOOL | 85 | | E_MODEL_MANTA_RAY | 85 |
| E_MODEL_CLAM_SHELL | 86 | | E_MODEL_UNAGI | 86 |
| E_MODEL_POKEY_HEAD | 87 | | E_MODEL_SUSHI | 87 |
| E_MODEL_POKEY_BODY_PART | 88 | | E_MODEL_DL_WHIRLPOOL | 88 |
| E_MODEL_TWEESTER | 89 | | E_MODEL_CLAM_SHELL | 89 |
| E_MODEL_KLEPTO | 90 | | E_MODEL_POKEY_HEAD | 90 |
| E_MODEL_EYEROK_LEFT_HAND | 91 | | E_MODEL_POKEY_BODY_PART | 91 |
| E_MODEL_EYEROK_RIGHT_HAND | 92 | | E_MODEL_TWEESTER | 92 |
| E_MODEL_DL_MONTY_MOLE_HOLE | 93 | | E_MODEL_KLEPTO | 93 |
| E_MODEL_MONTY_MOLE | 94 | | E_MODEL_EYEROK_LEFT_HAND | 94 |
| E_MODEL_UKIKI | 95 | | E_MODEL_EYEROK_RIGHT_HAND | 95 |
| E_MODEL_FWOOSH | 96 | | E_MODEL_DL_MONTY_MOLE_HOLE | 96 |
| E_MODEL_SPINDRIFT | 97 | | E_MODEL_MONTY_MOLE | 97 |
| E_MODEL_MR_BLIZZARD_HIDDEN | 98 | | E_MODEL_UKIKI | 98 |
| E_MODEL_MR_BLIZZARD | 99 | | E_MODEL_FWOOSH | 99 |
| E_MODEL_PENGUIN | 100 | | E_MODEL_SPINDRIFT | 100 |
| E_MODEL_CAP_SWITCH_EXCLAMATION | 101 | | E_MODEL_MR_BLIZZARD_HIDDEN | 101 |
| E_MODEL_CAP_SWITCH | 102 | | E_MODEL_MR_BLIZZARD | 102 |
| E_MODEL_CAP_SWITCH_BASE | 103 | | E_MODEL_PENGUIN | 103 |
| E_MODEL_BOO | 104 | | E_MODEL_CAP_SWITCH_EXCLAMATION | 104 |
| E_MODEL_BETA_BOO_KEY | 105 | | E_MODEL_CAP_SWITCH | 105 |
| E_MODEL_HAUNTED_CHAIR | 106 | | E_MODEL_CAP_SWITCH_BASE | 106 |
| E_MODEL_MAD_PIANO | 107 | | E_MODEL_BOO | 107 |
| E_MODEL_BOOKEND_PART | 108 | | E_MODEL_BETA_BOO_KEY | 108 |
| E_MODEL_BOOKEND | 109 | | E_MODEL_HAUNTED_CHAIR | 109 |
| E_MODEL_HAUNTED_CAGE | 110 | | E_MODEL_MAD_PIANO | 110 |
| E_MODEL_BIRDS | 111 | | E_MODEL_BOOKEND_PART | 111 |
| E_MODEL_PEACH | 112 | | E_MODEL_BOOKEND | 112 |
| E_MODEL_YOSHI | 113 | | E_MODEL_HAUNTED_CAGE | 113 |
| E_MODEL_ENEMY_LAKITU | 114 | | E_MODEL_BIRDS | 114 |
| E_MODEL_SPINY_BALL | 115 | | E_MODEL_PEACH | 115 |
| E_MODEL_SPINY | 116 | | E_MODEL_YOSHI | 116 |
| E_MODEL_WIGGLER_HEAD | 117 | | E_MODEL_ENEMY_LAKITU | 117 |
| E_MODEL_WIGGLER_BODY | 118 | | E_MODEL_SPINY_BALL | 118 |
| E_MODEL_BUBBA | 119 | | E_MODEL_SPINY | 119 |
| E_MODEL_BOWSER | 120 | | E_MODEL_WIGGLER_HEAD | 120 |
| E_MODEL_BOWSER_BOMB_CHILD_OBJ | 121 | | E_MODEL_WIGGLER_BODY | 121 |
| E_MODEL_BOWSER_BOMB | 122 | | E_MODEL_BUBBA | 122 |
| E_MODEL_BOWSER_SMOKE | 123 | | E_MODEL_BOWSER | 123 |
| E_MODEL_BOWSER_FLAMES | 124 | | E_MODEL_BOWSER_BOMB_CHILD_OBJ | 124 |
| E_MODEL_BOWSER_WAVE | 125 | | E_MODEL_BOWSER_BOMB | 125 |
| E_MODEL_BOWSER2 | 126 | | E_MODEL_BOWSER_SMOKE | 126 |
| E_MODEL_BUB | 127 | | E_MODEL_BOWSER_FLAMES | 127 |
| E_MODEL_TREASURE_CHEST_BASE | 128 | | E_MODEL_BOWSER_WAVE | 128 |
| E_MODEL_TREASURE_CHEST_LID | 129 | | E_MODEL_BOWSER2 | 129 |
| E_MODEL_CYAN_FISH | 130 | | E_MODEL_BUB | 130 |
| E_MODEL_WATER_RING | 131 | | E_MODEL_TREASURE_CHEST_BASE | 131 |
| E_MODEL_WATER_MINE | 132 | | E_MODEL_TREASURE_CHEST_LID | 132 |
| E_MODEL_SEAWEED | 133 | | E_MODEL_CYAN_FISH | 133 |
| E_MODEL_SKEETER | 134 | | E_MODEL_WATER_RING | 134 |
| E_MODEL_PIRANHA_PLANT | 135 | | E_MODEL_WATER_MINE | 135 |
| E_MODEL_WHOMP | 136 | | E_MODEL_SEAWEED | 136 |
| E_MODEL_KOOPA_WITH_SHELL | 137 | | E_MODEL_SKEETER | 137 |
| E_MODEL_KOOPA_WITHOUT_SHELL | 138 | | E_MODEL_PIRANHA_PLANT | 138 |
| E_MODEL_METALLIC_BALL | 139 | | E_MODEL_WHOMP | 139 |
| E_MODEL_CHAIN_CHOMP | 140 | | E_MODEL_KOOPA_WITH_SHELL | 140 |
| E_MODEL_KOOPA_FLAG | 141 | | E_MODEL_KOOPA_WITHOUT_SHELL | 141 |
| E_MODEL_WOODEN_POST | 142 | | E_MODEL_METALLIC_BALL | 142 |
| E_MODEL_MIPS | 143 | | E_MODEL_CHAIN_CHOMP | 143 |
| E_MODEL_BOO_CASTLE | 144 | | E_MODEL_KOOPA_FLAG | 144 |
| E_MODEL_LAKITU | 145 | | E_MODEL_WOODEN_POST | 145 |
| E_MODEL_TOAD | 146 | | E_MODEL_MIPS | 146 |
| E_MODEL_CHILL_BULLY | 147 | | E_MODEL_BOO_CASTLE | 147 |
| E_MODEL_BIG_CHILL_BULLY | 148 | | E_MODEL_LAKITU | 148 |
| E_MODEL_MONEYBAG | 149 | | E_MODEL_TOAD | 149 |
| E_MODEL_SWOOP | 150 | | E_MODEL_CHILL_BULLY | 150 |
| E_MODEL_SCUTTLEBUG | 151 | | E_MODEL_BIG_CHILL_BULLY | 151 |
| E_MODEL_MR_I_IRIS | 152 | | E_MODEL_MONEYBAG | 152 |
| E_MODEL_MR_I | 153 | | E_MODEL_SWOOP | 153 |
| E_MODEL_DORRIE | 154 | | E_MODEL_SCUTTLEBUG | 154 |
| E_MODEL_SNUFIT | 155 | | E_MODEL_MR_I_IRIS | 155 |
| E_MODEL_BUBBLY_TREE | 156 | | E_MODEL_MR_I | 156 |
| E_MODEL_COURTYARD_SPIKY_TREE | 157 | | E_MODEL_DORRIE | 157 |
| E_MODEL_SNOW_TREE | 158 | | E_MODEL_SNUFIT | 158 |
| E_MODEL_PALM_TREE | 159 | | E_MODEL_BUBBLY_TREE | 159 |
| E_MODEL_CASTLE_CASTLE_DOOR | 160 | | E_MODEL_COURTYARD_SPIKY_TREE | 160 |
| E_MODEL_BBH_HAUNTED_DOOR | 161 | | E_MODEL_SNOW_TREE | 161 |
| E_MODEL_HMC_WOODEN_DOOR | 162 | | E_MODEL_PALM_TREE | 162 |
| E_MODEL_HMC_METAL_DOOR | 163 | | E_MODEL_CASTLE_CASTLE_DOOR | 163 |
| E_MODEL_HMC_HAZY_MAZE_DOOR | 164 | | E_MODEL_BBH_HAUNTED_DOOR | 164 |
| E_MODEL_CASTLE_DOOR_0_STARS | 165 | | E_MODEL_HMC_WOODEN_DOOR | 165 |
| E_MODEL_CASTLE_DOOR_1_STAR | 166 | | E_MODEL_HMC_METAL_DOOR | 166 |
| E_MODEL_CASTLE_DOOR_3_STARS | 167 | | E_MODEL_HMC_HAZY_MAZE_DOOR | 167 |
| E_MODEL_CASTLE_KEY_DOOR | 168 | | E_MODEL_CASTLE_DOOR_0_STARS | 168 |
| E_MODEL_CCM_CABIN_DOOR | 169 | | E_MODEL_CASTLE_DOOR_1_STAR | 169 |
| E_MODEL_CASTLE_METAL_DOOR | 170 | | E_MODEL_CASTLE_DOOR_3_STARS | 170 |
| E_MODEL_CASTLE_GROUNDS_METAL_DOOR | 171 | | E_MODEL_CASTLE_KEY_DOOR | 171 |
| E_MODEL_WF_TOWER_TRAPEZOID_PLATORM | 172 | | E_MODEL_CCM_CABIN_DOOR | 172 |
| E_MODEL_WF_TOWER_SQUARE_PLATORM | 173 | | E_MODEL_CASTLE_METAL_DOOR | 173 |
| E_MODEL_WF_TOWER_SQUARE_PLATORM_UNUSED | 174 | | E_MODEL_CASTLE_GROUNDS_METAL_DOOR | 174 |
| E_MODEL_WF_TOWER_SQUARE_PLATORM_ELEVATOR | 175 | | E_MODEL_WF_TOWER_TRAPEZOID_PLATORM | 175 |
| E_MODEL_BBH_STAIRCASE_STEP | 176 | | E_MODEL_WF_TOWER_SQUARE_PLATORM | 176 |
| E_MODEL_BBH_TILTING_FLOOR_PLATFORM | 177 | | E_MODEL_WF_TOWER_SQUARE_PLATORM_UNUSED | 177 |
| E_MODEL_BBH_TUMBLING_PLATFORM | 178 | | E_MODEL_WF_TOWER_SQUARE_PLATORM_ELEVATOR | 178 |
| E_MODEL_BBH_TUMBLING_PLATFORM_PART | 179 | | E_MODEL_BBH_STAIRCASE_STEP | 179 |
| E_MODEL_BBH_MOVING_BOOKSHELF | 180 | | E_MODEL_BBH_TILTING_FLOOR_PLATFORM | 180 |
| E_MODEL_BBH_MESH_ELEVATOR | 181 | | E_MODEL_BBH_TUMBLING_PLATFORM | 181 |
| E_MODEL_BBH_MERRY_GO_ROUND | 182 | | E_MODEL_BBH_TUMBLING_PLATFORM_PART | 182 |
| E_MODEL_BBH_WOODEN_TOMB | 183 | | E_MODEL_BBH_MOVING_BOOKSHELF | 183 |
| E_MODEL_CCM_ROPEWAY_LIFT | 184 | | E_MODEL_BBH_MESH_ELEVATOR | 184 |
| E_MODEL_CCM_SNOWMAN_HEAD | 185 | | E_MODEL_BBH_MERRY_GO_ROUND | 185 |
| E_MODEL_CASTLE_BOWSER_TRAP | 186 | | E_MODEL_BBH_WOODEN_TOMB | 186 |
| E_MODEL_CASTLE_WATER_LEVEL_PILLAR | 187 | | E_MODEL_CCM_ROPEWAY_LIFT | 187 |
| E_MODEL_CASTLE_CLOCK_MINUTE_HAND | 188 | | E_MODEL_CCM_SNOWMAN_HEAD | 188 |
| E_MODEL_CASTLE_CLOCK_HOUR_HAND | 189 | | E_MODEL_CASTLE_BOWSER_TRAP | 189 |
| E_MODEL_CASTLE_CLOCK_PENDULUM | 190 | | E_MODEL_CASTLE_WATER_LEVEL_PILLAR | 190 |
| E_MODEL_HMC_METAL_PLATFORM | 191 | | E_MODEL_CASTLE_CLOCK_MINUTE_HAND | 191 |
| E_MODEL_HMC_METAL_ARROW_PLATFORM | 192 | | E_MODEL_CASTLE_CLOCK_HOUR_HAND | 192 |
| E_MODEL_HMC_ELEVATOR_PLATFORM | 193 | | E_MODEL_CASTLE_CLOCK_PENDULUM | 193 |
| E_MODEL_HMC_ROLLING_ROCK | 194 | | E_MODEL_HMC_METAL_PLATFORM | 194 |
| E_MODEL_HMC_ROCK_PIECE | 195 | | E_MODEL_HMC_METAL_ARROW_PLATFORM | 195 |
| E_MODEL_HMC_ROCK_SMALL_PIECE | 196 | | E_MODEL_HMC_ELEVATOR_PLATFORM | 196 |
| E_MODEL_HMC_RED_GRILLS | 197 | | E_MODEL_HMC_ROLLING_ROCK | 197 |
| E_MODEL_SSL_PYRAMID_TOP | 198 | | E_MODEL_HMC_ROCK_PIECE | 198 |
| E_MODEL_SSL_GRINDEL | 199 | | E_MODEL_HMC_ROCK_SMALL_PIECE | 199 |
| E_MODEL_SSL_SPINDEL | 200 | | E_MODEL_HMC_RED_GRILLS | 200 |
| E_MODEL_SSL_MOVING_PYRAMID_WALL | 201 | | E_MODEL_SSL_PYRAMID_TOP | 201 |
| E_MODEL_SSL_PYRAMID_ELEVATOR | 202 | | E_MODEL_SSL_GRINDEL | 202 |
| E_MODEL_BOB_CHAIN_CHOMP_GATE | 203 | | E_MODEL_SSL_SPINDEL | 203 |
| E_MODEL_BOB_SEESAW_PLATFORM | 204 | | E_MODEL_SSL_MOVING_PYRAMID_WALL | 204 |
| E_MODEL_BOB_BARS_GRILLS | 205 | | E_MODEL_SSL_PYRAMID_ELEVATOR | 205 |
| E_MODEL_SL_SNOW_TRIANGLE | 206 | | E_MODEL_BOB_CHAIN_CHOMP_GATE | 206 |
| E_MODEL_SL_CRACKED_ICE | 207 | | E_MODEL_BOB_SEESAW_PLATFORM | 207 |
| E_MODEL_SL_CRACKED_ICE_CHUNK | 208 | | E_MODEL_BOB_BARS_GRILLS | 208 |
| E_MODEL_WDW_SQUARE_FLOATING_PLATFORM | 209 | | E_MODEL_SL_SNOW_TRIANGLE | 209 |
| E_MODEL_WDW_ARROW_LIFT | 210 | | E_MODEL_SL_CRACKED_ICE | 210 |
| E_MODEL_WDW_WATER_LEVEL_DIAMOND | 211 | | E_MODEL_SL_CRACKED_ICE_CHUNK | 211 |
| E_MODEL_WDW_HIDDEN_PLATFORM | 212 | | E_MODEL_WDW_SQUARE_FLOATING_PLATFORM | 212 |
| E_MODEL_WDW_EXPRESS_ELEVATOR | 213 | | E_MODEL_WDW_ARROW_LIFT | 213 |
| E_MODEL_WDW_RECTANGULAR_FLOATING_PLATFORM | 214 | | E_MODEL_WDW_WATER_LEVEL_DIAMOND | 214 |
| E_MODEL_WDW_ROTATING_PLATFORM | 215 | | E_MODEL_WDW_HIDDEN_PLATFORM | 215 |
| E_MODEL_JRB_SHIP_LEFT_HALF_PART | 216 | | E_MODEL_WDW_EXPRESS_ELEVATOR | 216 |
| E_MODEL_JRB_SHIP_BACK_LEFT_PART | 217 | | E_MODEL_WDW_RECTANGULAR_FLOATING_PLATFORM | 217 |
| E_MODEL_JRB_SHIP_RIGHT_HALF_PART | 218 | | E_MODEL_WDW_ROTATING_PLATFORM | 218 |
| E_MODEL_JRB_SHIP_BACK_RIGHT_PART | 219 | | E_MODEL_JRB_SHIP_LEFT_HALF_PART | 219 |
| E_MODEL_JRB_SUNKEN_SHIP | 220 | | E_MODEL_JRB_SHIP_BACK_LEFT_PART | 220 |
| E_MODEL_JRB_SUNKEN_SHIP_BACK | 221 | | E_MODEL_JRB_SHIP_RIGHT_HALF_PART | 221 |
| E_MODEL_JRB_ROCK | 222 | | E_MODEL_JRB_SHIP_BACK_RIGHT_PART | 222 |
| E_MODEL_JRB_SLIDING_BOX | 223 | | E_MODEL_JRB_SUNKEN_SHIP | 223 |
| E_MODEL_JRB_FALLING_PILLAR | 224 | | E_MODEL_JRB_SUNKEN_SHIP_BACK | 224 |
| E_MODEL_JRB_FALLING_PILLAR_BASE | 225 | | E_MODEL_JRB_ROCK | 225 |
| E_MODEL_JRB_FLOATING_PLATFORM | 226 | | E_MODEL_JRB_SLIDING_BOX | 226 |
| E_MODEL_THI_HUGE_ISLAND_TOP | 227 | | E_MODEL_JRB_FALLING_PILLAR | 227 |
| E_MODEL_THI_TINY_ISLAND_TOP | 228 | | E_MODEL_JRB_FALLING_PILLAR_BASE | 228 |
| E_MODEL_TTC_ROTATING_CUBE | 229 | | E_MODEL_JRB_FLOATING_PLATFORM | 229 |
| E_MODEL_TTC_ROTATING_PRISM | 230 | | E_MODEL_THI_HUGE_ISLAND_TOP | 230 |
| E_MODEL_TTC_PENDULUM | 231 | | E_MODEL_THI_TINY_ISLAND_TOP | 231 |
| E_MODEL_TTC_LARGE_TREADMILL | 232 | | E_MODEL_TTC_ROTATING_CUBE | 232 |
| E_MODEL_TTC_SMALL_TREADMILL | 233 | | E_MODEL_TTC_ROTATING_PRISM | 233 |
| E_MODEL_TTC_PUSH_BLOCK | 234 | | E_MODEL_TTC_PENDULUM | 234 |
| E_MODEL_TTC_ROTATING_HEXAGON | 235 | | E_MODEL_TTC_LARGE_TREADMILL | 235 |
| E_MODEL_TTC_ROTATING_TRIANGLE | 236 | | E_MODEL_TTC_SMALL_TREADMILL | 236 |
| E_MODEL_TTC_PIT_BLOCK | 237 | | E_MODEL_TTC_PUSH_BLOCK | 237 |
| E_MODEL_TTC_PIT_BLOCK_UNUSED | 238 | | E_MODEL_TTC_ROTATING_HEXAGON | 238 |
| E_MODEL_TTC_ELEVATOR_PLATFORM | 239 | | E_MODEL_TTC_ROTATING_TRIANGLE | 239 |
| E_MODEL_TTC_CLOCK_HAND | 240 | | E_MODEL_TTC_PIT_BLOCK | 240 |
| E_MODEL_TTC_SPINNER | 241 | | E_MODEL_TTC_PIT_BLOCK_UNUSED | 241 |
| E_MODEL_TTC_SMALL_GEAR | 242 | | E_MODEL_TTC_ELEVATOR_PLATFORM | 242 |
| E_MODEL_TTC_LARGE_GEAR | 243 | | E_MODEL_TTC_CLOCK_HAND | 243 |
| E_MODEL_RR_SLIDING_PLATFORM | 244 | | E_MODEL_TTC_SPINNER | 244 |
| E_MODEL_RR_FLYING_CARPET | 245 | | E_MODEL_TTC_SMALL_GEAR | 245 |
| E_MODEL_RR_OCTAGONAL_PLATFORM | 246 | | E_MODEL_TTC_LARGE_GEAR | 246 |
| E_MODEL_RR_ROTATING_BRIDGE_PLATFORM | 247 | | E_MODEL_RR_SLIDING_PLATFORM | 247 |
| E_MODEL_RR_TRIANGLE_PLATFORM | 248 | | E_MODEL_RR_FLYING_CARPET | 248 |
| E_MODEL_RR_CRUISER_WING | 249 | | E_MODEL_RR_OCTAGONAL_PLATFORM | 249 |
| E_MODEL_RR_SEESAW_PLATFORM | 250 | | E_MODEL_RR_ROTATING_BRIDGE_PLATFORM | 250 |
| E_MODEL_RR_L_SHAPED_PLATFORM | 251 | | E_MODEL_RR_TRIANGLE_PLATFORM | 251 |
| E_MODEL_RR_SWINGING_PLATFORM | 252 | | E_MODEL_RR_CRUISER_WING | 252 |
| E_MODEL_RR_DONUT_PLATFORM | 253 | | E_MODEL_RR_SEESAW_PLATFORM | 253 |
| E_MODEL_RR_ELEVATOR_PLATFORM | 254 | | E_MODEL_RR_L_SHAPED_PLATFORM | 254 |
| E_MODEL_RR_TRICKY_TRIANGLES | 255 | | E_MODEL_RR_SWINGING_PLATFORM | 255 |
| E_MODEL_RR_TRICKY_TRIANGLES_FRAME1 | 256 | | E_MODEL_RR_DONUT_PLATFORM | 256 |
| E_MODEL_RR_TRICKY_TRIANGLES_FRAME2 | 257 | | E_MODEL_RR_ELEVATOR_PLATFORM | 257 |
| E_MODEL_RR_TRICKY_TRIANGLES_FRAME3 | 258 | | E_MODEL_RR_TRICKY_TRIANGLES | 258 |
| E_MODEL_RR_TRICKY_TRIANGLES_FRAME4 | 259 | | E_MODEL_RR_TRICKY_TRIANGLES_FRAME1 | 259 |
| E_MODEL_BITDW_SQUARE_PLATFORM | 260 | | E_MODEL_RR_TRICKY_TRIANGLES_FRAME2 | 260 |
| E_MODEL_BITDW_SEESAW_PLATFORM | 261 | | E_MODEL_RR_TRICKY_TRIANGLES_FRAME3 | 261 |
| E_MODEL_BITDW_SLIDING_PLATFORM | 262 | | E_MODEL_RR_TRICKY_TRIANGLES_FRAME4 | 262 |
| E_MODEL_BITDW_FERRIS_WHEEL_AXLE | 263 | | E_MODEL_BITDW_SQUARE_PLATFORM | 263 |
| E_MODEL_BITDW_BLUE_PLATFORM | 264 | | E_MODEL_BITDW_SEESAW_PLATFORM | 264 |
| E_MODEL_BITDW_STAIRCASE_FRAME4 | 265 | | E_MODEL_BITDW_SLIDING_PLATFORM | 265 |
| E_MODEL_BITDW_STAIRCASE_FRAME3 | 266 | | E_MODEL_BITDW_FERRIS_WHEEL_AXLE | 266 |
| E_MODEL_BITDW_STAIRCASE_FRAME2 | 267 | | E_MODEL_BITDW_BLUE_PLATFORM | 267 |
| E_MODEL_BITDW_STAIRCASE_FRAME1 | 268 | | E_MODEL_BITDW_STAIRCASE_FRAME4 | 268 |
| E_MODEL_BITDW_STAIRCASE | 269 | | E_MODEL_BITDW_STAIRCASE_FRAME3 | 269 |
| E_MODEL_BITFS_PLATFORM_ON_TRACK | 270 | | E_MODEL_BITDW_STAIRCASE_FRAME2 | 270 |
| E_MODEL_BITFS_TILTING_SQUARE_PLATFORM | 271 | | E_MODEL_BITDW_STAIRCASE_FRAME1 | 271 |
| E_MODEL_BITFS_SINKING_PLATFORMS | 272 | | E_MODEL_BITDW_STAIRCASE | 272 |
| E_MODEL_BITFS_BLUE_POLE | 273 | | E_MODEL_BITFS_PLATFORM_ON_TRACK | 273 |
| E_MODEL_BITFS_SINKING_CAGE_PLATFORM | 274 | | E_MODEL_BITFS_TILTING_SQUARE_PLATFORM | 274 |
| E_MODEL_BITFS_ELEVATOR | 275 | | E_MODEL_BITFS_SINKING_PLATFORMS | 275 |
| E_MODEL_BITFS_STRETCHING_PLATFORMS | 276 | | E_MODEL_BITFS_BLUE_POLE | 276 |
| E_MODEL_BITFS_SEESAW_PLATFORM | 277 | | E_MODEL_BITFS_SINKING_CAGE_PLATFORM | 277 |
| E_MODEL_BITFS_MOVING_SQUARE_PLATFORM | 278 | | E_MODEL_BITFS_ELEVATOR | 278 |
| E_MODEL_BITFS_SLIDING_PLATFORM | 279 | | E_MODEL_BITFS_STRETCHING_PLATFORMS | 279 |
| E_MODEL_BITFS_TUMBLING_PLATFORM_PART | 280 | | E_MODEL_BITFS_SEESAW_PLATFORM | 280 |
| E_MODEL_BITFS_TUMBLING_PLATFORM | 281 | | E_MODEL_BITFS_MOVING_SQUARE_PLATFORM | 281 |
| E_MODEL_BITS_SLIDING_PLATFORM | 282 | | E_MODEL_BITFS_SLIDING_PLATFORM | 282 |
| E_MODEL_BITS_TWIN_SLIDING_PLATFORMS | 283 | | E_MODEL_BITFS_TUMBLING_PLATFORM_PART | 283 |
| E_MODEL_BITS_OCTAGONAL_PLATFORM | 284 | | E_MODEL_BITFS_TUMBLING_PLATFORM | 284 |
| E_MODEL_BITS_BLUE_PLATFORM | 285 | | E_MODEL_BITS_SLIDING_PLATFORM | 285 |
| E_MODEL_BITS_FERRIS_WHEEL_AXLE | 286 | | E_MODEL_BITS_TWIN_SLIDING_PLATFORMS | 286 |
| E_MODEL_BITS_ARROW_PLATFORM | 287 | | E_MODEL_BITS_OCTAGONAL_PLATFORM | 287 |
| E_MODEL_BITS_SEESAW_PLATFORM | 288 | | E_MODEL_BITS_BLUE_PLATFORM | 288 |
| E_MODEL_BITS_TILTING_W_PLATFORM | 289 | | E_MODEL_BITS_FERRIS_WHEEL_AXLE | 289 |
| E_MODEL_BITS_STAIRCASE | 290 | | E_MODEL_BITS_ARROW_PLATFORM | 290 |
| E_MODEL_BITS_STAIRCASE_FRAME1 | 291 | | E_MODEL_BITS_SEESAW_PLATFORM | 291 |
| E_MODEL_BITS_STAIRCASE_FRAME2 | 292 | | E_MODEL_BITS_TILTING_W_PLATFORM | 292 |
| E_MODEL_BITS_STAIRCASE_FRAME3 | 293 | | E_MODEL_BITS_STAIRCASE | 293 |
| E_MODEL_BITS_STAIRCASE_FRAME4 | 294 | | E_MODEL_BITS_STAIRCASE_FRAME1 | 294 |
| E_MODEL_BITS_WARP_PIPE | 295 | | E_MODEL_BITS_STAIRCASE_FRAME2 | 295 |
| E_MODEL_LLL_DRAWBRIDGE_PART | 296 | | E_MODEL_BITS_STAIRCASE_FRAME3 | 296 |
| E_MODEL_LLL_ROTATING_BLOCK_FIRE_BARS | 297 | | E_MODEL_BITS_STAIRCASE_FRAME4 | 297 |
| E_MODEL_LLL_ROTATING_HEXAGONAL_RING | 298 | | E_MODEL_BITS_WARP_PIPE | 298 |
| E_MODEL_LLL_SINKING_RECTANGULAR_PLATFORM | 299 | | E_MODEL_LLL_DRAWBRIDGE_PART | 299 |
| E_MODEL_LLL_SINKING_SQUARE_PLATFORMS | 300 | | E_MODEL_LLL_ROTATING_BLOCK_FIRE_BARS | 300 |
| E_MODEL_LLL_TILTING_SQUARE_PLATFORM | 301 | | E_MODEL_LLL_ROTATING_HEXAGONAL_RING | 301 |
| E_MODEL_LLL_BOWSER_PIECE_1 | 302 | | E_MODEL_LLL_SINKING_RECTANGULAR_PLATFORM | 302 |
| E_MODEL_LLL_BOWSER_PIECE_2 | 303 | | E_MODEL_LLL_SINKING_SQUARE_PLATFORMS | 303 |
| E_MODEL_LLL_BOWSER_PIECE_3 | 304 | | E_MODEL_LLL_TILTING_SQUARE_PLATFORM | 304 |
| E_MODEL_LLL_BOWSER_PIECE_4 | 305 | | E_MODEL_LLL_BOWSER_PIECE_1 | 305 |
| E_MODEL_LLL_BOWSER_PIECE_5 | 306 | | E_MODEL_LLL_BOWSER_PIECE_2 | 306 |
| E_MODEL_LLL_BOWSER_PIECE_6 | 307 | | E_MODEL_LLL_BOWSER_PIECE_3 | 307 |
| E_MODEL_LLL_BOWSER_PIECE_7 | 308 | | E_MODEL_LLL_BOWSER_PIECE_4 | 308 |
| E_MODEL_LLL_BOWSER_PIECE_8 | 309 | | E_MODEL_LLL_BOWSER_PIECE_5 | 309 |
| E_MODEL_LLL_BOWSER_PIECE_9 | 310 | | E_MODEL_LLL_BOWSER_PIECE_6 | 310 |
| E_MODEL_LLL_BOWSER_PIECE_10 | 311 | | E_MODEL_LLL_BOWSER_PIECE_7 | 311 |
| E_MODEL_LLL_BOWSER_PIECE_11 | 312 | | E_MODEL_LLL_BOWSER_PIECE_8 | 312 |
| E_MODEL_LLL_BOWSER_PIECE_12 | 313 | | E_MODEL_LLL_BOWSER_PIECE_9 | 313 |
| E_MODEL_LLL_BOWSER_PIECE_13 | 314 | | E_MODEL_LLL_BOWSER_PIECE_10 | 314 |
| E_MODEL_LLL_BOWSER_PIECE_14 | 315 | | E_MODEL_LLL_BOWSER_PIECE_11 | 315 |
| E_MODEL_LLL_MOVING_OCTAGONAL_MESH_PLATFORM | 316 | | E_MODEL_LLL_BOWSER_PIECE_12 | 316 |
| E_MODEL_LLL_SINKING_ROCK_BLOCK | 317 | | E_MODEL_LLL_BOWSER_PIECE_13 | 317 |
| E_MODEL_LLL_ROLLING_LOG | 318 | | E_MODEL_LLL_BOWSER_PIECE_14 | 318 |
| E_MODEL_LLL_WOOD_BRIDGE | 319 | | E_MODEL_LLL_MOVING_OCTAGONAL_MESH_PLATFORM | 319 |
| E_MODEL_LLL_LARGE_WOOD_BRIDGE | 320 | | E_MODEL_LLL_SINKING_ROCK_BLOCK | 320 |
| E_MODEL_LLL_FALLING_PLATFORM | 321 | | E_MODEL_LLL_ROLLING_LOG | 321 |
| E_MODEL_LLL_LARGE_FALLING_PLATFORM | 322 | | E_MODEL_LLL_WOOD_BRIDGE | 322 |
| E_MODEL_LLL_VOLCANO_FALLING_TRAP | 323 | | E_MODEL_LLL_LARGE_WOOD_BRIDGE | 323 |
| E_MODEL_DDD_BOWSER_SUB_DOOR | 324 | | E_MODEL_LLL_FALLING_PLATFORM | 324 |
| E_MODEL_DDD_BOWSER_SUB | 325 | | E_MODEL_LLL_LARGE_FALLING_PLATFORM | 325 |
| E_MODEL_DDD_POLE | 326 | | E_MODEL_LLL_VOLCANO_FALLING_TRAP | 326 |
| E_MODEL_WF_BREAKABLE_WALL_RIGHT | 327 | | E_MODEL_DDD_BOWSER_SUB_DOOR | 327 |
| E_MODEL_WF_BREAKABLE_WALL_LEFT | 328 | | E_MODEL_DDD_BOWSER_SUB | 328 |
| E_MODEL_WF_KICKABLE_BOARD | 329 | | E_MODEL_DDD_POLE | 329 |
| E_MODEL_WF_TOWER_DOOR | 330 | | E_MODEL_WF_BREAKABLE_WALL_RIGHT | 330 |
| E_MODEL_WF_KICKABLE_BOARD_FELLED | 331 | | E_MODEL_WF_BREAKABLE_WALL_LEFT | 331 |
| E_MODEL_CASTLE_GROUNDS_VCUTM_GRILL | 332 | | E_MODEL_WF_KICKABLE_BOARD | 332 |
| E_MODEL_CASTLE_GROUNDS_FLAG | 333 | | E_MODEL_WF_TOWER_DOOR | 333 |
| E_MODEL_CASTLE_GROUNDS_CANNON_GRILL | 334 | | E_MODEL_WF_KICKABLE_BOARD_FELLED | 334 |
| E_MODEL_BOWSER_2_TILTING_ARENA | 335 | | E_MODEL_CASTLE_GROUNDS_VCUTM_GRILL | 335 |
| E_MODEL_BOWSER_3_FALLING_PLATFORM_1 | 336 | | E_MODEL_CASTLE_GROUNDS_FLAG | 336 |
| E_MODEL_BOWSER_3_FALLING_PLATFORM_2 | 337 | | E_MODEL_CASTLE_GROUNDS_CANNON_GRILL | 337 |
| E_MODEL_BOWSER_3_FALLING_PLATFORM_3 | 338 | | E_MODEL_BOWSER_2_TILTING_ARENA | 338 |
| E_MODEL_BOWSER_3_FALLING_PLATFORM_4 | 339 | | E_MODEL_BOWSER_3_FALLING_PLATFORM_1 | 339 |
| E_MODEL_BOWSER_3_FALLING_PLATFORM_5 | 340 | | E_MODEL_BOWSER_3_FALLING_PLATFORM_2 | 340 |
| E_MODEL_BOWSER_3_FALLING_PLATFORM_6 | 341 | | E_MODEL_BOWSER_3_FALLING_PLATFORM_3 | 341 |
| E_MODEL_BOWSER_3_FALLING_PLATFORM_7 | 342 | | E_MODEL_BOWSER_3_FALLING_PLATFORM_4 | 342 |
| E_MODEL_BOWSER_3_FALLING_PLATFORM_8 | 343 | | E_MODEL_BOWSER_3_FALLING_PLATFORM_5 | 343 |
| E_MODEL_BOWSER_3_FALLING_PLATFORM_9 | 344 | | E_MODEL_BOWSER_3_FALLING_PLATFORM_6 | 344 |
| E_MODEL_BOWSER_3_FALLING_PLATFORM_10 | 345 | | E_MODEL_BOWSER_3_FALLING_PLATFORM_7 | 345 |
| E_MODEL_TTM_ROLLING_LOG | 346 | | E_MODEL_BOWSER_3_FALLING_PLATFORM_8 | 346 |
| E_MODEL_TTM_STAR_CAGE | 347 | | E_MODEL_BOWSER_3_FALLING_PLATFORM_9 | 347 |
| E_MODEL_TTM_BLUE_SMILEY | 348 | | E_MODEL_BOWSER_3_FALLING_PLATFORM_10 | 348 |
| E_MODEL_TTM_YELLOW_SMILEY | 349 | | E_MODEL_TTM_ROLLING_LOG | 349 |
| E_MODEL_TTM_STAR_SMILEY | 350 | | E_MODEL_TTM_STAR_CAGE | 350 |
| E_MODEL_TTM_MOON_SMILEY | 351 | | E_MODEL_TTM_BLUE_SMILEY | 351 |
| E_MODEL_BUBBLE_PLAYER | 352 | | E_MODEL_TTM_YELLOW_SMILEY | 352 |
| E_MODEL_LUIGI | 353 | | E_MODEL_TTM_STAR_SMILEY | 353 |
| E_MODEL_LUIGIS_CAP | 354 | | E_MODEL_TTM_MOON_SMILEY | 354 |
| E_MODEL_LUIGIS_METAL_CAP | 355 | | E_MODEL_BUBBLE_PLAYER | 355 |
| E_MODEL_LUIGIS_WING_CAP | 356 | | E_MODEL_LUIGI | 356 |
| E_MODEL_LUIGIS_WINGED_METAL_CAP | 357 | | E_MODEL_LUIGIS_CAP | 357 |
| E_MODEL_TOAD_PLAYER | 358 | | E_MODEL_LUIGIS_METAL_CAP | 358 |
| E_MODEL_TOADS_CAP | 359 | | E_MODEL_LUIGIS_WING_CAP | 359 |
| E_MODEL_TOADS_METAL_CAP | 360 | | E_MODEL_LUIGIS_WINGED_METAL_CAP | 360 |
| E_MODEL_TOADS_WING_CAP | 361 | | E_MODEL_TOAD_PLAYER | 361 |
| E_MODEL_WALUIGI | 362 | | E_MODEL_TOADS_CAP | 362 |
| E_MODEL_WALUIGIS_CAP | 363 | | E_MODEL_TOADS_METAL_CAP | 363 |
| E_MODEL_WALUIGIS_METAL_CAP | 364 | | E_MODEL_TOADS_WING_CAP | 364 |
| E_MODEL_WALUIGIS_WING_CAP | 365 | | E_MODEL_WALUIGI | 365 |
| E_MODEL_WALUIGIS_WINGED_METAL_CAP | 366 | | E_MODEL_WALUIGIS_CAP | 366 |
| E_MODEL_WARIO | 367 | | E_MODEL_WALUIGIS_METAL_CAP | 367 |
| E_MODEL_WARIOS_CAP | 368 | | E_MODEL_WALUIGIS_WING_CAP | 368 |
| E_MODEL_WARIOS_METAL_CAP | 369 | | E_MODEL_WALUIGIS_WINGED_METAL_CAP | 369 |
| E_MODEL_WARIOS_WING_CAP | 370 | | E_MODEL_WARIO | 370 |
| E_MODEL_WARIOS_WINGED_METAL_CAP | 371 | | E_MODEL_WARIOS_CAP | 371 |
| E_MODEL_MAX | 372 | | E_MODEL_WARIOS_METAL_CAP | 372 |
| E_MODEL_WARIOS_WING_CAP | 373 |
| E_MODEL_WARIOS_WINGED_METAL_CAP | 374 |
| E_MODEL_MAX | 375 |
<br /> <br />

View file

@ -46,6 +46,7 @@
#include "thread6.h" #include "thread6.h"
#include "area.h" #include "area.h"
#include "game/rng_position.h" #include "game/rng_position.h"
#include "pc/lua/smlua_model_utils.h"
#define o gCurrentObject #define o gCurrentObject

View file

@ -12,7 +12,7 @@
*/ */
void bhv_beta_chest_bottom_init(void) { void bhv_beta_chest_bottom_init(void) {
// Set the object's model // Set the object's model
cur_obj_set_model(MODEL_TREASURE_CHEST_BASE); cur_obj_set_model(smlua_model_util_load(E_MODEL_TREASURE_CHEST_BASE));
// ??? Pointless code? // ??? Pointless code?
// Maybe chests were originally intended to have random yaws. // Maybe chests were originally intended to have random yaws.

View file

@ -53,7 +53,7 @@ void bhv_beta_trampoline_spring_loop(void) {
* do anything. * do anything.
*/ */
void bhv_beta_trampoline_top_loop(void) { void bhv_beta_trampoline_top_loop(void) {
cur_obj_set_model(MODEL_TRAMPOLINE); cur_obj_set_model(smlua_model_util_load(E_MODEL_TRAMPOLINE));
// When initialized, spawn the rest of the trampoline // When initialized, spawn the rest of the trampoline
if (o->oTimer == 0) { if (o->oTimer == 0) {

View file

@ -989,7 +989,7 @@ s32 bowser_dead_bits_end(void) {
o->oBowserUnkF8++; o->oBowserUnkF8++;
} }
if (should_start_or_continue_dialog(marioState, o) && cur_obj_update_dialog(marioState, 2, 18, dialogID, 0, bowser_dead_bits_end_continue_dialog)) { if (should_start_or_continue_dialog(marioState, o) && cur_obj_update_dialog(marioState, 2, 18, dialogID, 0, bowser_dead_bits_end_continue_dialog)) {
cur_obj_set_model(MODEL_BOWSER2); cur_obj_set_model(smlua_model_util_load(E_MODEL_BOWSER2));
sequence_player_unlower(SEQ_PLAYER_LEVEL, 60); sequence_player_unlower(SEQ_PLAYER_LEVEL, 60);
sequence_player_fade_out(0, 1); sequence_player_fade_out(0, 1);
bowser_spawn_grand_star_key(); bowser_spawn_grand_star_key();

View file

@ -2,7 +2,9 @@
void bhv_breakable_box_loop(void) { void bhv_breakable_box_loop(void) {
obj_set_hitbox(o, &sBreakableBoxHitbox); obj_set_hitbox(o, &sBreakableBoxHitbox);
cur_obj_set_model(MODEL_BREAKABLE_BOX_SMALL);
cur_obj_set_model(smlua_model_util_load(E_MODEL_BREAKABLE_BOX_SMALL));
if (o->oTimer == 0) if (o->oTimer == 0)
breakable_box_init(); breakable_box_init();
if (cur_obj_was_attacked_or_ground_pounded() != 0 || o->oSyncDeath) { if (cur_obj_was_attacked_or_ground_pounded() != 0 || o->oSyncDeath) {

View file

@ -31,7 +31,7 @@ void bhv_yellow_coin_init(void) {
bhv_init_room(); bhv_init_room();
cur_obj_update_floor_height(); cur_obj_update_floor_height();
if (500.0f < absf(o->oPosY - o->oFloorHeight)) if (500.0f < absf(o->oPosY - o->oFloorHeight))
cur_obj_set_model(MODEL_YELLOW_COIN_NO_SHADOW); cur_obj_set_model(smlua_model_util_load(E_MODEL_YELLOW_COIN_NO_SHADOW));
if (o->oFloorHeight < -10000.0f) if (o->oFloorHeight < -10000.0f)
obj_mark_for_deletion(o); obj_mark_for_deletion(o);
} }
@ -124,7 +124,7 @@ void bhv_coin_formation_spawn_loop(void) {
} else { } else {
cur_obj_update_floor_height(); cur_obj_update_floor_height();
if (absf(o->oPosY - o->oFloorHeight) > 250.0f) if (absf(o->oPosY - o->oFloorHeight) > 250.0f)
cur_obj_set_model(MODEL_YELLOW_COIN_NO_SHADOW); cur_obj_set_model(smlua_model_util_load(E_MODEL_YELLOW_COIN_NO_SHADOW));
} }
} else { } else {
if (bhv_coin_sparkles_init()) if (bhv_coin_sparkles_init())
@ -225,7 +225,7 @@ void coin_inside_boo_act_0(void) {
struct Object *parent = o->parentObj; struct Object *parent = o->parentObj;
cur_obj_become_intangible(); cur_obj_become_intangible();
if (o->oTimer == 0 && gCurrLevelNum == LEVEL_BBH) { if (o->oTimer == 0 && gCurrLevelNum == LEVEL_BBH) {
cur_obj_set_model(MODEL_BLUE_COIN); cur_obj_set_model(smlua_model_util_load(E_MODEL_BLUE_COIN));
cur_obj_scale(0.7); cur_obj_scale(0.7);
} }
if (parent == NULL || (parent->behavior != bhvGhostHuntBoo && parent->behavior != bhvBoo)) { if (parent == NULL || (parent->behavior != bhvGhostHuntBoo && parent->behavior != bhvBoo)) {

View file

@ -53,13 +53,14 @@ void exclamation_box_act_0(void) {
void exclamation_box_act_1(void) { void exclamation_box_act_1(void) {
cur_obj_become_intangible(); cur_obj_become_intangible();
if (o->oTimer == 0) { if (o->oTimer == 0) {
spawn_object(o, MODEL_EXCLAMATION_POINT, bhvRotatingExclamationMark); u8 loadedModelId = smlua_model_util_load(E_MODEL_EXCLAMATION_POINT);
cur_obj_set_model(MODEL_EXCLAMATION_BOX_OUTLINE); spawn_object(o, loadedModelId, bhvRotatingExclamationMark);
cur_obj_set_model(loadedModelId);
} }
if ((save_file_get_flags() & D_8032F0C0[o->oBehParams2ndByte]) if ((save_file_get_flags() & D_8032F0C0[o->oBehParams2ndByte])
|| ((o->oBehParams >> 24) & 0xFF) != 0) { || ((o->oBehParams >> 24) & 0xFF) != 0) {
o->oAction = 2; o->oAction = 2;
cur_obj_set_model(MODEL_EXCLAMATION_BOX); cur_obj_set_model(smlua_model_util_load(E_MODEL_EXCLAMATION_BOX));
} }
} }

View file

@ -42,7 +42,7 @@ void flying_bookend_act_0(void) {
o->oAction = 1; o->oAction = 1;
o->oBookendUnkF4 = o->oFaceAnglePitch + 0x7FFF; o->oBookendUnkF4 = o->oFaceAnglePitch + 0x7FFF;
o->oBookendUnkF8 = o->oFaceAngleRoll - 0x7FFF; o->oBookendUnkF8 = o->oFaceAngleRoll - 0x7FFF;
cur_obj_set_model(MODEL_BOOKEND_PART); cur_obj_set_model(smlua_model_util_load(E_MODEL_BOOKEND_PART));
} }
} }

View file

@ -36,7 +36,7 @@ void jumping_box_act_1(void) {
void (*sJumpingBoxActions[])(void) = { jumping_box_act_0, jumping_box_act_1 }; void (*sJumpingBoxActions[])(void) = { jumping_box_act_0, jumping_box_act_1 };
void jumping_box_free_update(void) { void jumping_box_free_update(void) {
cur_obj_set_model(MODEL_BREAKABLE_BOX); cur_obj_set_model(smlua_model_util_load(E_MODEL_BREAKABLE_BOX));
cur_obj_scale(0.5f); cur_obj_scale(0.5f);
obj_set_hitbox(o, &sJumpingBoxHitbox); obj_set_hitbox(o, &sJumpingBoxHitbox);
cur_obj_update_floor_and_walls(); cur_obj_update_floor_and_walls();
@ -56,7 +56,7 @@ void bhv_jumping_box_loop(void) {
break; break;
case HELD_HELD: case HELD_HELD:
obj_copy_pos(o, gMarioStates[o->heldByPlayerIndex].marioObj); obj_copy_pos(o, gMarioStates[o->heldByPlayerIndex].marioObj);
cur_obj_set_model(MODEL_BREAKABLE_BOX_SMALL); cur_obj_set_model(smlua_model_util_load(E_MODEL_BREAKABLE_BOX_SMALL));
cur_obj_unrender_and_reset_state(-1, 0); cur_obj_unrender_and_reset_state(-1, 0);
break; break;
case HELD_THROWN: case HELD_THROWN:

View file

@ -75,7 +75,7 @@ void bhv_kickable_board_loop(void) {
break; break;
case 2: case 2:
cur_obj_become_intangible(); cur_obj_become_intangible();
cur_obj_set_model(MODEL_WF_KICKABLE_BOARD_FELLED); cur_obj_set_model(smlua_model_util_load(E_MODEL_WF_KICKABLE_BOARD_FELLED));
o->oAngleVelPitch -= 0x80; o->oAngleVelPitch -= 0x80;
o->oFaceAnglePitch += o->oAngleVelPitch; o->oFaceAnglePitch += o->oAngleVelPitch;
if (o->oFaceAnglePitch < -0x4000) { if (o->oFaceAnglePitch < -0x4000) {

View file

@ -345,7 +345,7 @@ void shelled_koopa_attack_handler(s32 attackType) {
o->oMoveAngleYaw = angleToPlayer; o->oMoveAngleYaw = angleToPlayer;
} }
cur_obj_set_model(MODEL_KOOPA_WITHOUT_SHELL); cur_obj_set_model(smlua_model_util_load(E_MODEL_KOOPA_WITHOUT_SHELL));
struct MarioState* marioState = nearest_mario_state_to_object(o); struct MarioState* marioState = nearest_mario_state_to_object(o);
if (marioState->playerIndex == 0) { if (marioState->playerIndex == 0) {
@ -373,8 +373,9 @@ void shelled_koopa_attack_handler(s32 attackType) {
* Update function for both regular and tiny shelled koopa. * Update function for both regular and tiny shelled koopa.
*/ */
static void koopa_shelled_update(void) { static void koopa_shelled_update(void) {
if (!cur_obj_has_model(MODEL_KOOPA_WITH_SHELL)) { u8 modelId = smlua_model_util_load(E_MODEL_KOOPA_WITH_SHELL);
cur_obj_set_model(MODEL_KOOPA_WITH_SHELL); if (!cur_obj_has_model(modelId)) {
cur_obj_set_model(modelId);
} }
cur_obj_update_floor_and_walls(); cur_obj_update_floor_and_walls();
@ -506,7 +507,7 @@ static void koopa_unshelled_act_dive(void) {
o->oAction = KOOPA_SHELLED_ACT_LYING; o->oAction = KOOPA_SHELLED_ACT_LYING;
o->oForwardVel *= 0.5f; o->oForwardVel *= 0.5f;
cur_obj_set_model(MODEL_KOOPA_WITH_SHELL); cur_obj_set_model(smlua_model_util_load(E_MODEL_KOOPA_WITH_SHELL));
obj_mark_for_deletion(shell); obj_mark_for_deletion(shell);
goto end; goto end;
} }
@ -541,8 +542,9 @@ static void koopa_unshelled_act_unused3(void) {
* Update function for koopa after losing his shell. * Update function for koopa after losing his shell.
*/ */
static void koopa_unshelled_update(void) { static void koopa_unshelled_update(void) {
if (!cur_obj_has_model(MODEL_KOOPA_WITHOUT_SHELL)) { u8 modelId = smlua_model_util_load(E_MODEL_KOOPA_WITHOUT_SHELL);
cur_obj_set_model(MODEL_KOOPA_WITHOUT_SHELL); if (!cur_obj_has_model(modelId)) {
cur_obj_set_model(modelId);
} }
cur_obj_update_floor_and_walls(); cur_obj_update_floor_and_walls();

View file

@ -29,7 +29,7 @@ void bhv_purple_switch_loop(void) {
* switch's middle section, transition to the pressed state. * switch's middle section, transition to the pressed state.
*/ */
case PURPLE_SWITCH_IDLE: case PURPLE_SWITCH_IDLE:
cur_obj_set_model(MODEL_PURPLE_SWITCH); cur_obj_set_model(smlua_model_util_load(E_MODEL_PURPLE_SWITCH));
cur_obj_scale(1.5f); cur_obj_scale(1.5f);
if (gMarioObject->platform == o && !(gMarioStates[0].action & MARIO_UNKNOWN_13)) { if (gMarioObject->platform == o && !(gMarioStates[0].action & MARIO_UNKNOWN_13)) {
if (lateral_dist_between_objects(o, gMarioObject) < 127.5) { if (lateral_dist_between_objects(o, gMarioObject) < 127.5) {

View file

@ -18,7 +18,7 @@ void bhv_spawned_star_init(void) {
o->oBehParams = o->parentObj->oBehParams; o->oBehParams = o->parentObj->oBehParams;
sp24 = (o->oBehParams >> 24) & 0xFF; sp24 = (o->oBehParams >> 24) & 0xFF;
if (bit_shift_left(sp24) & save_file_get_star_flags(gCurrSaveFileNum - 1, gCurrCourseNum - 1)) if (bit_shift_left(sp24) & save_file_get_star_flags(gCurrSaveFileNum - 1, gCurrCourseNum - 1))
cur_obj_set_model(MODEL_TRANSPARENT_STAR); cur_obj_set_model(smlua_model_util_load(E_MODEL_TRANSPARENT_STAR));
cur_obj_play_sound_2(SOUND_GENERAL2_STAR_APPEARS); cur_obj_play_sound_2(SOUND_GENERAL2_STAR_APPEARS);
// exclamation box stars are not sent through the normal exclamation box // exclamation box stars are not sent through the normal exclamation box

View file

@ -202,7 +202,7 @@ static void spiny_act_thrown_by_lakitu(void) {
if (o->oMoveFlags & OBJ_MOVE_LANDED) { if (o->oMoveFlags & OBJ_MOVE_LANDED) {
cur_obj_play_sound_2(SOUND_OBJ_SPINY_UNK59); cur_obj_play_sound_2(SOUND_OBJ_SPINY_UNK59);
cur_obj_set_model(MODEL_SPINY); cur_obj_set_model(smlua_model_util_load(E_MODEL_SPINY));
obj_init_animation_with_sound(o, spiny_seg5_anims_05016EAC, 0); obj_init_animation_with_sound(o, spiny_seg5_anims_05016EAC, 0);
o->oGraphYOffset = -17.0f; o->oGraphYOffset = -17.0f;

View file

@ -35,7 +35,7 @@ void breakable_box_init(void) {
void hidden_breakable_box_actions(void) { void hidden_breakable_box_actions(void) {
struct Object *sp1C; struct Object *sp1C;
obj_set_hitbox(o, &sBreakableBoxHitbox); obj_set_hitbox(o, &sBreakableBoxHitbox);
cur_obj_set_model(MODEL_BREAKABLE_BOX_SMALL); cur_obj_set_model(smlua_model_util_load(E_MODEL_BREAKABLE_BOX_SMALL));
if (o->oAction == 0) { if (o->oAction == 0) {
cur_obj_disable_rendering(); cur_obj_disable_rendering();
cur_obj_become_intangible(); cur_obj_become_intangible();

View file

@ -21,7 +21,7 @@ void bhv_ukiki_cage_star_loop(void) {
if (o->oTimer == 0) { if (o->oTimer == 0) {
if (bit_shift_left(1) if (bit_shift_left(1)
& save_file_get_star_flags(gCurrSaveFileNum - 1, gCurrCourseNum - 1)) { & save_file_get_star_flags(gCurrSaveFileNum - 1, gCurrCourseNum - 1)) {
cur_obj_set_model(MODEL_TRANSPARENT_STAR); cur_obj_set_model(smlua_model_util_load(E_MODEL_TRANSPARENT_STAR));
} }
} }

View file

@ -47,6 +47,7 @@
#include "engine/surface_load.h" #include "engine/surface_load.h"
#include "pc/network/network.h" #include "pc/network/network.h"
#include "pc/network/reservation_area.h" #include "pc/network/reservation_area.h"
#include "pc/lua/smlua_model_utils.h"
#define POS_OP_SAVE_POSITION 0 #define POS_OP_SAVE_POSITION 0
#define POS_OP_COMPUTE_VELOCITY 1 #define POS_OP_COMPUTE_VELOCITY 1

View file

@ -1337,6 +1337,8 @@ void geo_try_process_children(struct GraphNode *node) {
void geo_process_node_and_siblings(struct GraphNode *firstNode) { void geo_process_node_and_siblings(struct GraphNode *firstNode) {
s16 iterateChildren = TRUE; s16 iterateChildren = TRUE;
struct GraphNode *curGraphNode = firstNode; struct GraphNode *curGraphNode = firstNode;
if (curGraphNode == NULL) { return; }
struct GraphNode *parent = curGraphNode->parent; struct GraphNode *parent = curGraphNode->parent;
// In the case of a switch node, exactly one of the children of the node is // In the case of a switch node, exactly one of the children of the node is
@ -1345,12 +1347,10 @@ void geo_process_node_and_siblings(struct GraphNode *firstNode) {
iterateChildren = (parent->type != GRAPH_NODE_TYPE_SWITCH_CASE); iterateChildren = (parent->type != GRAPH_NODE_TYPE_SWITCH_CASE);
} }
// sanity check
if (firstNode == NULL) {
return;
}
do { do {
if (curGraphNode == NULL) {
break;
}
if (curGraphNode->flags & GRAPH_RENDER_ACTIVE) { if (curGraphNode->flags & GRAPH_RENDER_ACTIVE) {
if (curGraphNode->flags & GRAPH_RENDER_CHILDREN_FIRST) { if (curGraphNode->flags & GRAPH_RENDER_CHILDREN_FIRST) {
geo_try_process_children(curGraphNode); geo_try_process_children(curGraphNode);

View file

@ -2175,360 +2175,363 @@ char gSmluaConstants[] = ""
"E_MODEL_BURN_SMOKE = 16\n" "E_MODEL_BURN_SMOKE = 16\n"
"E_MODEL_LEAVES = 17\n" "E_MODEL_LEAVES = 17\n"
"E_MODEL_PURPLE_MARBLE = 18\n" "E_MODEL_PURPLE_MARBLE = 18\n"
"E_MODEL_FISH = 19\n" "E_MODEL_TRAMPOLINE = 19\n"
"E_MODEL_FISH_SHADOW = 20\n" "E_MODEL_TRAMPOLINE_CENTER = 20\n"
"E_MODEL_SPARKLES_ANIMATION = 21\n" "E_MODEL_TRAMPOLINE_BASE = 21\n"
"E_MODEL_SAND_DUST = 22\n" "E_MODEL_FISH = 22\n"
"E_MODEL_BUTTERFLY = 23\n" "E_MODEL_FISH_SHADOW = 23\n"
"E_MODEL_BURN_SMOKE_UNUSED = 24\n" "E_MODEL_SPARKLES_ANIMATION = 24\n"
"E_MODEL_PEBBLE = 25\n" "E_MODEL_SAND_DUST = 25\n"
"E_MODEL_MIST = 26\n" "E_MODEL_BUTTERFLY = 26\n"
"E_MODEL_WHITE_PUFF = 27\n" "E_MODEL_BURN_SMOKE_UNUSED = 27\n"
"E_MODEL_WHITE_PARTICLE_DL = 28\n" "E_MODEL_PEBBLE = 28\n"
"E_MODEL_WHITE_PARTICLE = 29\n" "E_MODEL_MIST = 29\n"
"E_MODEL_YELLOW_COIN_NO_SHADOW = 30\n" "E_MODEL_WHITE_PUFF = 30\n"
"E_MODEL_BLUE_COIN = 31\n" "E_MODEL_WHITE_PARTICLE_DL = 31\n"
"E_MODEL_BLUE_COIN_NO_SHADOW = 32\n" "E_MODEL_WHITE_PARTICLE = 32\n"
"E_MODEL_MARIOS_WINGED_METAL_CAP = 33\n" "E_MODEL_YELLOW_COIN_NO_SHADOW = 33\n"
"E_MODEL_MARIOS_METAL_CAP = 34\n" "E_MODEL_BLUE_COIN = 34\n"
"E_MODEL_MARIOS_WING_CAP = 35\n" "E_MODEL_BLUE_COIN_NO_SHADOW = 35\n"
"E_MODEL_MARIOS_CAP = 36\n" "E_MODEL_MARIOS_WINGED_METAL_CAP = 36\n"
"E_MODEL_BOWSER_KEY_CUTSCENE = 37\n" "E_MODEL_MARIOS_METAL_CAP = 37\n"
"E_MODEL_BOWSER_KEY = 38\n" "E_MODEL_MARIOS_WING_CAP = 38\n"
"E_MODEL_RED_FLAME_SHADOW = 39\n" "E_MODEL_MARIOS_CAP = 39\n"
"E_MODEL_1UP = 40\n" "E_MODEL_BOWSER_KEY_CUTSCENE = 40\n"
"E_MODEL_RED_COIN = 41\n" "E_MODEL_BOWSER_KEY = 41\n"
"E_MODEL_RED_COIN_NO_SHADOW = 42\n" "E_MODEL_RED_FLAME_SHADOW = 42\n"
"E_MODEL_NUMBER = 43\n" "E_MODEL_1UP = 43\n"
"E_MODEL_EXPLOSION = 44\n" "E_MODEL_RED_COIN = 44\n"
"E_MODEL_DIRT_ANIMATION = 45\n" "E_MODEL_RED_COIN_NO_SHADOW = 45\n"
"E_MODEL_CARTOON_STAR = 46\n" "E_MODEL_NUMBER = 46\n"
"E_MODEL_BLUE_COIN_SWITCH = 47\n" "E_MODEL_EXPLOSION = 47\n"
"E_MODEL_AMP = 48\n" "E_MODEL_DIRT_ANIMATION = 48\n"
"E_MODEL_PURPLE_SWITCH = 49\n" "E_MODEL_CARTOON_STAR = 49\n"
"E_MODEL_CHECKERBOARD_PLATFORM = 50\n" "E_MODEL_BLUE_COIN_SWITCH = 50\n"
"E_MODEL_BREAKABLE_BOX = 51\n" "E_MODEL_AMP = 51\n"
"E_MODEL_BREAKABLE_BOX_SMALL = 52\n" "E_MODEL_PURPLE_SWITCH = 52\n"
"E_MODEL_EXCLAMATION_BOX_OUTLINE = 53\n" "E_MODEL_CHECKERBOARD_PLATFORM = 53\n"
"E_MODEL_EXCLAMATION_BOX = 54\n" "E_MODEL_BREAKABLE_BOX = 54\n"
"E_MODEL_GOOMBA = 55\n" "E_MODEL_BREAKABLE_BOX_SMALL = 55\n"
"E_MODEL_EXCLAMATION_POINT = 56\n" "E_MODEL_EXCLAMATION_BOX_OUTLINE = 56\n"
"E_MODEL_KOOPA_SHELL = 57\n" "E_MODEL_EXCLAMATION_BOX = 57\n"
"E_MODEL_METAL_BOX = 58\n" "E_MODEL_GOOMBA = 58\n"
"E_MODEL_METAL_BOX_DL = 59\n" "E_MODEL_EXCLAMATION_POINT = 59\n"
"E_MODEL_BLACK_BOBOMB = 60\n" "E_MODEL_KOOPA_SHELL = 60\n"
"E_MODEL_BOBOMB_BUDDY = 61\n" "E_MODEL_METAL_BOX = 61\n"
"E_MODEL_DL_CANNON_LID = 62\n" "E_MODEL_METAL_BOX_DL = 62\n"
"E_MODEL_BOWLING_BALL = 63\n" "E_MODEL_BLACK_BOBOMB = 63\n"
"E_MODEL_CANNON_BARREL = 64\n" "E_MODEL_BOBOMB_BUDDY = 64\n"
"E_MODEL_CANNON_BASE = 65\n" "E_MODEL_DL_CANNON_LID = 65\n"
"E_MODEL_HEART = 66\n" "E_MODEL_BOWLING_BALL = 66\n"
"E_MODEL_FLYGUY = 67\n" "E_MODEL_CANNON_BARREL = 67\n"
"E_MODEL_CHUCKYA = 68\n" "E_MODEL_CANNON_BASE = 68\n"
"E_MODEL_TRAJECTORY_MARKER_BALL = 69\n" "E_MODEL_HEART = 69\n"
"E_MODEL_BULLET_BILL = 70\n" "E_MODEL_FLYGUY = 70\n"
"E_MODEL_YELLOW_SPHERE = 71\n" "E_MODEL_CHUCKYA = 71\n"
"E_MODEL_HOOT = 72\n" "E_MODEL_TRAJECTORY_MARKER_BALL = 72\n"
"E_MODEL_YOSHI_EGG = 73\n" "E_MODEL_BULLET_BILL = 73\n"
"E_MODEL_THWOMP = 74\n" "E_MODEL_YELLOW_SPHERE = 74\n"
"E_MODEL_HEAVE_HO = 75\n" "E_MODEL_HOOT = 75\n"
"E_MODEL_BLARGG = 76\n" "E_MODEL_YOSHI_EGG = 76\n"
"E_MODEL_BULLY = 77\n" "E_MODEL_THWOMP = 77\n"
"E_MODEL_BULLY_BOSS = 78\n" "E_MODEL_HEAVE_HO = 78\n"
"E_MODEL_WATER_BOMB = 79\n" "E_MODEL_BLARGG = 79\n"
"E_MODEL_WATER_BOMB_SHADOW = 80\n" "E_MODEL_BULLY = 80\n"
"E_MODEL_KING_BOBOMB = 81\n" "E_MODEL_BULLY_BOSS = 81\n"
"E_MODEL_MANTA_RAY = 82\n" "E_MODEL_WATER_BOMB = 82\n"
"E_MODEL_UNAGI = 83\n" "E_MODEL_WATER_BOMB_SHADOW = 83\n"
"E_MODEL_SUSHI = 84\n" "E_MODEL_KING_BOBOMB = 84\n"
"E_MODEL_DL_WHIRLPOOL = 85\n" "E_MODEL_MANTA_RAY = 85\n"
"E_MODEL_CLAM_SHELL = 86\n" "E_MODEL_UNAGI = 86\n"
"E_MODEL_POKEY_HEAD = 87\n" "E_MODEL_SUSHI = 87\n"
"E_MODEL_POKEY_BODY_PART = 88\n" "E_MODEL_DL_WHIRLPOOL = 88\n"
"E_MODEL_TWEESTER = 89\n" "E_MODEL_CLAM_SHELL = 89\n"
"E_MODEL_KLEPTO = 90\n" "E_MODEL_POKEY_HEAD = 90\n"
"E_MODEL_EYEROK_LEFT_HAND = 91\n" "E_MODEL_POKEY_BODY_PART = 91\n"
"E_MODEL_EYEROK_RIGHT_HAND = 92\n" "E_MODEL_TWEESTER = 92\n"
"E_MODEL_DL_MONTY_MOLE_HOLE = 93\n" "E_MODEL_KLEPTO = 93\n"
"E_MODEL_MONTY_MOLE = 94\n" "E_MODEL_EYEROK_LEFT_HAND = 94\n"
"E_MODEL_UKIKI = 95\n" "E_MODEL_EYEROK_RIGHT_HAND = 95\n"
"E_MODEL_FWOOSH = 96\n" "E_MODEL_DL_MONTY_MOLE_HOLE = 96\n"
"E_MODEL_SPINDRIFT = 97\n" "E_MODEL_MONTY_MOLE = 97\n"
"E_MODEL_MR_BLIZZARD_HIDDEN = 98\n" "E_MODEL_UKIKI = 98\n"
"E_MODEL_MR_BLIZZARD = 99\n" "E_MODEL_FWOOSH = 99\n"
"E_MODEL_PENGUIN = 100\n" "E_MODEL_SPINDRIFT = 100\n"
"E_MODEL_CAP_SWITCH_EXCLAMATION = 101\n" "E_MODEL_MR_BLIZZARD_HIDDEN = 101\n"
"E_MODEL_CAP_SWITCH = 102\n" "E_MODEL_MR_BLIZZARD = 102\n"
"E_MODEL_CAP_SWITCH_BASE = 103\n" "E_MODEL_PENGUIN = 103\n"
"E_MODEL_BOO = 104\n" "E_MODEL_CAP_SWITCH_EXCLAMATION = 104\n"
"E_MODEL_BETA_BOO_KEY = 105\n" "E_MODEL_CAP_SWITCH = 105\n"
"E_MODEL_HAUNTED_CHAIR = 106\n" "E_MODEL_CAP_SWITCH_BASE = 106\n"
"E_MODEL_MAD_PIANO = 107\n" "E_MODEL_BOO = 107\n"
"E_MODEL_BOOKEND_PART = 108\n" "E_MODEL_BETA_BOO_KEY = 108\n"
"E_MODEL_BOOKEND = 109\n" "E_MODEL_HAUNTED_CHAIR = 109\n"
"E_MODEL_HAUNTED_CAGE = 110\n" "E_MODEL_MAD_PIANO = 110\n"
"E_MODEL_BIRDS = 111\n" "E_MODEL_BOOKEND_PART = 111\n"
"E_MODEL_PEACH = 112\n" "E_MODEL_BOOKEND = 112\n"
"E_MODEL_YOSHI = 113\n" "E_MODEL_HAUNTED_CAGE = 113\n"
"E_MODEL_ENEMY_LAKITU = 114\n" "E_MODEL_BIRDS = 114\n"
"E_MODEL_SPINY_BALL = 115\n" "E_MODEL_PEACH = 115\n"
"E_MODEL_SPINY = 116\n" "E_MODEL_YOSHI = 116\n"
"E_MODEL_WIGGLER_HEAD = 117\n" "E_MODEL_ENEMY_LAKITU = 117\n"
"E_MODEL_WIGGLER_BODY = 118\n" "E_MODEL_SPINY_BALL = 118\n"
"E_MODEL_BUBBA = 119\n" "E_MODEL_SPINY = 119\n"
"E_MODEL_BOWSER = 120\n" "E_MODEL_WIGGLER_HEAD = 120\n"
"E_MODEL_BOWSER_BOMB_CHILD_OBJ = 121\n" "E_MODEL_WIGGLER_BODY = 121\n"
"E_MODEL_BOWSER_BOMB = 122\n" "E_MODEL_BUBBA = 122\n"
"E_MODEL_BOWSER_SMOKE = 123\n" "E_MODEL_BOWSER = 123\n"
"E_MODEL_BOWSER_FLAMES = 124\n" "E_MODEL_BOWSER_BOMB_CHILD_OBJ = 124\n"
"E_MODEL_BOWSER_WAVE = 125\n" "E_MODEL_BOWSER_BOMB = 125\n"
"E_MODEL_BOWSER2 = 126\n" "E_MODEL_BOWSER_SMOKE = 126\n"
"E_MODEL_BUB = 127\n" "E_MODEL_BOWSER_FLAMES = 127\n"
"E_MODEL_TREASURE_CHEST_BASE = 128\n" "E_MODEL_BOWSER_WAVE = 128\n"
"E_MODEL_TREASURE_CHEST_LID = 129\n" "E_MODEL_BOWSER2 = 129\n"
"E_MODEL_CYAN_FISH = 130\n" "E_MODEL_BUB = 130\n"
"E_MODEL_WATER_RING = 131\n" "E_MODEL_TREASURE_CHEST_BASE = 131\n"
"E_MODEL_WATER_MINE = 132\n" "E_MODEL_TREASURE_CHEST_LID = 132\n"
"E_MODEL_SEAWEED = 133\n" "E_MODEL_CYAN_FISH = 133\n"
"E_MODEL_SKEETER = 134\n" "E_MODEL_WATER_RING = 134\n"
"E_MODEL_PIRANHA_PLANT = 135\n" "E_MODEL_WATER_MINE = 135\n"
"E_MODEL_WHOMP = 136\n" "E_MODEL_SEAWEED = 136\n"
"E_MODEL_KOOPA_WITH_SHELL = 137\n" "E_MODEL_SKEETER = 137\n"
"E_MODEL_KOOPA_WITHOUT_SHELL = 138\n" "E_MODEL_PIRANHA_PLANT = 138\n"
"E_MODEL_METALLIC_BALL = 139\n" "E_MODEL_WHOMP = 139\n"
"E_MODEL_CHAIN_CHOMP = 140\n" "E_MODEL_KOOPA_WITH_SHELL = 140\n"
"E_MODEL_KOOPA_FLAG = 141\n" "E_MODEL_KOOPA_WITHOUT_SHELL = 141\n"
"E_MODEL_WOODEN_POST = 142\n" "E_MODEL_METALLIC_BALL = 142\n"
"E_MODEL_MIPS = 143\n" "E_MODEL_CHAIN_CHOMP = 143\n"
"E_MODEL_BOO_CASTLE = 144\n" "E_MODEL_KOOPA_FLAG = 144\n"
"E_MODEL_LAKITU = 145\n" "E_MODEL_WOODEN_POST = 145\n"
"E_MODEL_TOAD = 146\n" "E_MODEL_MIPS = 146\n"
"E_MODEL_CHILL_BULLY = 147\n" "E_MODEL_BOO_CASTLE = 147\n"
"E_MODEL_BIG_CHILL_BULLY = 148\n" "E_MODEL_LAKITU = 148\n"
"E_MODEL_MONEYBAG = 149\n" "E_MODEL_TOAD = 149\n"
"E_MODEL_SWOOP = 150\n" "E_MODEL_CHILL_BULLY = 150\n"
"E_MODEL_SCUTTLEBUG = 151\n" "E_MODEL_BIG_CHILL_BULLY = 151\n"
"E_MODEL_MR_I_IRIS = 152\n" "E_MODEL_MONEYBAG = 152\n"
"E_MODEL_MR_I = 153\n" "E_MODEL_SWOOP = 153\n"
"E_MODEL_DORRIE = 154\n" "E_MODEL_SCUTTLEBUG = 154\n"
"E_MODEL_SNUFIT = 155\n" "E_MODEL_MR_I_IRIS = 155\n"
"E_MODEL_BUBBLY_TREE = 156\n" "E_MODEL_MR_I = 156\n"
"E_MODEL_COURTYARD_SPIKY_TREE = 157\n" "E_MODEL_DORRIE = 157\n"
"E_MODEL_SNOW_TREE = 158\n" "E_MODEL_SNUFIT = 158\n"
"E_MODEL_PALM_TREE = 159\n" "E_MODEL_BUBBLY_TREE = 159\n"
"E_MODEL_CASTLE_CASTLE_DOOR = 160\n" "E_MODEL_COURTYARD_SPIKY_TREE = 160\n"
"E_MODEL_BBH_HAUNTED_DOOR = 161\n" "E_MODEL_SNOW_TREE = 161\n"
"E_MODEL_HMC_WOODEN_DOOR = 162\n" "E_MODEL_PALM_TREE = 162\n"
"E_MODEL_HMC_METAL_DOOR = 163\n" "E_MODEL_CASTLE_CASTLE_DOOR = 163\n"
"E_MODEL_HMC_HAZY_MAZE_DOOR = 164\n" "E_MODEL_BBH_HAUNTED_DOOR = 164\n"
"E_MODEL_CASTLE_DOOR_0_STARS = 165\n" "E_MODEL_HMC_WOODEN_DOOR = 165\n"
"E_MODEL_CASTLE_DOOR_1_STAR = 166\n" "E_MODEL_HMC_METAL_DOOR = 166\n"
"E_MODEL_CASTLE_DOOR_3_STARS = 167\n" "E_MODEL_HMC_HAZY_MAZE_DOOR = 167\n"
"E_MODEL_CASTLE_KEY_DOOR = 168\n" "E_MODEL_CASTLE_DOOR_0_STARS = 168\n"
"E_MODEL_CCM_CABIN_DOOR = 169\n" "E_MODEL_CASTLE_DOOR_1_STAR = 169\n"
"E_MODEL_CASTLE_METAL_DOOR = 170\n" "E_MODEL_CASTLE_DOOR_3_STARS = 170\n"
"E_MODEL_CASTLE_GROUNDS_METAL_DOOR = 171\n" "E_MODEL_CASTLE_KEY_DOOR = 171\n"
"E_MODEL_WF_TOWER_TRAPEZOID_PLATORM = 172\n" "E_MODEL_CCM_CABIN_DOOR = 172\n"
"E_MODEL_WF_TOWER_SQUARE_PLATORM = 173\n" "E_MODEL_CASTLE_METAL_DOOR = 173\n"
"E_MODEL_WF_TOWER_SQUARE_PLATORM_UNUSED = 174\n" "E_MODEL_CASTLE_GROUNDS_METAL_DOOR = 174\n"
"E_MODEL_WF_TOWER_SQUARE_PLATORM_ELEVATOR = 175\n" "E_MODEL_WF_TOWER_TRAPEZOID_PLATORM = 175\n"
"E_MODEL_BBH_STAIRCASE_STEP = 176\n" "E_MODEL_WF_TOWER_SQUARE_PLATORM = 176\n"
"E_MODEL_BBH_TILTING_FLOOR_PLATFORM = 177\n" "E_MODEL_WF_TOWER_SQUARE_PLATORM_UNUSED = 177\n"
"E_MODEL_BBH_TUMBLING_PLATFORM = 178\n" "E_MODEL_WF_TOWER_SQUARE_PLATORM_ELEVATOR = 178\n"
"E_MODEL_BBH_TUMBLING_PLATFORM_PART = 179\n" "E_MODEL_BBH_STAIRCASE_STEP = 179\n"
"E_MODEL_BBH_MOVING_BOOKSHELF = 180\n" "E_MODEL_BBH_TILTING_FLOOR_PLATFORM = 180\n"
"E_MODEL_BBH_MESH_ELEVATOR = 181\n" "E_MODEL_BBH_TUMBLING_PLATFORM = 181\n"
"E_MODEL_BBH_MERRY_GO_ROUND = 182\n" "E_MODEL_BBH_TUMBLING_PLATFORM_PART = 182\n"
"E_MODEL_BBH_WOODEN_TOMB = 183\n" "E_MODEL_BBH_MOVING_BOOKSHELF = 183\n"
"E_MODEL_CCM_ROPEWAY_LIFT = 184\n" "E_MODEL_BBH_MESH_ELEVATOR = 184\n"
"E_MODEL_CCM_SNOWMAN_HEAD = 185\n" "E_MODEL_BBH_MERRY_GO_ROUND = 185\n"
"E_MODEL_CASTLE_BOWSER_TRAP = 186\n" "E_MODEL_BBH_WOODEN_TOMB = 186\n"
"E_MODEL_CASTLE_WATER_LEVEL_PILLAR = 187\n" "E_MODEL_CCM_ROPEWAY_LIFT = 187\n"
"E_MODEL_CASTLE_CLOCK_MINUTE_HAND = 188\n" "E_MODEL_CCM_SNOWMAN_HEAD = 188\n"
"E_MODEL_CASTLE_CLOCK_HOUR_HAND = 189\n" "E_MODEL_CASTLE_BOWSER_TRAP = 189\n"
"E_MODEL_CASTLE_CLOCK_PENDULUM = 190\n" "E_MODEL_CASTLE_WATER_LEVEL_PILLAR = 190\n"
"E_MODEL_HMC_METAL_PLATFORM = 191\n" "E_MODEL_CASTLE_CLOCK_MINUTE_HAND = 191\n"
"E_MODEL_HMC_METAL_ARROW_PLATFORM = 192\n" "E_MODEL_CASTLE_CLOCK_HOUR_HAND = 192\n"
"E_MODEL_HMC_ELEVATOR_PLATFORM = 193\n" "E_MODEL_CASTLE_CLOCK_PENDULUM = 193\n"
"E_MODEL_HMC_ROLLING_ROCK = 194\n" "E_MODEL_HMC_METAL_PLATFORM = 194\n"
"E_MODEL_HMC_ROCK_PIECE = 195\n" "E_MODEL_HMC_METAL_ARROW_PLATFORM = 195\n"
"E_MODEL_HMC_ROCK_SMALL_PIECE = 196\n" "E_MODEL_HMC_ELEVATOR_PLATFORM = 196\n"
"E_MODEL_HMC_RED_GRILLS = 197\n" "E_MODEL_HMC_ROLLING_ROCK = 197\n"
"E_MODEL_SSL_PYRAMID_TOP = 198\n" "E_MODEL_HMC_ROCK_PIECE = 198\n"
"E_MODEL_SSL_GRINDEL = 199\n" "E_MODEL_HMC_ROCK_SMALL_PIECE = 199\n"
"E_MODEL_SSL_SPINDEL = 200\n" "E_MODEL_HMC_RED_GRILLS = 200\n"
"E_MODEL_SSL_MOVING_PYRAMID_WALL = 201\n" "E_MODEL_SSL_PYRAMID_TOP = 201\n"
"E_MODEL_SSL_PYRAMID_ELEVATOR = 202\n" "E_MODEL_SSL_GRINDEL = 202\n"
"E_MODEL_BOB_CHAIN_CHOMP_GATE = 203\n" "E_MODEL_SSL_SPINDEL = 203\n"
"E_MODEL_BOB_SEESAW_PLATFORM = 204\n" "E_MODEL_SSL_MOVING_PYRAMID_WALL = 204\n"
"E_MODEL_BOB_BARS_GRILLS = 205\n" "E_MODEL_SSL_PYRAMID_ELEVATOR = 205\n"
"E_MODEL_SL_SNOW_TRIANGLE = 206\n" "E_MODEL_BOB_CHAIN_CHOMP_GATE = 206\n"
"E_MODEL_SL_CRACKED_ICE = 207\n" "E_MODEL_BOB_SEESAW_PLATFORM = 207\n"
"E_MODEL_SL_CRACKED_ICE_CHUNK = 208\n" "E_MODEL_BOB_BARS_GRILLS = 208\n"
"E_MODEL_WDW_SQUARE_FLOATING_PLATFORM = 209\n" "E_MODEL_SL_SNOW_TRIANGLE = 209\n"
"E_MODEL_WDW_ARROW_LIFT = 210\n" "E_MODEL_SL_CRACKED_ICE = 210\n"
"E_MODEL_WDW_WATER_LEVEL_DIAMOND = 211\n" "E_MODEL_SL_CRACKED_ICE_CHUNK = 211\n"
"E_MODEL_WDW_HIDDEN_PLATFORM = 212\n" "E_MODEL_WDW_SQUARE_FLOATING_PLATFORM = 212\n"
"E_MODEL_WDW_EXPRESS_ELEVATOR = 213\n" "E_MODEL_WDW_ARROW_LIFT = 213\n"
"E_MODEL_WDW_RECTANGULAR_FLOATING_PLATFORM = 214\n" "E_MODEL_WDW_WATER_LEVEL_DIAMOND = 214\n"
"E_MODEL_WDW_ROTATING_PLATFORM = 215\n" "E_MODEL_WDW_HIDDEN_PLATFORM = 215\n"
"E_MODEL_JRB_SHIP_LEFT_HALF_PART = 216\n" "E_MODEL_WDW_EXPRESS_ELEVATOR = 216\n"
"E_MODEL_JRB_SHIP_BACK_LEFT_PART = 217\n" "E_MODEL_WDW_RECTANGULAR_FLOATING_PLATFORM = 217\n"
"E_MODEL_JRB_SHIP_RIGHT_HALF_PART = 218\n" "E_MODEL_WDW_ROTATING_PLATFORM = 218\n"
"E_MODEL_JRB_SHIP_BACK_RIGHT_PART = 219\n" "E_MODEL_JRB_SHIP_LEFT_HALF_PART = 219\n"
"E_MODEL_JRB_SUNKEN_SHIP = 220\n" "E_MODEL_JRB_SHIP_BACK_LEFT_PART = 220\n"
"E_MODEL_JRB_SUNKEN_SHIP_BACK = 221\n" "E_MODEL_JRB_SHIP_RIGHT_HALF_PART = 221\n"
"E_MODEL_JRB_ROCK = 222\n" "E_MODEL_JRB_SHIP_BACK_RIGHT_PART = 222\n"
"E_MODEL_JRB_SLIDING_BOX = 223\n" "E_MODEL_JRB_SUNKEN_SHIP = 223\n"
"E_MODEL_JRB_FALLING_PILLAR = 224\n" "E_MODEL_JRB_SUNKEN_SHIP_BACK = 224\n"
"E_MODEL_JRB_FALLING_PILLAR_BASE = 225\n" "E_MODEL_JRB_ROCK = 225\n"
"E_MODEL_JRB_FLOATING_PLATFORM = 226\n" "E_MODEL_JRB_SLIDING_BOX = 226\n"
"E_MODEL_THI_HUGE_ISLAND_TOP = 227\n" "E_MODEL_JRB_FALLING_PILLAR = 227\n"
"E_MODEL_THI_TINY_ISLAND_TOP = 228\n" "E_MODEL_JRB_FALLING_PILLAR_BASE = 228\n"
"E_MODEL_TTC_ROTATING_CUBE = 229\n" "E_MODEL_JRB_FLOATING_PLATFORM = 229\n"
"E_MODEL_TTC_ROTATING_PRISM = 230\n" "E_MODEL_THI_HUGE_ISLAND_TOP = 230\n"
"E_MODEL_TTC_PENDULUM = 231\n" "E_MODEL_THI_TINY_ISLAND_TOP = 231\n"
"E_MODEL_TTC_LARGE_TREADMILL = 232\n" "E_MODEL_TTC_ROTATING_CUBE = 232\n"
"E_MODEL_TTC_SMALL_TREADMILL = 233\n" "E_MODEL_TTC_ROTATING_PRISM = 233\n"
"E_MODEL_TTC_PUSH_BLOCK = 234\n" "E_MODEL_TTC_PENDULUM = 234\n"
"E_MODEL_TTC_ROTATING_HEXAGON = 235\n" "E_MODEL_TTC_LARGE_TREADMILL = 235\n"
"E_MODEL_TTC_ROTATING_TRIANGLE = 236\n" "E_MODEL_TTC_SMALL_TREADMILL = 236\n"
"E_MODEL_TTC_PIT_BLOCK = 237\n" "E_MODEL_TTC_PUSH_BLOCK = 237\n"
"E_MODEL_TTC_PIT_BLOCK_UNUSED = 238\n" "E_MODEL_TTC_ROTATING_HEXAGON = 238\n"
"E_MODEL_TTC_ELEVATOR_PLATFORM = 239\n" "E_MODEL_TTC_ROTATING_TRIANGLE = 239\n"
"E_MODEL_TTC_CLOCK_HAND = 240\n" "E_MODEL_TTC_PIT_BLOCK = 240\n"
"E_MODEL_TTC_SPINNER = 241\n" "E_MODEL_TTC_PIT_BLOCK_UNUSED = 241\n"
"E_MODEL_TTC_SMALL_GEAR = 242\n" "E_MODEL_TTC_ELEVATOR_PLATFORM = 242\n"
"E_MODEL_TTC_LARGE_GEAR = 243\n" "E_MODEL_TTC_CLOCK_HAND = 243\n"
"E_MODEL_RR_SLIDING_PLATFORM = 244\n" "E_MODEL_TTC_SPINNER = 244\n"
"E_MODEL_RR_FLYING_CARPET = 245\n" "E_MODEL_TTC_SMALL_GEAR = 245\n"
"E_MODEL_RR_OCTAGONAL_PLATFORM = 246\n" "E_MODEL_TTC_LARGE_GEAR = 246\n"
"E_MODEL_RR_ROTATING_BRIDGE_PLATFORM = 247\n" "E_MODEL_RR_SLIDING_PLATFORM = 247\n"
"E_MODEL_RR_TRIANGLE_PLATFORM = 248\n" "E_MODEL_RR_FLYING_CARPET = 248\n"
"E_MODEL_RR_CRUISER_WING = 249\n" "E_MODEL_RR_OCTAGONAL_PLATFORM = 249\n"
"E_MODEL_RR_SEESAW_PLATFORM = 250\n" "E_MODEL_RR_ROTATING_BRIDGE_PLATFORM = 250\n"
"E_MODEL_RR_L_SHAPED_PLATFORM = 251\n" "E_MODEL_RR_TRIANGLE_PLATFORM = 251\n"
"E_MODEL_RR_SWINGING_PLATFORM = 252\n" "E_MODEL_RR_CRUISER_WING = 252\n"
"E_MODEL_RR_DONUT_PLATFORM = 253\n" "E_MODEL_RR_SEESAW_PLATFORM = 253\n"
"E_MODEL_RR_ELEVATOR_PLATFORM = 254\n" "E_MODEL_RR_L_SHAPED_PLATFORM = 254\n"
"E_MODEL_RR_TRICKY_TRIANGLES = 255\n" "E_MODEL_RR_SWINGING_PLATFORM = 255\n"
"E_MODEL_RR_TRICKY_TRIANGLES_FRAME1 = 256\n" "E_MODEL_RR_DONUT_PLATFORM = 256\n"
"E_MODEL_RR_TRICKY_TRIANGLES_FRAME2 = 257\n" "E_MODEL_RR_ELEVATOR_PLATFORM = 257\n"
"E_MODEL_RR_TRICKY_TRIANGLES_FRAME3 = 258\n" "E_MODEL_RR_TRICKY_TRIANGLES = 258\n"
"E_MODEL_RR_TRICKY_TRIANGLES_FRAME4 = 259\n" "E_MODEL_RR_TRICKY_TRIANGLES_FRAME1 = 259\n"
"E_MODEL_BITDW_SQUARE_PLATFORM = 260\n" "E_MODEL_RR_TRICKY_TRIANGLES_FRAME2 = 260\n"
"E_MODEL_BITDW_SEESAW_PLATFORM = 261\n" "E_MODEL_RR_TRICKY_TRIANGLES_FRAME3 = 261\n"
"E_MODEL_BITDW_SLIDING_PLATFORM = 262\n" "E_MODEL_RR_TRICKY_TRIANGLES_FRAME4 = 262\n"
"E_MODEL_BITDW_FERRIS_WHEEL_AXLE = 263\n" "E_MODEL_BITDW_SQUARE_PLATFORM = 263\n"
"E_MODEL_BITDW_BLUE_PLATFORM = 264\n" "E_MODEL_BITDW_SEESAW_PLATFORM = 264\n"
"E_MODEL_BITDW_STAIRCASE_FRAME4 = 265\n" "E_MODEL_BITDW_SLIDING_PLATFORM = 265\n"
"E_MODEL_BITDW_STAIRCASE_FRAME3 = 266\n" "E_MODEL_BITDW_FERRIS_WHEEL_AXLE = 266\n"
"E_MODEL_BITDW_STAIRCASE_FRAME2 = 267\n" "E_MODEL_BITDW_BLUE_PLATFORM = 267\n"
"E_MODEL_BITDW_STAIRCASE_FRAME1 = 268\n" "E_MODEL_BITDW_STAIRCASE_FRAME4 = 268\n"
"E_MODEL_BITDW_STAIRCASE = 269\n" "E_MODEL_BITDW_STAIRCASE_FRAME3 = 269\n"
"E_MODEL_BITFS_PLATFORM_ON_TRACK = 270\n" "E_MODEL_BITDW_STAIRCASE_FRAME2 = 270\n"
"E_MODEL_BITFS_TILTING_SQUARE_PLATFORM = 271\n" "E_MODEL_BITDW_STAIRCASE_FRAME1 = 271\n"
"E_MODEL_BITFS_SINKING_PLATFORMS = 272\n" "E_MODEL_BITDW_STAIRCASE = 272\n"
"E_MODEL_BITFS_BLUE_POLE = 273\n" "E_MODEL_BITFS_PLATFORM_ON_TRACK = 273\n"
"E_MODEL_BITFS_SINKING_CAGE_PLATFORM = 274\n" "E_MODEL_BITFS_TILTING_SQUARE_PLATFORM = 274\n"
"E_MODEL_BITFS_ELEVATOR = 275\n" "E_MODEL_BITFS_SINKING_PLATFORMS = 275\n"
"E_MODEL_BITFS_STRETCHING_PLATFORMS = 276\n" "E_MODEL_BITFS_BLUE_POLE = 276\n"
"E_MODEL_BITFS_SEESAW_PLATFORM = 277\n" "E_MODEL_BITFS_SINKING_CAGE_PLATFORM = 277\n"
"E_MODEL_BITFS_MOVING_SQUARE_PLATFORM = 278\n" "E_MODEL_BITFS_ELEVATOR = 278\n"
"E_MODEL_BITFS_SLIDING_PLATFORM = 279\n" "E_MODEL_BITFS_STRETCHING_PLATFORMS = 279\n"
"E_MODEL_BITFS_TUMBLING_PLATFORM_PART = 280\n" "E_MODEL_BITFS_SEESAW_PLATFORM = 280\n"
"E_MODEL_BITFS_TUMBLING_PLATFORM = 281\n" "E_MODEL_BITFS_MOVING_SQUARE_PLATFORM = 281\n"
"E_MODEL_BITS_SLIDING_PLATFORM = 282\n" "E_MODEL_BITFS_SLIDING_PLATFORM = 282\n"
"E_MODEL_BITS_TWIN_SLIDING_PLATFORMS = 283\n" "E_MODEL_BITFS_TUMBLING_PLATFORM_PART = 283\n"
"E_MODEL_BITS_OCTAGONAL_PLATFORM = 284\n" "E_MODEL_BITFS_TUMBLING_PLATFORM = 284\n"
"E_MODEL_BITS_BLUE_PLATFORM = 285\n" "E_MODEL_BITS_SLIDING_PLATFORM = 285\n"
"E_MODEL_BITS_FERRIS_WHEEL_AXLE = 286\n" "E_MODEL_BITS_TWIN_SLIDING_PLATFORMS = 286\n"
"E_MODEL_BITS_ARROW_PLATFORM = 287\n" "E_MODEL_BITS_OCTAGONAL_PLATFORM = 287\n"
"E_MODEL_BITS_SEESAW_PLATFORM = 288\n" "E_MODEL_BITS_BLUE_PLATFORM = 288\n"
"E_MODEL_BITS_TILTING_W_PLATFORM = 289\n" "E_MODEL_BITS_FERRIS_WHEEL_AXLE = 289\n"
"E_MODEL_BITS_STAIRCASE = 290\n" "E_MODEL_BITS_ARROW_PLATFORM = 290\n"
"E_MODEL_BITS_STAIRCASE_FRAME1 = 291\n" "E_MODEL_BITS_SEESAW_PLATFORM = 291\n"
"E_MODEL_BITS_STAIRCASE_FRAME2 = 292\n" "E_MODEL_BITS_TILTING_W_PLATFORM = 292\n"
"E_MODEL_BITS_STAIRCASE_FRAME3 = 293\n" "E_MODEL_BITS_STAIRCASE = 293\n"
"E_MODEL_BITS_STAIRCASE_FRAME4 = 294\n" "E_MODEL_BITS_STAIRCASE_FRAME1 = 294\n"
"E_MODEL_BITS_WARP_PIPE = 295\n" "E_MODEL_BITS_STAIRCASE_FRAME2 = 295\n"
"E_MODEL_LLL_DRAWBRIDGE_PART = 296\n" "E_MODEL_BITS_STAIRCASE_FRAME3 = 296\n"
"E_MODEL_LLL_ROTATING_BLOCK_FIRE_BARS = 297\n" "E_MODEL_BITS_STAIRCASE_FRAME4 = 297\n"
"E_MODEL_LLL_ROTATING_HEXAGONAL_RING = 298\n" "E_MODEL_BITS_WARP_PIPE = 298\n"
"E_MODEL_LLL_SINKING_RECTANGULAR_PLATFORM = 299\n" "E_MODEL_LLL_DRAWBRIDGE_PART = 299\n"
"E_MODEL_LLL_SINKING_SQUARE_PLATFORMS = 300\n" "E_MODEL_LLL_ROTATING_BLOCK_FIRE_BARS = 300\n"
"E_MODEL_LLL_TILTING_SQUARE_PLATFORM = 301\n" "E_MODEL_LLL_ROTATING_HEXAGONAL_RING = 301\n"
"E_MODEL_LLL_BOWSER_PIECE_1 = 302\n" "E_MODEL_LLL_SINKING_RECTANGULAR_PLATFORM = 302\n"
"E_MODEL_LLL_BOWSER_PIECE_2 = 303\n" "E_MODEL_LLL_SINKING_SQUARE_PLATFORMS = 303\n"
"E_MODEL_LLL_BOWSER_PIECE_3 = 304\n" "E_MODEL_LLL_TILTING_SQUARE_PLATFORM = 304\n"
"E_MODEL_LLL_BOWSER_PIECE_4 = 305\n" "E_MODEL_LLL_BOWSER_PIECE_1 = 305\n"
"E_MODEL_LLL_BOWSER_PIECE_5 = 306\n" "E_MODEL_LLL_BOWSER_PIECE_2 = 306\n"
"E_MODEL_LLL_BOWSER_PIECE_6 = 307\n" "E_MODEL_LLL_BOWSER_PIECE_3 = 307\n"
"E_MODEL_LLL_BOWSER_PIECE_7 = 308\n" "E_MODEL_LLL_BOWSER_PIECE_4 = 308\n"
"E_MODEL_LLL_BOWSER_PIECE_8 = 309\n" "E_MODEL_LLL_BOWSER_PIECE_5 = 309\n"
"E_MODEL_LLL_BOWSER_PIECE_9 = 310\n" "E_MODEL_LLL_BOWSER_PIECE_6 = 310\n"
"E_MODEL_LLL_BOWSER_PIECE_10 = 311\n" "E_MODEL_LLL_BOWSER_PIECE_7 = 311\n"
"E_MODEL_LLL_BOWSER_PIECE_11 = 312\n" "E_MODEL_LLL_BOWSER_PIECE_8 = 312\n"
"E_MODEL_LLL_BOWSER_PIECE_12 = 313\n" "E_MODEL_LLL_BOWSER_PIECE_9 = 313\n"
"E_MODEL_LLL_BOWSER_PIECE_13 = 314\n" "E_MODEL_LLL_BOWSER_PIECE_10 = 314\n"
"E_MODEL_LLL_BOWSER_PIECE_14 = 315\n" "E_MODEL_LLL_BOWSER_PIECE_11 = 315\n"
"E_MODEL_LLL_MOVING_OCTAGONAL_MESH_PLATFORM = 316\n" "E_MODEL_LLL_BOWSER_PIECE_12 = 316\n"
"E_MODEL_LLL_SINKING_ROCK_BLOCK = 317\n" "E_MODEL_LLL_BOWSER_PIECE_13 = 317\n"
"E_MODEL_LLL_ROLLING_LOG = 318\n" "E_MODEL_LLL_BOWSER_PIECE_14 = 318\n"
"E_MODEL_LLL_WOOD_BRIDGE = 319\n" "E_MODEL_LLL_MOVING_OCTAGONAL_MESH_PLATFORM = 319\n"
"E_MODEL_LLL_LARGE_WOOD_BRIDGE = 320\n" "E_MODEL_LLL_SINKING_ROCK_BLOCK = 320\n"
"E_MODEL_LLL_FALLING_PLATFORM = 321\n" "E_MODEL_LLL_ROLLING_LOG = 321\n"
"E_MODEL_LLL_LARGE_FALLING_PLATFORM = 322\n" "E_MODEL_LLL_WOOD_BRIDGE = 322\n"
"E_MODEL_LLL_VOLCANO_FALLING_TRAP = 323\n" "E_MODEL_LLL_LARGE_WOOD_BRIDGE = 323\n"
"E_MODEL_DDD_BOWSER_SUB_DOOR = 324\n" "E_MODEL_LLL_FALLING_PLATFORM = 324\n"
"E_MODEL_DDD_BOWSER_SUB = 325\n" "E_MODEL_LLL_LARGE_FALLING_PLATFORM = 325\n"
"E_MODEL_DDD_POLE = 326\n" "E_MODEL_LLL_VOLCANO_FALLING_TRAP = 326\n"
"E_MODEL_WF_BREAKABLE_WALL_RIGHT = 327\n" "E_MODEL_DDD_BOWSER_SUB_DOOR = 327\n"
"E_MODEL_WF_BREAKABLE_WALL_LEFT = 328\n" "E_MODEL_DDD_BOWSER_SUB = 328\n"
"E_MODEL_WF_KICKABLE_BOARD = 329\n" "E_MODEL_DDD_POLE = 329\n"
"E_MODEL_WF_TOWER_DOOR = 330\n" "E_MODEL_WF_BREAKABLE_WALL_RIGHT = 330\n"
"E_MODEL_WF_KICKABLE_BOARD_FELLED = 331\n" "E_MODEL_WF_BREAKABLE_WALL_LEFT = 331\n"
"E_MODEL_CASTLE_GROUNDS_VCUTM_GRILL = 332\n" "E_MODEL_WF_KICKABLE_BOARD = 332\n"
"E_MODEL_CASTLE_GROUNDS_FLAG = 333\n" "E_MODEL_WF_TOWER_DOOR = 333\n"
"E_MODEL_CASTLE_GROUNDS_CANNON_GRILL = 334\n" "E_MODEL_WF_KICKABLE_BOARD_FELLED = 334\n"
"E_MODEL_BOWSER_2_TILTING_ARENA = 335\n" "E_MODEL_CASTLE_GROUNDS_VCUTM_GRILL = 335\n"
"E_MODEL_BOWSER_3_FALLING_PLATFORM_1 = 336\n" "E_MODEL_CASTLE_GROUNDS_FLAG = 336\n"
"E_MODEL_BOWSER_3_FALLING_PLATFORM_2 = 337\n" "E_MODEL_CASTLE_GROUNDS_CANNON_GRILL = 337\n"
"E_MODEL_BOWSER_3_FALLING_PLATFORM_3 = 338\n" "E_MODEL_BOWSER_2_TILTING_ARENA = 338\n"
"E_MODEL_BOWSER_3_FALLING_PLATFORM_4 = 339\n" "E_MODEL_BOWSER_3_FALLING_PLATFORM_1 = 339\n"
"E_MODEL_BOWSER_3_FALLING_PLATFORM_5 = 340\n" "E_MODEL_BOWSER_3_FALLING_PLATFORM_2 = 340\n"
"E_MODEL_BOWSER_3_FALLING_PLATFORM_6 = 341\n" "E_MODEL_BOWSER_3_FALLING_PLATFORM_3 = 341\n"
"E_MODEL_BOWSER_3_FALLING_PLATFORM_7 = 342\n" "E_MODEL_BOWSER_3_FALLING_PLATFORM_4 = 342\n"
"E_MODEL_BOWSER_3_FALLING_PLATFORM_8 = 343\n" "E_MODEL_BOWSER_3_FALLING_PLATFORM_5 = 343\n"
"E_MODEL_BOWSER_3_FALLING_PLATFORM_9 = 344\n" "E_MODEL_BOWSER_3_FALLING_PLATFORM_6 = 344\n"
"E_MODEL_BOWSER_3_FALLING_PLATFORM_10 = 345\n" "E_MODEL_BOWSER_3_FALLING_PLATFORM_7 = 345\n"
"E_MODEL_TTM_ROLLING_LOG = 346\n" "E_MODEL_BOWSER_3_FALLING_PLATFORM_8 = 346\n"
"E_MODEL_TTM_STAR_CAGE = 347\n" "E_MODEL_BOWSER_3_FALLING_PLATFORM_9 = 347\n"
"E_MODEL_TTM_BLUE_SMILEY = 348\n" "E_MODEL_BOWSER_3_FALLING_PLATFORM_10 = 348\n"
"E_MODEL_TTM_YELLOW_SMILEY = 349\n" "E_MODEL_TTM_ROLLING_LOG = 349\n"
"E_MODEL_TTM_STAR_SMILEY = 350\n" "E_MODEL_TTM_STAR_CAGE = 350\n"
"E_MODEL_TTM_MOON_SMILEY = 351\n" "E_MODEL_TTM_BLUE_SMILEY = 351\n"
"E_MODEL_BUBBLE_PLAYER = 352\n" "E_MODEL_TTM_YELLOW_SMILEY = 352\n"
"E_MODEL_LUIGI = 353\n" "E_MODEL_TTM_STAR_SMILEY = 353\n"
"E_MODEL_LUIGIS_CAP = 354\n" "E_MODEL_TTM_MOON_SMILEY = 354\n"
"E_MODEL_LUIGIS_METAL_CAP = 355\n" "E_MODEL_BUBBLE_PLAYER = 355\n"
"E_MODEL_LUIGIS_WING_CAP = 356\n" "E_MODEL_LUIGI = 356\n"
"E_MODEL_LUIGIS_WINGED_METAL_CAP = 357\n" "E_MODEL_LUIGIS_CAP = 357\n"
"E_MODEL_TOAD_PLAYER = 358\n" "E_MODEL_LUIGIS_METAL_CAP = 358\n"
"E_MODEL_TOADS_CAP = 359\n" "E_MODEL_LUIGIS_WING_CAP = 359\n"
"E_MODEL_TOADS_METAL_CAP = 360\n" "E_MODEL_LUIGIS_WINGED_METAL_CAP = 360\n"
"E_MODEL_TOADS_WING_CAP = 361\n" "E_MODEL_TOAD_PLAYER = 361\n"
"E_MODEL_WALUIGI = 362\n" "E_MODEL_TOADS_CAP = 362\n"
"E_MODEL_WALUIGIS_CAP = 363\n" "E_MODEL_TOADS_METAL_CAP = 363\n"
"E_MODEL_WALUIGIS_METAL_CAP = 364\n" "E_MODEL_TOADS_WING_CAP = 364\n"
"E_MODEL_WALUIGIS_WING_CAP = 365\n" "E_MODEL_WALUIGI = 365\n"
"E_MODEL_WALUIGIS_WINGED_METAL_CAP = 366\n" "E_MODEL_WALUIGIS_CAP = 366\n"
"E_MODEL_WARIO = 367\n" "E_MODEL_WALUIGIS_METAL_CAP = 367\n"
"E_MODEL_WARIOS_CAP = 368\n" "E_MODEL_WALUIGIS_WING_CAP = 368\n"
"E_MODEL_WARIOS_METAL_CAP = 369\n" "E_MODEL_WALUIGIS_WINGED_METAL_CAP = 369\n"
"E_MODEL_WARIOS_WING_CAP = 370\n" "E_MODEL_WARIO = 370\n"
"E_MODEL_WARIOS_WINGED_METAL_CAP = 371\n" "E_MODEL_WARIOS_CAP = 371\n"
"E_MODEL_MAX = 372\n" "E_MODEL_WARIOS_METAL_CAP = 372\n"
"E_MODEL_WARIOS_WING_CAP = 373\n"
"E_MODEL_WARIOS_WINGED_METAL_CAP = 374\n"
"E_MODEL_MAX = 375\n"
"SPTASK_STATE_NOT_STARTED = 0\n" "SPTASK_STATE_NOT_STARTED = 0\n"
"SPTASK_STATE_RUNNING = 1\n" "SPTASK_STATE_RUNNING = 1\n"
"SPTASK_STATE_INTERRUPTED = 2\n" "SPTASK_STATE_INTERRUPTED = 2\n"

View file

@ -87,6 +87,9 @@ struct ModelUtilsInfo sModels[] = {
MODEL_UTIL_GEO(E_MODEL_BURN_SMOKE, burn_smoke_geo), MODEL_UTIL_GEO(E_MODEL_BURN_SMOKE, burn_smoke_geo),
MODEL_UTIL_GEO(E_MODEL_LEAVES, leaves_geo), MODEL_UTIL_GEO(E_MODEL_LEAVES, leaves_geo),
MODEL_UTIL_GEO(E_MODEL_PURPLE_MARBLE, purple_marble_geo), MODEL_UTIL_GEO(E_MODEL_PURPLE_MARBLE, purple_marble_geo),
MODEL_UTIL_GEO(E_MODEL_TRAMPOLINE, springboard_top_geo),
MODEL_UTIL_GEO(E_MODEL_TRAMPOLINE_CENTER, springboard_spring_geo),
MODEL_UTIL_GEO(E_MODEL_TRAMPOLINE_BASE, springboard_bottom_geo),
MODEL_UTIL_GEO(E_MODEL_FISH, fish_geo), MODEL_UTIL_GEO(E_MODEL_FISH, fish_geo),
MODEL_UTIL_GEO(E_MODEL_FISH_SHADOW, fish_shadow_geo), MODEL_UTIL_GEO(E_MODEL_FISH_SHADOW, fish_shadow_geo),
MODEL_UTIL_GEO(E_MODEL_SPARKLES_ANIMATION, sparkles_animation_geo), MODEL_UTIL_GEO(E_MODEL_SPARKLES_ANIMATION, sparkles_animation_geo),

View file

@ -23,6 +23,9 @@ enum ModelExtendedId {
E_MODEL_BURN_SMOKE, E_MODEL_BURN_SMOKE,
E_MODEL_LEAVES, E_MODEL_LEAVES,
E_MODEL_PURPLE_MARBLE, E_MODEL_PURPLE_MARBLE,
E_MODEL_TRAMPOLINE,
E_MODEL_TRAMPOLINE_CENTER,
E_MODEL_TRAMPOLINE_BASE,
E_MODEL_FISH, E_MODEL_FISH,
E_MODEL_FISH_SHADOW, E_MODEL_FISH_SHADOW,
E_MODEL_SPARKLES_ANIMATION, E_MODEL_SPARKLES_ANIMATION,