Interaction type: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
(explain why no object gets more than 1)
Line 1: Line 1:
An '''interaction type''' is a property that all [[object]]s have. Most objects have exactly one interaction type, but some have zero. Interaction types are analagous to [[Action Flag|action flag]]s, but [[Interaction Flag|interaction flag]]s are not, which can be a source of confusion.
An '''interaction type''' is a property that all [[object]]s have. Most objects have exactly one interaction type, but some have zero. No object may have more than one, and if one is hacked to have more than one, it will [[crash]] the game as Mario thinks that he is interacting with two different objects, each with one interaction flag, and cannot find them. Interaction types are analogous to [[Action Flag|action flag]]s, but [[Interaction Flag|interaction flag]]s are not, which can be a source of confusion.
==List==
==List==
{| class="wikitable sortable"
{| class="wikitable sortable"

Revision as of 15:16, 30 March 2019

An interaction type is a property that all objects have. Most objects have exactly one interaction type, but some have zero. No object may have more than one, and if one is hacked to have more than one, it will crash the game as Mario thinks that he is interacting with two different objects, each with one interaction flag, and cannot find them. Interaction types are analogous to action flags, but interaction flags are not, which can be a source of confusion.

List

Index/log2 Description Mask
00 Hoot 0x00000001
01 Grabbable 0x00000002
02 Door 0x00000004
03 Hurtbox 0x00000008
04 Coin 0x00000010
05 Cap 0x00000020
06 Pole 0x00000040
07 Koopa 0x00000080
08 Spiny 0x00000100
09 Breakable Block 0x00000200
10 Wind 0x00000400
11 Warp Door 0x00000800
12 Star/Key 0x00001000
13 Warp 0x00002000
14 Cannon Base 0x00004000
15 Bounce Top 0x00008000
16 Water Ring 0x00010000
17 Bully 0x00020000
18 Burns 0x00040000
19 Koopa Shell 0x00080000
20 (unused) 0x00100000
21 Hurtbox 2 0x00200000
22 Bounce Top/Bottom 0x00400000
23 Text 0x00800000
24 Tornado 0x01000000
25 Whirlpool 0x02000000
26 Clam/Bubba 0x04000000
27 BBH Entrance 0x08000000
28 Snufit Bullet 0x10000000
29 Shocks 0x20000000
30 Igloo Barrier 0x40000000
31 (unused) 0x80000000

Description

Hoot

Grabbable

Door

Hurtbox 1 & 2

Hurtbox 1 & 2 are identical with their behavior. If Mario makes contact with an object, it will simply knock him back and generally hurt him. Some examples include Chain Chomp, Mr. Blizzard, and bullet bills.

The only distinction between the two is solely based on what file they are in.

Coin

Cap

Pole

Koopa

Spiny

Breakable Block

Wind

Warp Door

Star/Key

Warp

Cannon Base

Bounce Top

Water Ring

Bully

Burns

Koopa Shell

Bounce Top/Bottom

Text

Tornado

Whirlpool

Clam/Bubba

BBH Entrance

Snufit Bullet

Shocks

Igloo Barrier