Document metatile behaviors
This commit is contained in:
@@ -1,33 +1,41 @@
|
||||
#ifndef GUARD_METATILE_BEHAVIORS
|
||||
#define GUARD_METATILE_BEHAVIORS
|
||||
|
||||
#define METATILE_COUNT 0xF0
|
||||
#define MB_NORMAL 0x00
|
||||
#define MB_01 0x01
|
||||
#define MB_UNUSED_01 0x01
|
||||
#define MB_TALL_GRASS 0x02
|
||||
//
|
||||
#define MB_CAVE 0x08
|
||||
//
|
||||
#define MB_RUNNING_DISALLOWED 0x0A
|
||||
#define MB_0B 0x0B
|
||||
#define MB_0C 0x0C
|
||||
#define MB_INDOOR_ENCOUNTER 0x0B
|
||||
#define MB_MOUNTAIN_TOP 0x0C
|
||||
//
|
||||
#define MB_POND_WATER 0x10
|
||||
#define MB_SEMI_DEEP_WATER 0x11
|
||||
#define MB_DEEP_WATER 0x12
|
||||
#define MB_WATERFALL 0x13
|
||||
//
|
||||
#define MB_OCEAN_WATER 0x15
|
||||
#define MB_PUDDLE 0x16
|
||||
#define MB_SHALLOW_WATER 0x17
|
||||
//
|
||||
#define MB_UNDERWATER_BLOCKED_ABOVE 0x19
|
||||
#define MB_1A 0x1A
|
||||
#define MB_1B 0x1B
|
||||
#define MB_UNUSED_WATER 0x1A
|
||||
#define MB_CELADON_WATER 0x1B
|
||||
//
|
||||
#define MB_STRENGTH_BUTTON 0x20
|
||||
#define MB_SAND 0x21
|
||||
#define MB_SEAWEED 0x22
|
||||
#define MB_ICE 0x23
|
||||
//
|
||||
#define MB_THIN_ICE 0x26
|
||||
#define MB_CRACKED_ICE 0x27
|
||||
#define MB_HOT_SPRINGS 0x28
|
||||
//
|
||||
#define MB_ROCK_STAIRS 0x2A
|
||||
#define MB_SAND_CAVE 0x2B
|
||||
//
|
||||
#define MB_IMPASSABLE_EAST 0x30
|
||||
#define MB_IMPASSABLE_WEST 0x31
|
||||
#define MB_IMPASSABLE_NORTH 0x32
|
||||
@@ -40,8 +48,7 @@
|
||||
#define MB_JUMP_WEST 0x39
|
||||
#define MB_JUMP_NORTH 0x3A
|
||||
#define MB_JUMP_SOUTH 0x3B
|
||||
#define MB_JUMP_SOUTHEAST 0x3E
|
||||
#define MB_JUMP_SOUTHWEST 0x3F
|
||||
//
|
||||
#define MB_WALK_EAST 0x40
|
||||
#define MB_WALK_WEST 0x41
|
||||
#define MB_WALK_NORTH 0x42
|
||||
@@ -50,7 +57,8 @@
|
||||
#define MB_SLIDE_WEST 0x45
|
||||
#define MB_SLIDE_NORTH 0x46
|
||||
#define MB_SLIDE_SOUTH 0x47
|
||||
#define MB_UNKNOWN_MOVEMENT_48 0x48
|
||||
#define MB_TRICK_HOUSE_PUZZLE_8_FLOOR 0x48
|
||||
//
|
||||
#define MB_EASTWARD_CURRENT 0x50
|
||||
#define MB_WESTWARD_CURRENT 0x51
|
||||
#define MB_NORTHWARD_CURRENT 0x52
|
||||
@@ -60,6 +68,7 @@
|
||||
#define MB_SPIN_UP 0x56
|
||||
#define MB_SPIN_DOWN 0x57
|
||||
#define MB_STOP_SPINNING 0x58
|
||||
//
|
||||
#define MB_CAVE_DOOR 0x60
|
||||
#define MB_LADDER 0x61
|
||||
#define MB_EAST_ARROW_WARP 0x62
|
||||
@@ -76,7 +85,9 @@
|
||||
#define MB_UP_LEFT_STAIR_WARP 0x6D
|
||||
#define MB_DOWN_RIGHT_STAIR_WARP 0x6E
|
||||
#define MB_DOWN_LEFT_STAIR_WARP 0x6F
|
||||
//
|
||||
#define MB_UNION_ROOM_WARP 0x71
|
||||
//
|
||||
#define MB_COUNTER 0x80
|
||||
#define MB_BOOKSHELF 0x81
|
||||
#define MB_POKEMART_SHELF 0x82
|
||||
@@ -90,12 +101,12 @@
|
||||
#define MB_KITCHEN 0x8A
|
||||
#define MB_DRESSER 0x8B
|
||||
#define MB_SNACKS 0x8C
|
||||
#define MB_8D 0x8D
|
||||
#define MB_CABLE_CLUB_WIRELESS_MONITOR 0x8D
|
||||
#define MB_BATTLE_RECORDS 0x8E
|
||||
#define MB_QUESTIONNAIRE 0x8F
|
||||
#define MB_FOOD 0x90
|
||||
#define MB_INDIGO_PLATEAU_MARK_DPAD 0x91
|
||||
#define MB_INDIGO_PLATEAU_MARK_2_DPAD 0x92
|
||||
#define MB_INDIGO_PLATEAU_SIGN_1 0x91
|
||||
#define MB_INDIGO_PLATEAU_SIGN_2 0x92
|
||||
#define MB_BLUEPRINTS 0x93
|
||||
#define MB_PAINTING 0x94
|
||||
#define MB_POWER_PLANT_MACHINE 0x95
|
||||
@@ -106,13 +117,17 @@
|
||||
#define MB_TRASH_BIN 0x9A
|
||||
#define MB_CUP 0x9B
|
||||
#define MB_PORTHOLE 0x9C
|
||||
#define MB_WINDOW 0x9D
|
||||
#define MB_BLINKING_LIGHTS 0x9E
|
||||
#define MB_NEATLY_LINED_UP_TOOLS 0x9F
|
||||
#define MB_IMPRESSIVE_MACHINE 0xA0
|
||||
#define MB_VIDEO_GAME 0xA1
|
||||
#define MB_BURGLARY 0xA2
|
||||
#define MB_TRAINER_TOWER_MONITOR 0xA3
|
||||
//
|
||||
#define MB_CYCLING_ROAD_PULL_DOWN 0xD0
|
||||
#define MB_CYCLING_ROAD_PULL_DOWN_GRASS 0xD1
|
||||
//
|
||||
#define NUM_METATILE_BEHAVIORS 0xF0
|
||||
|
||||
#endif // GUARD_METATILE_BEHAVIORS
|
||||
|
||||
+13
-29
@@ -31,10 +31,9 @@ bool8 MetatileBehavior_IsEastArrowWarp(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsWestArrowWarp(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsNorthArrowWarp(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsSouthArrowWarp(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_UnusedIsArrowWarp(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsForcedMovementTile(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsIce_2(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsUnknownMovement48(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsTrickHouseSlipperyFloor(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsWalkNorth(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsWalkSouth(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsWalkWest(u8 metatileBehavior);
|
||||
@@ -48,18 +47,16 @@ bool8 MetatileBehavior_IsSlideSouth(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsSlideWest(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsSlideEast(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsCounter(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsPlayerFacingTVScreen(u8 tile, u8 playerDirection);
|
||||
bool8 MetatileBehavior_IsPlayerFacingTVScreen(u8 metatileBehavior, u8 playerDirection);
|
||||
bool8 MetatileBehavior_IsPC(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_HasRipples(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsPuddle(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsTallGrass_2(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsTallGrass(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsLongGrass(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_ReturnFalse_4(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsAshGrass(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsFootprints(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsBridge(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_GetBridgeType(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_UnusedIsMB_01(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_UnusedIsTallGrass(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsIndoorEncounter(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsMountain(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsDiveable(u8 metatileBehavior);
|
||||
@@ -68,7 +65,6 @@ bool8 MetatileBehavior_IsShallowFlowingWater(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsThinIce(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsCrackedIce(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsDeepSemiDeepOrSplashingWater(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsMB1A(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsSurfableAndNotWaterfall(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsEastBlocked(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsWestBlocked(u8 metatileBehavior);
|
||||
@@ -78,24 +74,15 @@ bool8 MetatileBehavior_IsShortGrass(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsHotSprings(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsWaterfall(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsFortreeBridge(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_UnusedReturnFalse(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_UnusedReturnFalse_2(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_UnusedReturnFalse_3(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_UnusedReturnFalse_4(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsPacifidlogLog(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_ReturnFalse_11(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsRegionMap(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_UnusedReturnFalse_5(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_UnusedReturnFalse_6(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_UnusedReturnFalse_7(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_UnusedReturnFalse_8(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsLavaridgeB1FWarp(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsLavaridge1FWarp(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsWarpPad(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsUnionRoomWarp(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsWater(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsFallWarp(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_ReturnFalse_13(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsCrackedFloor(u8 metatileBehavior);
|
||||
bool32 MetatileBehavior_IsCyclingRoadPullDownTile(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsCyclingRoadPullDownTileGrass(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsBumpySlope(u8 metatileBehavior);
|
||||
@@ -105,15 +92,10 @@ bool8 MetatileBehavior_IsVerticalRail(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsHorizontalRail(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsSeaweed(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsRunningDisallowed(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_UnusedReturnFalse_9(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsBookshelf(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsPokeMartShelf(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsPlayerFacingPokemonCenterSign(u8 tile, u8 playerDirection);
|
||||
bool8 MetatileBehavior_IsPlayerFacingPokeMartSign(u8 tile, u8 playerDirection);
|
||||
bool8 MetatileBehavior_UnusedReturnFalse_10(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_UnusedReturnFalse_11(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_UnusedReturnFalse_12(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_UnusedReturnFalse_13(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsPlayerFacingPokemonCenterSign(u8 metatileBehavior, u8 playerDirection);
|
||||
bool8 MetatileBehavior_IsPlayerFacingPokeMartSign(u8 metatileBehavior, u8 playerDirection);
|
||||
bool8 TestMetatileAttributeBit(u8 attr, u8 bitmask);
|
||||
bool8 MetatileBehavior_IsSpinRight(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsSpinLeft(u8 metatileBehavior);
|
||||
@@ -127,11 +109,11 @@ bool8 MetatileBehavior_IsKitchen(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsDresser(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsSnacks(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsStrengthButton(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsPlayerFacingCableClubWirelessMonitor(u8 tile, u8 playerDirection);
|
||||
bool8 MetatileBehavior_IsPlayerFacingBattleRecords(u8 tile, u8 playerDirection);
|
||||
bool8 MetatileBehavior_IsPlayerFacingCableClubWirelessMonitor(u8 metatileBehavior, u8 playerDirection);
|
||||
bool8 MetatileBehavior_IsPlayerFacingBattleRecords(u8 metatileBehavior, u8 playerDirection);
|
||||
bool8 MetatileBehavior_IsQuestionnaire(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsIndigoPlateauMark(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsIndigoPlateauMark2(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsIndigoPlateauSign1(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsIndigoPlateauSign2(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsFood(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsRockStairs(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsBlueprints(u8 metatileBehavior);
|
||||
@@ -151,5 +133,7 @@ bool8 MetatileBehavior_IsImpressiveMachine(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsVideoGame(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsBurglary(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsTrainerTowerMonitor(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsSecretBaseJumpMat(u8 metatileBehavior);
|
||||
bool8 MetatileBehavior_IsSecretBaseSpinMat(u8 metatileBehavior);
|
||||
|
||||
#endif // GUARD_METATILE_BEHAVIOR
|
||||
|
||||
Reference in New Issue
Block a user