Actions

Documentation:Furniture Move Types

From LMHack

Author(s)

weirdboo, sunn

Description

These are the behaviors that can be assigned to furniture with the move field in furnitureinfo. The most common types have been highlighted. Associated ANM (furniture animation) files will be located in a room's archive inside of /root/Iwamoto/mapX/room_XX.arc.

Number Behavior arg0 used? arg1 used? arg2 used? ANM used? item_table used? Description
0 Heavy Furniture (Can't Open) No No No No Yes Luigi can interact with the furniture / shake it with the vacuum, but it won't open (used for about 50% of all furniture entries).
1 Ceiling Fan No No No No Yes Spins gradually faster when Luigi vacuums it, and ultimately releases an item (if given) once at max speed.
2 Normal Furniture (Can't Open) No No No No Yes Similar to 0, but Luigi can lift the furniture more to the left and right (used for light objects).
3
4
5 Rocking chair No No No No No Moves gradually faster when Luigi vacuums it. If Chauncey is currently present, then the rocking chair will turn on Flag 169 at its max speed, waking Chauncey up and activating event22.
6 Musical Instrument Yes No No No Yes Pitches the given furniture_sound and plays a track from sequence ID 1 (Mario02.com). arg0 chooses which track is played when interacted with, but is hard-coded to only work in the Conservatory. If Melody is present in the Conservatory, then once all the instruments have been activated, Flag 88 will be turned on, activating her minigame (event03). If Flag 90 is turned on, all of the instruments will turn off.
7 Chandelier Yes Yes No No Yes If arg0 = 0, the furniture will act light and be attracted to the Poltergust's suction. If arg0 = 1, the furniture will have weight to it and have more resistance to the Poltergust's suction.
arg1 adjusts the rotation; bigger positive values will make the furniture rotate less when vacuumed. Negative values will make the rotation extreme. arg1 = 0 will make this move type useless.
8 Helicopter Mobile No No No No No Once it has been spun enough times, it will turn Flag 88 on, activating the Twins.
9 The Observatory No No Yes No Yes If arg2 is set to 1, then the furniture will gradually fade in once Flag 50 is turned on. If arg2 is set to 0, then the furniture will gradually fade out once Flag 50 is turned on. The furniture itself only reacts to being vacuumed by the Poltergust.
10 Observatory Telescope No No Yes No Yes If arg2 is set to 1, then the furniture will gradually fade in once Flag 50 is turned on. If arg2 is set to 0, then the furniture will gradually fade out once Flag 50 is turned on. It will act like move type 0 when visible.
11 Crystal Ball No No No No No When Luigi shines his light on it long enough, it will turn Flag 88 on, allowing event37 to activate Madame Clairvoya.
12 Storage Room Wall No No No Yes* No The wall only moves once flag 41 is set to ON. Before it moves, it can display GBH scan dialogue after Luigi knocks on the furniture. *This type is hard-coded to use only one ANM under the name kabe14_1.anm when activated
13 Observatory Chandelier Yes Yes Yes No Yes If arg2 is set to 1, then the furniture will gradually fade in once Flag 50 is turned on. If arg2 is set to 0, then the furniture will gradually fade out once Flag 50 is turned on. It will act like move type 7 when visible and uses arg0 and arg1 similarly.
14 Parlor Painting No No No No Yes When Flag 94 is turned on, the painting will shake. While Flag 94 is off, it acts just like move type 0.
15 Normal Furniture (Can Open) No No No Yes Yes Similar to 2, but the furniture can open.
16 Books Yes No No No Yes When Luigi hits it by pressing A, the flag given in arg0 will be turned on.
17 Jars No No No No Yes When Luigi vacuums the jar, it will spin around.
18 N/A No No No Yes Yes (UNUSED) The furniture can be shaken with the vacuum but not opened with it. If Luigi knocks on the furniture, it will open and spawn items, then won't shake or move anymore.
19 Punching Bag Yes Yes No No Yes It moves after Luigi hits it by pressing A. Once in motion, the punching bag uses arg0 and arg1 for motion just like move type 7.
20 Foyer Chandelier Yes Yes No Yes Yes It will crash down onto Luigi once he is below it after Flag 1 is turned on, but only while in Area 1. It uses arg0 and arg1 just like move type 7.
21 Coo-coo Clock No No No Yes Yes If the Clockwork Soldiers are present in the Clockwork Room, then once all the coo-coo clocks have been activated, the Soldiers will activate.
22 Mirror Warp No No No No No When Luigi scans this furniture with the GBH, he will be warped back to the Foyer. Note that the mirror warp move type does not load an actual mirror. Those are hardcoded into Start.dol.
23 Mouse Hole Warp Yes No Yes No No When Luigi scans this furniture with the GBH, he will activate a mouse hole warp. arg0 and arg2 will be the X and Z coordinates respectively for where Luigi will be spit back out. All mouse hole destinations must be on the first floor since arg1 isn't related to Y coordinates.
24 Alternate Observatory No No Yes No Yes (UNUSED) Acts just like move type 10, but the furniture will turn on Flag 50 when Luigi hits it by pressing A, removing the need to turn on Flag 50 via event like how it works in the final game.
25 Bogmire's Tomb No No No No Yes Has special properties that allow the BMD effect boseki to be attached to it through objinfo and Flag 74 being turned on.
26 Knight Statue with Falling Mace No No No Yes Yes Meant to be used with the Knight Statues that can drop their mace to hurt Luigi. It is hard-coded to only work in the Armory.
27 Knight Statue with Mace No No No Yes Yes Meant to be used with the Knight Statues that can't drop their mace.
28 Knight Statue with Staff No No No Yes Yes Meant to be used with the Knight Statues that have a staff.
29 Flip Panel No No No No No Completely reverses Luigi's gravity if he walks over it, making him walk on the ceiling. He can only go back to normal by stepping on another panel.
30 Spinning Dance Floor Yes No No No No Only starts moving when the Whirlindas are active. If arg0 = 0, the furniture will spin slowly. If arg0 = 1, the furniture will spin at a faster pace.
31 Storage Room Boo Hatch Yes No No Yes No Only moves when the flag in arg0 is turned on. Once turned on, a large collision box will cover the furniture.
32 Mouse Hole Warp (Lit Room Only) Yes No Yes No No Works the same way as move type 23 if the room's lights are on. If the room's lights are off, it will be disabled.
33 Button Yes No No No No After Luigi hits it by pressing A, he will briefly pause and use his button pressing animation, ac_psh_b.key. The flag in arg0 will then be turned on.
34 Plant No No No No Yes After Luigi waters it for long enough, it will release an item (if given).
35 Oven No No No Yes Yes Hitting the furniture by pressing A will spawn a collision box in the middle. After Luigi burns the collision with fire for long enough, it will release an item (if given).
36 Projector No No No Yes Yes After Luigi hits it by pressing A, Flag 114 is turned on. This activates the cinematic lighting in the room and the first wave of ghosts.
37 Invisible Scanbox No No No No No Reacts to nothing at all (used mostly for invisible scanboxes such as 4th wall decorations and posters).
38 Furniture with a Door Yes Yes No Yes Yes Furniture can be knocked on / shaken with the vacuum and opened. If arg0 = 0, no collision is added when opened. If arg0 = 1, the furniture will leave a small collision box on the bottom left side of the scanbox when opened, Luigi can get hurt, and the furniture will turn on the flag listed in arg1. If arg0 = 2 or 3, a large collision box is added around the furniture when opened. Collision is only loaded if the skeleton of the bin model has node 0 as a parent with two nodes under it.
39 Van Gore Painting Yes No No Yes Yes Van Gore painting spawn with included effects / camera zoom. The camera and particle effects will only occur when the flag in arg0 is set to ON. When Flag 55 is turned on by capturing Van Gore, the effects of the furniture will turn off. If arg0 is set 55, the furniture will spawn whatever item is set in item_table.
40 Pipe Room Handle Yes No No Yes No Only moves when Flag 63 is turned on.
41 Breaker Room Switch No No No Yes No Only moves when Flag 115 is turned on.
42 Treadmill No No No Yes Yes Moves when Luigi walks on top of it, and ultimately releases an item (if given) once it has been long enough.
43 Angel Statue Yes No No Yes Yes When Luigi hits it by pressing A, the flag given in arg0 will be turned on.