mirror of
https://github.com/pret/pmd-sky.git
synced 2026-09-26 04:12:52 -05:00
Merge pull request #189 from AnonymousRandomPerson/main
Some checks failed
build / build (push) Has been cancelled
Some checks failed
build / build (push) Has been cancelled
Decomped more AI funcs
This commit is contained in:
@@ -1,4 +1,23 @@
|
||||
#pragma once
|
||||
.public DTCM_BSS
|
||||
.public EnableIrqFlag
|
||||
.public G3_MultMtx43
|
||||
.public GeomSetTexImageParam
|
||||
.public GeomSetVertexCoord16
|
||||
.public GetAllBaseForms
|
||||
.public GetWindow
|
||||
.public MONSTER_DATA_TABLE_PTR
|
||||
.public MemcpyFast
|
||||
.public MemsetFast
|
||||
.public OS_IRQTable
|
||||
.public RENDER_3D
|
||||
.public RENDER_3D_FUNCTIONS
|
||||
.public Rgb8ToRgb5
|
||||
.public SetIrqFlag
|
||||
.public ShouldMonsterRunAwayAndShowEffect
|
||||
.public TRIG_TABLE
|
||||
.public UpdateWindow
|
||||
.public WINDOW_LIST
|
||||
.public _02099724
|
||||
.public _02099734
|
||||
.public _02099744
|
||||
@@ -10,77 +29,7 @@
|
||||
.public _022A88FC
|
||||
.public _022B966C
|
||||
.public _022B99D0
|
||||
.public AbilityIsActiveVeneer
|
||||
.public abs
|
||||
.public AI_CONFUSED_NO_ATTACK_CHANCE
|
||||
.public AI_REGULAR_ATTACK_WEIGHTS
|
||||
.public AiConsiderMove
|
||||
.public AreMovesEnabled
|
||||
.public CanAiMonsterMoveInDirection
|
||||
.public CanAiUseMove
|
||||
.public CanSeeTarget
|
||||
.public CanTargetEntity
|
||||
.public CanTargetPosition
|
||||
.public CeilFixedPoint
|
||||
.public CheckVariousConditions
|
||||
.public DIRECTIONS_XY
|
||||
.public DTCM_BSS
|
||||
.public DUNGEON_PTR
|
||||
.public DungeonRandInt
|
||||
.public DungeonRandOutcome__022EAB20
|
||||
.public EnableIrqFlag
|
||||
.public EntityIsValid__0230827C
|
||||
.public G3_MultMtx43
|
||||
.public GeomSetTexImageParam
|
||||
.public GeomSetVertexCoord16
|
||||
.public GetAllBaseForms
|
||||
.public GetChebyshevDistance
|
||||
.public GetDirectionTowardsPosition
|
||||
.public GetItemInfo
|
||||
.public GetMoveAiWeight
|
||||
.public GetMoveTypeForMonster
|
||||
.public GetTile
|
||||
.public GetTileAtEntity
|
||||
.public GetTileSafe
|
||||
.public GetTreatmentBetweenMonsters
|
||||
.public GetVisibilityRange
|
||||
.public GetWindow
|
||||
.public HasDropeyeStatus
|
||||
.public InitMove
|
||||
.public IqSkillIsEnabled
|
||||
.public IsBagFull
|
||||
.public IsChargingTwoTurnMove
|
||||
.public IsMonsterCornered
|
||||
.public IsTacticSet
|
||||
.public MemcpyFast
|
||||
.public MemsetFast
|
||||
.public MONSTER_DATA_TABLE_PTR
|
||||
.public MonsterCannotAttack
|
||||
.public OS_IRQTable
|
||||
.public ov29_022E935C
|
||||
.public ov29_022FBDF0
|
||||
.public ov29_022FBE04
|
||||
.public ov29_022FF908
|
||||
.public ov29_02301498
|
||||
.public ov29_02301594
|
||||
.public ov29_02302200
|
||||
.public ov29_023082C4
|
||||
.public ov29_02348D00
|
||||
.public ov29_0235177C
|
||||
.public ov29_02353530
|
||||
.public RENDER_3D
|
||||
.public RENDER_3D_FUNCTIONS
|
||||
.public Rgb8ToRgb5
|
||||
.public SetActionPassTurnOrWalk
|
||||
.public SetActionRegularAttack
|
||||
.public SetActionStruggle
|
||||
.public SetActionUseMoveAi
|
||||
.public SetActionUseMoveAi
|
||||
.public SetIrqFlag
|
||||
.public SetMonsterActionFields
|
||||
.public ShouldMonsterFollowLeader
|
||||
.public ShouldMonsterHeadToStairs
|
||||
.public ShouldMonsterRunAwayAndShowEffect
|
||||
.public sub_0201BD50
|
||||
.public sub_0201BD80
|
||||
.public sub_0202760C
|
||||
@@ -91,10 +40,3 @@
|
||||
.public sub_0207A324
|
||||
.public sub_02080EF0
|
||||
.public sub_02080F30
|
||||
.public TargetRegularAttack
|
||||
.public TRIG_TABLE
|
||||
.public UpdateAiTargetPos
|
||||
.public UpdateAiTargetPos
|
||||
.public UpdateAiTargetPos
|
||||
.public UpdateWindow
|
||||
.public WINDOW_LIST
|
||||
|
||||
8
asm/include/itcm_01FFB2C8.inc
Normal file
8
asm/include/itcm_01FFB2C8.inc
Normal file
@@ -0,0 +1,8 @@
|
||||
#pragma once
|
||||
.public CanAiMonsterMoveInDirection
|
||||
.public DIRECTIONS_XY
|
||||
.public DUNGEON_PTR
|
||||
.public DungeonRandInt
|
||||
.public FACING_DIRECTION_INCREMENTS
|
||||
.public GetTile
|
||||
.public IsAtJunction
|
||||
@@ -1,9 +1,4 @@
|
||||
#pragma once
|
||||
.public DEFAULT_MEMORY_ARENA_MEMORY
|
||||
.public Debug_FatalError
|
||||
.public Debug_Print0
|
||||
.public MEMORY_ALLOCATION_ARENA_GETTERS
|
||||
.public MemLocateSet
|
||||
.public _02090B40
|
||||
.public _02090B70
|
||||
.public _02090BA0
|
||||
@@ -12,6 +7,11 @@
|
||||
.public _020B3384
|
||||
.public _020B33A0
|
||||
.public _020B33C0
|
||||
.public Debug_FatalError
|
||||
.public Debug_Print0
|
||||
.public DEFAULT_MEMORY_ARENA_MEMORY
|
||||
.public MemLocateSet
|
||||
.public MEMORY_ALLOCATION_ARENA_GETTERS
|
||||
.public sub_02002C40
|
||||
.public sub_02002CAC
|
||||
.public sub_02002CB4
|
||||
|
||||
@@ -1,10 +1,4 @@
|
||||
#pragma once
|
||||
.public Debug_FatalError
|
||||
.public FindAvailableMemBlock
|
||||
.public InitMemArena
|
||||
.public MEMORY_ALLOCATION_ARENA_GETTERS
|
||||
.public MemAllocFlagsToBlockType
|
||||
.public SplitMemBlock
|
||||
.public _02090B40
|
||||
.public _02090BA0
|
||||
.public _02090BC8
|
||||
@@ -13,5 +7,11 @@
|
||||
.public _020B3380
|
||||
.public _020B3384
|
||||
.public _020B33A0
|
||||
.public Debug_FatalError
|
||||
.public FindAvailableMemBlock
|
||||
.public InitMemArena
|
||||
.public MemAllocFlagsToBlockType
|
||||
.public MEMORY_ALLOCATION_ARENA_GETTERS
|
||||
.public SplitMemBlock
|
||||
.public sub_02002CB4
|
||||
.public sub_02002E98
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
@@ -1,13 +1,4 @@
|
||||
#pragma once
|
||||
.public CardPullOut
|
||||
.public Debug_Print0
|
||||
.public GX_DispOff
|
||||
.public InitMemAllocTable
|
||||
.public MemAlloc
|
||||
.public OS_GetLockID
|
||||
.public Rand16Bit
|
||||
.public StartThread
|
||||
.public WaitForInterrupt
|
||||
.public _02092464
|
||||
.public _020AEF30
|
||||
.public _020AEF58
|
||||
@@ -22,6 +13,14 @@
|
||||
.public _0229B110
|
||||
.public _0229B114
|
||||
.public _022B966C
|
||||
.public CardPullOut
|
||||
.public Debug_Print0
|
||||
.public GX_DispOff
|
||||
.public InitMemAllocTable
|
||||
.public MemAlloc
|
||||
.public OS_GetLockID
|
||||
.public Rand16Bit
|
||||
.public StartThread
|
||||
.public sub_02003AD0
|
||||
.public sub_020059A8
|
||||
.public sub_02079844
|
||||
@@ -43,3 +42,4 @@
|
||||
.public sub_0208346C
|
||||
.public sub_0208347C
|
||||
.public sub_020845D8
|
||||
.public WaitForInterrupt
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
#pragma once
|
||||
.public CardPullOutWithStatus
|
||||
.public DebugPrintSystemClock
|
||||
.public Debug_FatalError
|
||||
.public Debug_Print0
|
||||
.public MemAlloc
|
||||
.public _02092908
|
||||
.public _02092978
|
||||
.public _0209297C
|
||||
@@ -21,6 +16,11 @@
|
||||
.public _022A3698
|
||||
.public _022A369C
|
||||
.public _022A36C4
|
||||
.public CardPullOutWithStatus
|
||||
.public Debug_FatalError
|
||||
.public Debug_Print0
|
||||
.public DebugPrintSystemClock
|
||||
.public MemAlloc
|
||||
.public strcpy
|
||||
.public sub_02002778
|
||||
.public sub_020027E8
|
||||
|
||||
@@ -1,56 +1,4 @@
|
||||
#pragma once
|
||||
.public ArrayFill32Fast
|
||||
.public CART_REMOVED_IMG_DATA
|
||||
.public Debug_Print0
|
||||
.public DecompressAtFromMemoryPointer
|
||||
.public G2x_SetBlendAlpha_
|
||||
.public G3X_ClearFifo
|
||||
.public G3X_Init
|
||||
.public G3X_SetClearColor
|
||||
.public GXS_BeginLoadBGExtPltt
|
||||
.public GXS_BeginLoadOBJExtPltt
|
||||
.public GXS_EndLoadBGExtPltt
|
||||
.public GXS_EndLoadOBJExtPltt
|
||||
.public GXS_SetGraphicsMode
|
||||
.public GX_BeginLoadBGExtPltt
|
||||
.public GX_BeginLoadOBJExtPltt
|
||||
.public GX_DisableBankForBG
|
||||
.public GX_DisableBankForBGExtPltt
|
||||
.public GX_DisableBankForLCDC
|
||||
.public GX_DisableBankForOBJ
|
||||
.public GX_DisableBankForOBJExtPltt
|
||||
.public GX_DisableBankForSubBG
|
||||
.public GX_DisableBankForSubBGExtPltt
|
||||
.public GX_DisableBankForSubOBJ
|
||||
.public GX_DisableBankForTex
|
||||
.public GX_DisableBankForTexPltt
|
||||
.public GX_DispOff
|
||||
.public GX_DispOn
|
||||
.public GX_EndLoadBGExtPltt
|
||||
.public GX_EndLoadOBJExtPltt
|
||||
.public GX_Init
|
||||
.public GX_SetBankForBG
|
||||
.public GX_SetBankForBGExtPltt
|
||||
.public GX_SetBankForLCDC
|
||||
.public GX_SetBankForOBJ
|
||||
.public GX_SetBankForOBJExtPltt
|
||||
.public GX_SetBankForSubBG
|
||||
.public GX_SetBankForSubBGExtPltt
|
||||
.public GX_SetBankForSubOBJ
|
||||
.public GX_SetBankForTex
|
||||
.public GX_SetBankForTexPltt
|
||||
.public GX_SetGraphicsMode
|
||||
.public GXi_DmaId
|
||||
.public GXx_SetMasterBrightness_
|
||||
.public GetLanguage
|
||||
.public MemAlloc
|
||||
.public MemFree
|
||||
.public MemZero16
|
||||
.public MemZero32
|
||||
.public Memcpy32
|
||||
.public MemcpySimple
|
||||
.public Rgb8ToRgb5
|
||||
.public UnloadFile
|
||||
.public _0200A314
|
||||
.public _0200A344
|
||||
.public _02092A04
|
||||
@@ -112,6 +60,57 @@
|
||||
.public _022A3805
|
||||
.public _022A3806
|
||||
.public _s32_div_f
|
||||
.public ArrayFill32Fast
|
||||
.public CART_REMOVED_IMG_DATA
|
||||
.public Debug_Print0
|
||||
.public DecompressAtFromMemoryPointer
|
||||
.public G2x_SetBlendAlpha_
|
||||
.public G3X_ClearFifo
|
||||
.public G3X_Init
|
||||
.public G3X_SetClearColor
|
||||
.public GetLanguage
|
||||
.public GX_BeginLoadBGExtPltt
|
||||
.public GX_BeginLoadOBJExtPltt
|
||||
.public GX_DisableBankForBG
|
||||
.public GX_DisableBankForBGExtPltt
|
||||
.public GX_DisableBankForLCDC
|
||||
.public GX_DisableBankForOBJ
|
||||
.public GX_DisableBankForOBJExtPltt
|
||||
.public GX_DisableBankForSubBG
|
||||
.public GX_DisableBankForSubBGExtPltt
|
||||
.public GX_DisableBankForSubOBJ
|
||||
.public GX_DisableBankForTex
|
||||
.public GX_DisableBankForTexPltt
|
||||
.public GX_DispOff
|
||||
.public GX_DispOn
|
||||
.public GX_EndLoadBGExtPltt
|
||||
.public GX_EndLoadOBJExtPltt
|
||||
.public GX_Init
|
||||
.public GX_SetBankForBG
|
||||
.public GX_SetBankForBGExtPltt
|
||||
.public GX_SetBankForLCDC
|
||||
.public GX_SetBankForOBJ
|
||||
.public GX_SetBankForOBJExtPltt
|
||||
.public GX_SetBankForSubBG
|
||||
.public GX_SetBankForSubBGExtPltt
|
||||
.public GX_SetBankForSubOBJ
|
||||
.public GX_SetBankForTex
|
||||
.public GX_SetBankForTexPltt
|
||||
.public GX_SetGraphicsMode
|
||||
.public GXi_DmaId
|
||||
.public GXS_BeginLoadBGExtPltt
|
||||
.public GXS_BeginLoadOBJExtPltt
|
||||
.public GXS_EndLoadBGExtPltt
|
||||
.public GXS_EndLoadOBJExtPltt
|
||||
.public GXS_SetGraphicsMode
|
||||
.public GXx_SetMasterBrightness_
|
||||
.public MemAlloc
|
||||
.public Memcpy32
|
||||
.public MemcpySimple
|
||||
.public MemFree
|
||||
.public MemZero16
|
||||
.public MemZero32
|
||||
.public Rgb8ToRgb5
|
||||
.public sub_02004FF8
|
||||
.public sub_02005D30
|
||||
.public sub_02005E10
|
||||
@@ -123,3 +122,4 @@
|
||||
.public sub_0207A2DC
|
||||
.public sub_0207C164
|
||||
.public sub_02082420
|
||||
.public UnloadFile
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#pragma once
|
||||
.public DUNGEON_MOVE_TABLES
|
||||
.public _02098D64
|
||||
.public DUNGEON_MOVE_TABLES
|
||||
|
||||
@@ -1,23 +1,4 @@
|
||||
#pragma once
|
||||
.public AnalyzeText
|
||||
.public DrawChar
|
||||
.public FileRom_HandleRead
|
||||
.public FileRom_HandleSeek
|
||||
.public FileRom_InitDataTransfer
|
||||
.public FileRom_StopDataTransfer
|
||||
.public GetColorCodePaletteOffset
|
||||
.public GetHeldButtons
|
||||
.public GetPressedButtons
|
||||
.public GetReleasedStylus
|
||||
.public GetWindow
|
||||
.public GetWindowRectangle
|
||||
.public HandleSir0Translation
|
||||
.public LoadFileFromRom
|
||||
.public PreprocessStringFromId
|
||||
.public RandInt
|
||||
.public TBL_TALK_GROUP_STRING_ID_START
|
||||
.public UnloadFile
|
||||
.public UpdateWindow
|
||||
.public _0209AB60
|
||||
.public _0209AB9C
|
||||
.public _0209ABF0
|
||||
@@ -38,6 +19,22 @@
|
||||
.public _022A7A64
|
||||
.public _022A92B4_JP
|
||||
.public _022A92C4
|
||||
.public AnalyzeText
|
||||
.public DrawChar
|
||||
.public FileRom_HandleRead
|
||||
.public FileRom_HandleSeek
|
||||
.public FileRom_InitDataTransfer
|
||||
.public FileRom_StopDataTransfer
|
||||
.public GetColorCodePaletteOffset
|
||||
.public GetHeldButtons
|
||||
.public GetPressedButtons
|
||||
.public GetReleasedStylus
|
||||
.public GetWindow
|
||||
.public GetWindowRectangle
|
||||
.public HandleSir0Translation
|
||||
.public LoadFileFromRom
|
||||
.public PreprocessStringFromId
|
||||
.public RandInt
|
||||
.public sprintf
|
||||
.public sub_01FF905C
|
||||
.public sub_01FF9130_JP
|
||||
@@ -71,3 +68,6 @@
|
||||
.public sub_020288DC
|
||||
.public sub_020288FC
|
||||
.public sub_0204AE60
|
||||
.public TBL_TALK_GROUP_STRING_ID_START
|
||||
.public UnloadFile
|
||||
.public UpdateWindow
|
||||
|
||||
@@ -1,63 +1,4 @@
|
||||
#pragma once
|
||||
.public ADVANCED_MENU_DEFAULT_WINDOW_PARAMS
|
||||
.public ADVANCED_TEXT_BOX_DEFAULT_WINDOW_PARAMS
|
||||
.public ALERT_ANIMATION_CONTROL
|
||||
.public ALERT_BOX_DEFAULT_WINDOW_PARAMS
|
||||
.public ALERT_SPRITE_ID
|
||||
.public AREA_NAME_BOX_DEFAULT_WINDOW_PARAMS
|
||||
.public AnalyzeText
|
||||
.public COLLECTION_MENU_DEFAULT_WINDOW_PARAMS
|
||||
.public CONTROLS_CHART_DEFAULT_WINDOW_PARAMS
|
||||
.public CURSOR_16_ANIMATION_CONTROL
|
||||
.public CURSOR_16_SPRITE_ID
|
||||
.public CURSOR_ANIMATION_CONTROL
|
||||
.public DEBUG_MENU_DEFAULT_WINDOW_PARAMS
|
||||
.public DIALOGUE_BOX_DEFAULT_WINDOW_PARAMS
|
||||
.public DecompressAtHalf
|
||||
.public DelayWteFree
|
||||
.public DrawTextInWindow
|
||||
.public FileClose
|
||||
.public FileRom_HandleOpen
|
||||
.public FileRom_HandleRead
|
||||
.public FileRom_HandleSeek
|
||||
.public FileRom_InitDataTransfer
|
||||
.public FileRom_StopDataTransfer
|
||||
.public FileRom_Veneer_FileInit
|
||||
.public GetHeldButtons
|
||||
.public GetPressedButtons
|
||||
.public GetReleasedStylus
|
||||
.public GetStringFromFileVeneer
|
||||
.public InitAnimationControlWithSet__0201C0B0
|
||||
.public InitPortraitParams
|
||||
.public InitPreprocessorArgs
|
||||
.public InitRender3dElement64
|
||||
.public IsValidPortrait
|
||||
.public KeyWaitInit
|
||||
.public LoadFileFromRom
|
||||
.public LoadPortrait
|
||||
.public LoadWanTableEntry
|
||||
.public LoadWteFromRom
|
||||
.public MemAlloc
|
||||
.public MemFree
|
||||
.public MemZero
|
||||
.public Memcpy32
|
||||
.public MemcpySimple
|
||||
.public OPTIONS_MENU_DEFAULT_WINDOW_PARAMS
|
||||
.public PARENT_MENU_DEFAULT_WINDOW_PARAMS
|
||||
.public PORTRAIT_BOX_DEFAULT_WINDOW_PARAMS
|
||||
.public PlaySeVolumeWrapper
|
||||
.public PreprocessString
|
||||
.public PreprocessStringFromId
|
||||
.public SCROLL_BOX_DEFAULT_WINDOW_PARAMS
|
||||
.public SIMPLE_MENU_DEFAULT_WINDOW_PARAMS
|
||||
.public SetAnimationForAnimationControl
|
||||
.public SetSpriteIdForAnimationControl
|
||||
.public TEAM_SELECTION_MENU_DEFAULT_WINDOW_PARAMS
|
||||
.public TEXT_BOX_DEFAULT_WINDOW_PARAMS
|
||||
.public UnloadFile
|
||||
.public UnloadOverlay
|
||||
.public WAN_TABLE
|
||||
.public WINDOW_LIST
|
||||
.public _0209AC4C
|
||||
.public _0209AC50
|
||||
.public _0209AC54
|
||||
@@ -146,7 +87,60 @@
|
||||
.public _022AA35C
|
||||
.public _022AAC68
|
||||
.public _s32_div_f
|
||||
.public ADVANCED_MENU_DEFAULT_WINDOW_PARAMS
|
||||
.public ADVANCED_TEXT_BOX_DEFAULT_WINDOW_PARAMS
|
||||
.public ALERT_ANIMATION_CONTROL
|
||||
.public ALERT_BOX_DEFAULT_WINDOW_PARAMS
|
||||
.public ALERT_SPRITE_ID
|
||||
.public AnalyzeText
|
||||
.public AREA_NAME_BOX_DEFAULT_WINDOW_PARAMS
|
||||
.public COLLECTION_MENU_DEFAULT_WINDOW_PARAMS
|
||||
.public CONTROLS_CHART_DEFAULT_WINDOW_PARAMS
|
||||
.public CURSOR_16_ANIMATION_CONTROL
|
||||
.public CURSOR_16_SPRITE_ID
|
||||
.public CURSOR_ANIMATION_CONTROL
|
||||
.public DEBUG_MENU_DEFAULT_WINDOW_PARAMS
|
||||
.public DecompressAtHalf
|
||||
.public DelayWteFree
|
||||
.public DIALOGUE_BOX_DEFAULT_WINDOW_PARAMS
|
||||
.public DrawTextInWindow
|
||||
.public FileClose
|
||||
.public FileRom_HandleOpen
|
||||
.public FileRom_HandleRead
|
||||
.public FileRom_HandleSeek
|
||||
.public FileRom_InitDataTransfer
|
||||
.public FileRom_StopDataTransfer
|
||||
.public FileRom_Veneer_FileInit
|
||||
.public GetHeldButtons
|
||||
.public GetPressedButtons
|
||||
.public GetReleasedStylus
|
||||
.public GetStringFromFileVeneer
|
||||
.public InitAnimationControlWithSet__0201C0B0
|
||||
.public InitPortraitParams
|
||||
.public InitPreprocessorArgs
|
||||
.public InitRender3dElement64
|
||||
.public IsValidPortrait
|
||||
.public KeyWaitInit
|
||||
.public LoadFileFromRom
|
||||
.public LoadPortrait
|
||||
.public LoadWanTableEntry
|
||||
.public LoadWteFromRom
|
||||
.public MemAlloc
|
||||
.public Memcpy32
|
||||
.public MemcpySimple
|
||||
.public MemFree
|
||||
.public memset
|
||||
.public MemZero
|
||||
.public OPTIONS_MENU_DEFAULT_WINDOW_PARAMS
|
||||
.public PARENT_MENU_DEFAULT_WINDOW_PARAMS
|
||||
.public PlaySeVolumeWrapper
|
||||
.public PORTRAIT_BOX_DEFAULT_WINDOW_PARAMS
|
||||
.public PreprocessString
|
||||
.public PreprocessStringFromId
|
||||
.public SCROLL_BOX_DEFAULT_WINDOW_PARAMS
|
||||
.public SetAnimationForAnimationControl
|
||||
.public SetSpriteIdForAnimationControl
|
||||
.public SIMPLE_MENU_DEFAULT_WINDOW_PARAMS
|
||||
.public strcpy
|
||||
.public sub_01FF9128
|
||||
.public sub_01FF929C
|
||||
@@ -202,3 +196,9 @@
|
||||
.public sub_020469BC
|
||||
.public sub_02048240
|
||||
.public sub_0204AE60
|
||||
.public TEAM_SELECTION_MENU_DEFAULT_WINDOW_PARAMS
|
||||
.public TEXT_BOX_DEFAULT_WINDOW_PARAMS
|
||||
.public UnloadFile
|
||||
.public UnloadOverlay
|
||||
.public WAN_TABLE
|
||||
.public WINDOW_LIST
|
||||
|
||||
@@ -155,6 +155,7 @@
|
||||
.public CopyMovesetFrom
|
||||
.public CopyMovesetTo
|
||||
.public CopyNStringFromId
|
||||
.public CosAbs4096
|
||||
.public CreateCollectionMenu
|
||||
.public CreatePortraitBox
|
||||
.public Debug_GetDebugFlag
|
||||
@@ -375,7 +376,6 @@
|
||||
.public StrncpyName
|
||||
.public StrncpySimple
|
||||
.public StrncpySimpleNoPadSafe
|
||||
.public CosAbs4096
|
||||
.public sub_02001AB0
|
||||
.public sub_020022C4
|
||||
.public sub_020022D0
|
||||
|
||||
@@ -17,6 +17,10 @@
|
||||
.public DoMoveCrunch
|
||||
.public DoMoveCrushClaw
|
||||
.public DoMoveCurse
|
||||
.public DoMoveDamage__02325DC0
|
||||
.public DoMoveDamage__0232A500
|
||||
.public DoMoveDamage__0232B8B0
|
||||
.public DoMoveDamage__0232DD88
|
||||
.public DoMoveDamageBoostAllStats
|
||||
.public DoMoveDamageBurn10FlameWheel
|
||||
.public DoMoveDamageConfuse10
|
||||
@@ -40,10 +44,6 @@
|
||||
.public DoMoveDamageStealItem
|
||||
.public DoMoveDamageWeightDependent
|
||||
.public DoMoveDamageWithRecoil
|
||||
.public DoMoveDamage__02325DC0
|
||||
.public DoMoveDamage__0232A500
|
||||
.public DoMoveDamage__0232B8B0
|
||||
.public DoMoveDamage__0232DD88
|
||||
.public DoMoveDefog
|
||||
.public DoMoveDestinyBond
|
||||
.public DoMoveDoubleEdge
|
||||
@@ -69,8 +69,8 @@
|
||||
.public DoMoveGust
|
||||
.public DoMoveGyroBall
|
||||
.public DoMoveHammerArm
|
||||
.public DoMoveHeadSmash
|
||||
.public DoMoveHeadbutt
|
||||
.public DoMoveHeadSmash
|
||||
.public DoMoveHeartSwap
|
||||
.public DoMoveHiddenPower
|
||||
.public DoMoveHornDrill
|
||||
@@ -119,8 +119,8 @@
|
||||
.public DoMoveSwapItems
|
||||
.public DoMoveTaunt
|
||||
.public DoMoveThunderFang
|
||||
.public DoMoveThunderWave
|
||||
.public DoMoveThundershock
|
||||
.public DoMoveThunderWave
|
||||
.public DoMoveTickle
|
||||
.public DoMoveTorment
|
||||
.public DoMoveToxic
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
@@ -5,17 +5,9 @@
|
||||
.public GetItemCategoryVeneer
|
||||
.public GetItemInfo
|
||||
.public GetTile
|
||||
.public ITEM_CATEGORY_ACTIONS
|
||||
.public IsHM
|
||||
.public ITEM_CATEGORY_ACTIONS
|
||||
.public ItemZInit
|
||||
.public RemoveEmptyItemsInBagWrapper
|
||||
.public RemoveEquivItemNoHole
|
||||
.public RemoveGroundItem
|
||||
.public RemoveItem
|
||||
.public SetItemAcquired
|
||||
.public SetMonsterActionFields
|
||||
.public ShouldDisplayEntityWrapper
|
||||
.public SpawnItem
|
||||
.public ov29_02347040
|
||||
.public ov29_02352074
|
||||
.public ov29_0237C918
|
||||
@@ -24,3 +16,11 @@
|
||||
.public ov29_0237C920
|
||||
.public ov29_0237C922
|
||||
.public ov29_0237C96C
|
||||
.public RemoveEmptyItemsInBagWrapper
|
||||
.public RemoveEquivItemNoHole
|
||||
.public RemoveGroundItem
|
||||
.public RemoveItem
|
||||
.public SetItemAcquired
|
||||
.public SetMonsterActionFields
|
||||
.public ShouldDisplayEntityWrapper
|
||||
.public SpawnItem
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#pragma once
|
||||
.public AbilityIsActiveVeneer
|
||||
.public CASTFORM_WEATHER_ATTRIBUTE_TABLE
|
||||
.public DUNGEON_PTR
|
||||
.public DefenderAbilityIsActive__022F96CC
|
||||
.public DUNGEON_PTR
|
||||
.public DungeonRandInt
|
||||
.public EntityIsValid__022F7364
|
||||
.public GetAbility
|
||||
@@ -15,11 +15,11 @@
|
||||
.public LogMessageByIdWithPopupCheckUserTarget
|
||||
.public LowerSpeed
|
||||
.public MonsterIsType
|
||||
.public SetPreprocessorArgsIdVal
|
||||
.public SubstitutePlaceholderStringTags
|
||||
.public TryEndStatusWithAbility
|
||||
.public WEATHER_BALL_TYPE_TABLE
|
||||
.public ov10_022C4C6E
|
||||
.public ov10_022C4C70
|
||||
.public ov29_022E6260
|
||||
.public ov29_022E647C
|
||||
.public SetPreprocessorArgsIdVal
|
||||
.public SubstitutePlaceholderStringTags
|
||||
.public TryEndStatusWithAbility
|
||||
.public WEATHER_BALL_TYPE_TABLE
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
.public DUNGEON_PTR
|
||||
.public DefenderAbilityIsActive__02301A0C
|
||||
.public DUNGEON_PTR
|
||||
.public EntityIsValid__023000E4
|
||||
.public ov29_022FAFD4
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
.public AbilityIsActiveVeneer
|
||||
.public abs
|
||||
.public ActivateMotorDrive
|
||||
.public AddExpSpecial
|
||||
.public AdvanceFrame
|
||||
@@ -10,15 +11,15 @@
|
||||
.public ChangeDungeonMusic
|
||||
.public ChangeMonsterAnimation
|
||||
.public DAMAGE_STRING_IDS
|
||||
.public DUNGEON_PTR
|
||||
.public DefenderAbilityIsActive__0230A940
|
||||
.public DisplayAnimatedNumbers
|
||||
.public DUNGEON_PTR
|
||||
.public DungeonRandOutcome__022EAB20
|
||||
.public EndCurseClassStatus
|
||||
.public EndInvisibleClassStatus
|
||||
.public EntityIsValid__02308FBC
|
||||
.public ExclusiveItemEffectIsActiveWithLogging
|
||||
.public ExclusiveItemEffectIsActive__0230A9B8
|
||||
.public ExclusiveItemEffectIsActiveWithLogging
|
||||
.public FreeOtherWrappedMonsters
|
||||
.public GetActiveTeamMember
|
||||
.public GetDirectionTowardsPosition
|
||||
@@ -41,30 +42,6 @@
|
||||
.public LogMessageByIdWithPopupCheckUserTarget
|
||||
.public MoveMonsterToPos
|
||||
.public MusicTableIdxToMusicId
|
||||
.public PlayEffectAnimationEntity
|
||||
.public RecruitCheck
|
||||
.public RemoveHolderForItemInBag
|
||||
.public RestorePpAllMovesSetFlags
|
||||
.public RestoreRandomMovePP
|
||||
.public SET_DAMAGE_STATUS_DAMAGE
|
||||
.public SetMessageLogPreprocessorArgsNumberVal
|
||||
.public SetMonsterFlag2
|
||||
.public SetPokemonBattled
|
||||
.public ShouldDisplayEntityWrapper
|
||||
.public SpawnDroppedItemWrapper
|
||||
.public SubInitMonster
|
||||
.public SubstitutePlaceholderStringTags
|
||||
.public TYPE_DAMAGE_NEGATING_EXCLUSIVE_ITEM_EFFECTS
|
||||
.public TryEndPetrifiedOrSleepStatus
|
||||
.public TryIncreaseHp
|
||||
.public TryRecruit
|
||||
.public TrySpawnEnemyItemDrop
|
||||
.public UpdateAiTargetPos
|
||||
.public UpdateEntityPixelPos
|
||||
.public UpdateShopkeeperModeAfterAttack
|
||||
.public UpdateStatusIconFlags
|
||||
.public UpdateTrapsVisibility
|
||||
.public abs
|
||||
.public ov10_022BDC68
|
||||
.public ov10_022BDE50
|
||||
.public ov10_022BF964
|
||||
@@ -118,4 +95,27 @@
|
||||
.public ov29_02353234
|
||||
.public ov29_023535D4
|
||||
.public ov29_0237CA6C
|
||||
.public PlayEffectAnimationEntity
|
||||
.public RecruitCheck
|
||||
.public RemoveHolderForItemInBag
|
||||
.public RestorePpAllMovesSetFlags
|
||||
.public RestoreRandomMovePP
|
||||
.public SET_DAMAGE_STATUS_DAMAGE
|
||||
.public SetMessageLogPreprocessorArgsNumberVal
|
||||
.public SetMonsterFlag2
|
||||
.public SetPokemonBattled
|
||||
.public ShouldDisplayEntityWrapper
|
||||
.public SpawnDroppedItemWrapper
|
||||
.public sub_0204AF00
|
||||
.public SubInitMonster
|
||||
.public SubstitutePlaceholderStringTags
|
||||
.public TryEndPetrifiedOrSleepStatus
|
||||
.public TryIncreaseHp
|
||||
.public TryRecruit
|
||||
.public TrySpawnEnemyItemDrop
|
||||
.public TYPE_DAMAGE_NEGATING_EXCLUSIVE_ITEM_EFFECTS
|
||||
.public UpdateAiTargetPos
|
||||
.public UpdateEntityPixelPos
|
||||
.public UpdateShopkeeperModeAfterAttack
|
||||
.public UpdateStatusIconFlags
|
||||
.public UpdateTrapsVisibility
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
#pragma once
|
||||
.public AFTERMATH_CHANCE
|
||||
.public DUNGEON_PTR
|
||||
.public DefenderAbilityIsActive__0230A940
|
||||
.public DUNGEON_PTR
|
||||
.public DungeonRandOutcome__022EAB20
|
||||
.public GetTypeMatchup
|
||||
.public GhostImmunityIsActive
|
||||
.public IsTypeIneffectiveAgainstGhost
|
||||
.public ScrappyShouldActivate
|
||||
.public TYPE_MATCHUP_COMBINATOR_TABLE
|
||||
.public TryAftermathExplosion
|
||||
.public ov29_02352838
|
||||
.public ScrappyShouldActivate
|
||||
.public TryAftermathExplosion
|
||||
.public TYPE_MATCHUP_COMBINATOR_TABLE
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
.public DAMAGE_MULTIPLIER_0_5
|
||||
.public DAMAGE_MULTIPLIER_1_5
|
||||
.public DAMAGE_MULTIPLIER_2
|
||||
.public DUNGEON_PTR
|
||||
.public DefenderAbilityIsActive__0230A940
|
||||
.public DUNGEON_PTR
|
||||
.public EntityIsValid__02308FBC
|
||||
.public ExclusiveItemEffectIsActive__0230A9B8
|
||||
.public FixedPoint32To64
|
||||
@@ -32,14 +32,14 @@
|
||||
.public MATCHUP_SUPER_EFFECTIVE_MULTIPLIER_ERRATIC_PLAYER
|
||||
.public MonsterIsType
|
||||
.public MultiplyFixedPoint64
|
||||
.public ov29_02352838
|
||||
.public PlayEffectAnimation0x1A9__022E61C8
|
||||
.public PlayEffectAnimation0x1A9__022E6214
|
||||
.public PlayEffectAnimation0x1A9__022E64C4
|
||||
.public PlayEffectAnimation0x1A9__022E6510
|
||||
.public SOLID_ROCK_MULTIPLIER
|
||||
.public ScrappyShouldActivate
|
||||
.public SOLID_ROCK_MULTIPLIER
|
||||
.public TECHNICIAN_MOVE_POWER_THRESHOLD
|
||||
.public TINTED_LENS_MULTIPLIER
|
||||
.public TYPE_MATCHUP_COMBINATOR_TABLE
|
||||
.public UpdateStateFlags
|
||||
.public ov29_02352838
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
#pragma once
|
||||
.public AIR_BLADE_DAMAGE_MULTIPLIER
|
||||
.public AURA_BOW_STAT_BOOST
|
||||
.public _s32_div_f
|
||||
.public AbilityIsActiveVeneer
|
||||
.public AddFixedPoint64
|
||||
.public AdvanceFrame
|
||||
.public AIR_BLADE_DAMAGE_MULTIPLIER
|
||||
.public ApplyDamageAndEffects
|
||||
.public AURA_BOW_STAT_BOOST
|
||||
.public AuraBowIsActive
|
||||
.public CalcTypeBasedDamageEffects
|
||||
.public CeilFixedPoint
|
||||
@@ -22,17 +23,17 @@
|
||||
.public DAMAGE_MULTIPLIER_0_5
|
||||
.public DAMAGE_MULTIPLIER_1_5
|
||||
.public DAMAGE_MULTIPLIER_2
|
||||
.public DEFENSIVE_STAT_STAGE_MULTIPLIERS
|
||||
.public DEF_SCARF_STAT_BOOST
|
||||
.public DUNGEON_PTR
|
||||
.public Debug_Print0
|
||||
.public DEF_SCARF_STAT_BOOST
|
||||
.public DefenderAbilityIsActive__0230A940
|
||||
.public DEFENSIVE_STAT_STAGE_MULTIPLIERS
|
||||
.public DivideFixedPoint64
|
||||
.public DUNGEON_PTR
|
||||
.public DungeonRandInt
|
||||
.public EntityIsValid__02308FBC
|
||||
.public ExclusiveItemDefenseBoost
|
||||
.public ExclusiveItemEffectIsActiveWithLogging
|
||||
.public ExclusiveItemEffectIsActive__0230A9B8
|
||||
.public ExclusiveItemEffectIsActiveWithLogging
|
||||
.public ExclusiveItemOffenseBoost
|
||||
.public FixedPoint32To64
|
||||
.public FixedPoint64CmpLt
|
||||
@@ -57,37 +58,16 @@
|
||||
.public ItemIsActive__0230A9DC
|
||||
.public LogMessageByIdWithPopupCheckUserTarget
|
||||
.public ME_FIRST_MULTIPLIER
|
||||
.public MUNCH_BELT_STAT_BOOST
|
||||
.public MemZero
|
||||
.public MonsterHasNegativeStatus
|
||||
.public MonsterIsType
|
||||
.public MoveIsNotPhysical
|
||||
.public MultiplyByFixedPoint
|
||||
.public MultiplyFixedPoint64
|
||||
.public MUNCH_BELT_STAT_BOOST
|
||||
.public NearbyAllyIqSkillIsEnabled
|
||||
.public OFFENSIVE_STAT_STAGE_MULTIPLIERS
|
||||
.public OtherMonsterAbilityIsActive
|
||||
.public POWER_BAND_STAT_BOOST
|
||||
.public POWER_PITCHER_DAMAGE_MULTIPLIER
|
||||
.public PlayEffectAnimation0x171
|
||||
.public PlayEffectAnimation0x171Full
|
||||
.public PlayEffectAnimation0x18E
|
||||
.public PlayEffectAnimation0x1A9__022E6130
|
||||
.public PlayEffectAnimation0x1A9__022E617C
|
||||
.public PlayEffectAnimationEntity
|
||||
.public PointCameraToMonster
|
||||
.public ResetDamageData
|
||||
.public RoundUpDiv256
|
||||
.public SCOPE_LENS_CRIT_RATE_BOOST
|
||||
.public SPECIAL_BAND_STAT_BOOST
|
||||
.public SUPER_LUCK_CRIT_RATE_BOOST
|
||||
.public SetItemAcquired
|
||||
.public SubstitutePlaceholderStringTags
|
||||
.public TYPE_ADVANTAGE_MASTER_CRIT_RATE
|
||||
.public TYPE_MATCHUP_COMBINATOR_TABLE
|
||||
.public UpdateStateFlags
|
||||
.public ZINC_BAND_STAT_BOOST
|
||||
.public _s32_div_f
|
||||
.public ov10_022BDE50
|
||||
.public ov10_022BF964
|
||||
.public ov10_022C45B4
|
||||
@@ -98,3 +78,23 @@
|
||||
.public ov29_02352990
|
||||
.public ov29_0235299C
|
||||
.public ov29_023535D4
|
||||
.public PlayEffectAnimation0x171
|
||||
.public PlayEffectAnimation0x171Full
|
||||
.public PlayEffectAnimation0x18E
|
||||
.public PlayEffectAnimation0x1A9__022E6130
|
||||
.public PlayEffectAnimation0x1A9__022E617C
|
||||
.public PlayEffectAnimationEntity
|
||||
.public PointCameraToMonster
|
||||
.public POWER_BAND_STAT_BOOST
|
||||
.public POWER_PITCHER_DAMAGE_MULTIPLIER
|
||||
.public ResetDamageData
|
||||
.public RoundUpDiv256
|
||||
.public SCOPE_LENS_CRIT_RATE_BOOST
|
||||
.public SetItemAcquired
|
||||
.public SPECIAL_BAND_STAT_BOOST
|
||||
.public SubstitutePlaceholderStringTags
|
||||
.public SUPER_LUCK_CRIT_RATE_BOOST
|
||||
.public TYPE_ADVANTAGE_MASTER_CRIT_RATE
|
||||
.public TYPE_MATCHUP_COMBINATOR_TABLE
|
||||
.public UpdateStateFlags
|
||||
.public ZINC_BAND_STAT_BOOST
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#pragma once
|
||||
.public abs
|
||||
.public CanSeeTarget
|
||||
.public DUNGEON_PTR
|
||||
.public DungeonModeSetupAndShowNameKeyboard
|
||||
.public EnableAllLearnableIqSkills
|
||||
@@ -11,14 +13,18 @@
|
||||
.public InitTeamMember
|
||||
.public IsMonsterOnTeam
|
||||
.public LogMessageByIdWithPopupCheckUser
|
||||
.public SetMessageLogPreprocessorArgsString
|
||||
.public SetPokemonJoined
|
||||
.public SetPreprocessorArgsIdVal
|
||||
.public SetPreprocessorArgsStringToName
|
||||
.public StrcpySimple
|
||||
.public StrncpyName
|
||||
.public StrncpySimpleNoPad
|
||||
.public SubstitutePlaceholderStringTags
|
||||
.public MonsterIsType
|
||||
.public ov10_022C4410
|
||||
.public ov10_022C441C
|
||||
.public ov10_022C443C
|
||||
.public ov10_022C447C
|
||||
.public ov10_022C44FC
|
||||
.public ov10_022C46FC
|
||||
.public ov10_022C4700
|
||||
.public ov10_022C4704
|
||||
.public ov10_022C4708
|
||||
.public ov10_022C470C
|
||||
.public ov29_022E1B28
|
||||
.public ov29_022E68BC
|
||||
.public ov29_022E8104
|
||||
.public ov29_022E81F8
|
||||
@@ -36,6 +42,16 @@
|
||||
.public ov29_0234D838
|
||||
.public ov29_0234D8A0
|
||||
.public ov29_0234EE10
|
||||
.public RECRUITMENT_LEVEL_BOOST_TABLE
|
||||
.public SetMessageLogPreprocessorArgsString
|
||||
.public SetPokemonJoined
|
||||
.public SetPreprocessorArgsIdVal
|
||||
.public SetPreprocessorArgsStringToName
|
||||
.public SpecificRecruitCheck
|
||||
.public StrcpySimple
|
||||
.public StrncpyName
|
||||
.public StrncpySimpleNoPad
|
||||
.public sub_02056698
|
||||
.public sub_020584FC
|
||||
.public sub_020585B4
|
||||
.public SubstitutePlaceholderStringTags
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
.public IsProtectedFromNegativeStatus
|
||||
.public ItemIsActive__02311BF8
|
||||
.public LogMessageByIdWithPopupCheckUserTarget
|
||||
.public ov29_022E3E74
|
||||
.public ov29_02304A48
|
||||
.public SafeguardIsActive
|
||||
.public SubstitutePlaceholderStringTags
|
||||
.public TryActivateQuickFeet
|
||||
.public ov29_022E3E74
|
||||
.public ov29_02304A48
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
.public CalcStatusDuration
|
||||
.public ChangeShayminForme
|
||||
.public CopyStringFromId
|
||||
.public DefenderAbilityIsActive__02311B94
|
||||
.public DIRECTIONS_XY
|
||||
.public DUNGEON_PTR
|
||||
.public DefenderAbilityIsActive__02311B94
|
||||
.public EntityIsValid__023118B4
|
||||
.public ExclusiveItemEffectIsActiveWithLogging
|
||||
.public GetMessageLogPreprocessorArgs
|
||||
@@ -18,14 +18,6 @@
|
||||
.public ItemIsActive__02311BF8
|
||||
.public LogMessageByIdWithPopupCheckUserTarget
|
||||
.public MonsterIsType
|
||||
.public SECONDARY_TERRAIN_TYPES
|
||||
.public SafeguardIsActive
|
||||
.public SetMessageLogPreprocessorArgsString
|
||||
.public SetPreprocessorArgsIdVal
|
||||
.public SetPreprocessorArgsStringToName
|
||||
.public SubstitutePlaceholderStringTags
|
||||
.public TryActivateQuickFeet
|
||||
.public UpdateStatusIconFlags
|
||||
.public ov10_022C4728
|
||||
.public ov10_022C479C
|
||||
.public ov10_022C47A0
|
||||
@@ -60,3 +52,11 @@
|
||||
.public ov29_023018AC
|
||||
.public ov29_02304A48
|
||||
.public ov29_02304A84
|
||||
.public SafeguardIsActive
|
||||
.public SECONDARY_TERRAIN_TYPES
|
||||
.public SetMessageLogPreprocessorArgsString
|
||||
.public SetPreprocessorArgsIdVal
|
||||
.public SetPreprocessorArgsStringToName
|
||||
.public SubstitutePlaceholderStringTags
|
||||
.public TryActivateQuickFeet
|
||||
.public UpdateStatusIconFlags
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
.public CalcSpeedStageWrapper
|
||||
.public CalcStatusDuration
|
||||
.public CopyStringFromId
|
||||
.public DIRECTIONS_XY
|
||||
.public DefenderAbilityIsActive__02311B94
|
||||
.public DIRECTIONS_XY
|
||||
.public EntityIsValid__023118B4
|
||||
.public ExclusiveItemEffectIsActive__023147EC
|
||||
.public GetExclusiveItemWithEffectFromBag
|
||||
@@ -16,15 +16,6 @@
|
||||
.public ItemIsActive__02311BF8
|
||||
.public LogMessageByIdWithPopupCheckUserTarget
|
||||
.public MultiplyByFixedPoint
|
||||
.public PlayExclamationPointEffect__022E5D4C
|
||||
.public PrepareItemForPrinting__02345728
|
||||
.public SafeguardIsActive
|
||||
.public SetMessageLogPreprocessorArgsString
|
||||
.public SetPreprocessorArgsStringToName
|
||||
.public SubstitutePlaceholderStringTags
|
||||
.public TryActivateQuickFeet
|
||||
.public TryActivateSteadfast
|
||||
.public UpdateStatusIconFlags
|
||||
.public ov10_022C4884
|
||||
.public ov10_022C4894
|
||||
.public ov29_022E4240
|
||||
@@ -36,3 +27,12 @@
|
||||
.public ov29_022E5258
|
||||
.public ov29_022E52F8
|
||||
.public ov29_023018AC
|
||||
.public PlayExclamationPointEffect__022E5D4C
|
||||
.public PrepareItemForPrinting__02345728
|
||||
.public SafeguardIsActive
|
||||
.public SetMessageLogPreprocessorArgsString
|
||||
.public SetPreprocessorArgsStringToName
|
||||
.public SubstitutePlaceholderStringTags
|
||||
.public TryActivateQuickFeet
|
||||
.public TryActivateSteadfast
|
||||
.public UpdateStatusIconFlags
|
||||
|
||||
@@ -25,15 +25,15 @@
|
||||
.public GetMoveNbStrikes
|
||||
.public GetNaturePowerVariant
|
||||
.public GravityIsActive
|
||||
.public INTIMIDATOR_ACTIVATION_CHANCE
|
||||
.public InitMove
|
||||
.public InitMoveCheckId
|
||||
.public INTIMIDATOR_ACTIVATION_CHANCE
|
||||
.public IqSkillIsEnabled
|
||||
.public Is2TurnsMove
|
||||
.public IsChargingTwoTurnMove
|
||||
.public IsFloorOver
|
||||
.public IsMonsterSleeping
|
||||
.public IsMonster__02322DB8
|
||||
.public IsMonsterSleeping
|
||||
.public IsTrappingMove
|
||||
.public LogMessageByIdWithPopupCheckUser
|
||||
.public LogMessageWithPopupCheckUser
|
||||
@@ -43,30 +43,6 @@
|
||||
.public MonsterCannotAttack
|
||||
.public NATURE_POWER_TABLE
|
||||
.public NIGHTMARE_TURN_RANGE
|
||||
.public ResetTriggerFlags
|
||||
.public SLEEP_TURN_RANGE
|
||||
.public SetPreprocessorArgsIdVal
|
||||
.public SetPreprocessorArgsStringToName
|
||||
.public StringFromId
|
||||
.public SubstitutePlaceholderStringTags
|
||||
.public TryInflictBlinkerStatus
|
||||
.public TryInflictBurnStatus
|
||||
.public TryInflictConfusedStatus
|
||||
.public TryInflictConstrictionStatus
|
||||
.public TryInflictCringeStatus
|
||||
.public TryInflictFrozenStatus
|
||||
.public TryInflictInfatuatedStatus
|
||||
.public TryInflictInvisibleStatus
|
||||
.public TryInflictNightmareStatus
|
||||
.public TryInflictParalysisStatus
|
||||
.public TryInflictPausedStatus
|
||||
.public TryInflictPerishSongStatus
|
||||
.public TryInflictPoisonedStatus
|
||||
.public TryInflictShadowHoldStatus
|
||||
.public TryInflictSleepStatus
|
||||
.public TrySealMove
|
||||
.public TryWarp
|
||||
.public UpdateAiTargetPos
|
||||
.public ov10_022BFD6C
|
||||
.public ov10_022C4584
|
||||
.public ov10_022C4714
|
||||
@@ -87,4 +63,28 @@
|
||||
.public ov29_02344B9C
|
||||
.public ov29_0235370C
|
||||
.public ov29_0237CA68
|
||||
.public ResetTriggerFlags
|
||||
.public SetPreprocessorArgsIdVal
|
||||
.public SetPreprocessorArgsStringToName
|
||||
.public SLEEP_TURN_RANGE
|
||||
.public StringFromId
|
||||
.public sub_0201D1B0
|
||||
.public SubstitutePlaceholderStringTags
|
||||
.public TryInflictBlinkerStatus
|
||||
.public TryInflictBurnStatus
|
||||
.public TryInflictConfusedStatus
|
||||
.public TryInflictConstrictionStatus
|
||||
.public TryInflictCringeStatus
|
||||
.public TryInflictFrozenStatus
|
||||
.public TryInflictInfatuatedStatus
|
||||
.public TryInflictInvisibleStatus
|
||||
.public TryInflictNightmareStatus
|
||||
.public TryInflictParalysisStatus
|
||||
.public TryInflictPausedStatus
|
||||
.public TryInflictPerishSongStatus
|
||||
.public TryInflictPoisonedStatus
|
||||
.public TryInflictShadowHoldStatus
|
||||
.public TryInflictSleepStatus
|
||||
.public TrySealMove
|
||||
.public TryWarp
|
||||
.public UpdateAiTargetPos
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
.public _s32_div_f
|
||||
.public AdvanceFrame
|
||||
.public AnimationDelayOrSomething
|
||||
.public CosAbs4096
|
||||
.public DIRECTIONS_XY
|
||||
.public DUNGEON_PTR
|
||||
.public EntityIsValid__02321438
|
||||
@@ -43,6 +44,5 @@
|
||||
.public SetPreprocessorArgsStringToName
|
||||
.public ShouldDisplayEntityWrapper
|
||||
.public SinAbs4096
|
||||
.public CosAbs4096
|
||||
.public sub_0201CF90
|
||||
.public TwoTurnMoveForcedMiss
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
.public AbilityIsActiveVeneer
|
||||
.public DUNGEON_PTR
|
||||
.public DefenderAbilityIsActive__02322D64
|
||||
.public DUNGEON_PTR
|
||||
.public DungeonRandInt
|
||||
.public DungeonRandOutcome__022EAB50
|
||||
.public EntityIsValid__02321438
|
||||
|
||||
@@ -15,11 +15,6 @@
|
||||
.public Is2TurnsMove
|
||||
.public IsUsableWhileTaunted
|
||||
.public LogMessageByIdWithPopupCheckUser
|
||||
.public SetAndLoadCurrentAttackAnimation
|
||||
.public SetMessageLogPreprocessorArgsNumberVal
|
||||
.public ShouldDisplayEntityAdvanced
|
||||
.public ShouldMovePlayAlternativeAnimation
|
||||
.public WanTableSpriteHasAnimationGroup
|
||||
.public ov10_022BF01C
|
||||
.public ov10_022BF0F4
|
||||
.public ov10_022BF1FC
|
||||
@@ -45,5 +40,10 @@
|
||||
.public ov29_02352AD8
|
||||
.public ov29_02352B1C
|
||||
.public ov29_0237CA84
|
||||
.public SetAndLoadCurrentAttackAnimation
|
||||
.public SetMessageLogPreprocessorArgsNumberVal
|
||||
.public ShouldDisplayEntityAdvanced
|
||||
.public ShouldMovePlayAlternativeAnimation
|
||||
.public sub_0201CF90
|
||||
.public sub_0201D1D4
|
||||
.public WanTableSpriteHasAnimationGroup
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
#pragma once
|
||||
.public abs
|
||||
.public ApplyDamageAndEffects
|
||||
.public CalcDamage
|
||||
.public CanAttackInDirection
|
||||
.public DUNGEON_PTR
|
||||
.public DefenderAbilityIsActive__02332A0C
|
||||
.public DisplayAnimatedNumbers
|
||||
.public DUNGEON_PTR
|
||||
.public EntityIsValid__0232E840
|
||||
.public GetDamageSourceWrapper
|
||||
.public GetDirectionTowardsPosition
|
||||
@@ -16,9 +17,8 @@
|
||||
.public LogMessageByIdQuietCheckUserTarget
|
||||
.public LogMessageByIdWithPopupCheckUserTarget
|
||||
.public MoveHitCheck
|
||||
.public SetPreprocessorArgsStringToName
|
||||
.public ShouldDisplayEntityWrapper
|
||||
.public abs
|
||||
.public ov29_022E576C
|
||||
.public ov29_02304A48
|
||||
.public ov29_0230D088
|
||||
.public SetPreprocessorArgsStringToName
|
||||
.public ShouldDisplayEntityWrapper
|
||||
|
||||
@@ -9,5 +9,5 @@
|
||||
.public IqSkillIsEnabled
|
||||
.public MemAlloc
|
||||
.public MemFree
|
||||
.public RandInt
|
||||
.public ov29_022FAFD4
|
||||
.public RandInt
|
||||
|
||||
@@ -1,4 +1 @@
|
||||
#pragma once
|
||||
.public ov29_02351974
|
||||
.public ov29_02351B00
|
||||
.public ov29_02351C94
|
||||
|
||||
4
asm/include/overlay_29_rodata_0235179C.inc
Normal file
4
asm/include/overlay_29_rodata_0235179C.inc
Normal file
@@ -0,0 +1,4 @@
|
||||
#pragma once
|
||||
.public ov29_02351974
|
||||
.public ov29_02351B00
|
||||
.public ov29_02351C94
|
||||
@@ -1 +1,2 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
1328
asm/itcm.s
1328
asm/itcm.s
File diff suppressed because it is too large
Load Diff
280
asm/itcm_01FFB2C8.s
Normal file
280
asm/itcm_01FFB2C8.s
Normal file
@@ -0,0 +1,280 @@
|
||||
.include "asm/macros.inc"
|
||||
.include "itcm_01FFB2C8.inc"
|
||||
|
||||
.section .itcm,4,1,4
|
||||
|
||||
arm_func_start CalculateAiTargetPos
|
||||
CalculateAiTargetPos: ; 0x01FFB2C8
|
||||
stmdb sp!, {r3, r4, r5, r6, r7, r8, sb, sl, fp, lr}
|
||||
ldr r1, _01FFB61C ; =DUNGEON_PTR
|
||||
mov sl, r0
|
||||
ldr r0, [r1]
|
||||
ldr sb, [sl, #0xb4]
|
||||
add r0, r0, #0x4000
|
||||
#ifdef JAPAN
|
||||
ldrb r0, [r0, #0x36]
|
||||
#else
|
||||
ldrb r0, [r0, #0xda]
|
||||
#endif
|
||||
ldrb r4, [sl, #0x25]
|
||||
mov r5, #0
|
||||
cmp r0, #0xa5
|
||||
beq _01FFB304
|
||||
cmp r0, #0xaa
|
||||
blo _01FFB31C
|
||||
cmp r0, #0xdc
|
||||
bhs _01FFB31C
|
||||
_01FFB304:
|
||||
ldrsh r0, [sl, #4]
|
||||
ldrsh r1, [sl, #6]
|
||||
bl GetTile
|
||||
ldrh r0, [r0]
|
||||
tst r0, #0x100
|
||||
movne r5, #1
|
||||
_01FFB31C:
|
||||
cmp r5, #0
|
||||
bne _01FFB32C
|
||||
cmp r4, #0xff
|
||||
bne _01FFB3F0
|
||||
_01FFB32C:
|
||||
ldrb r1, [sb, #0x4c]
|
||||
mov r0, sl
|
||||
mov r7, #0
|
||||
add r1, r1, #4
|
||||
and r6, r1, #7
|
||||
bl IsAtJunction
|
||||
cmp r0, #0
|
||||
beq _01FFB35C
|
||||
mov r0, #8
|
||||
bl DungeonRandInt
|
||||
strb r0, [sb, #0x4c]
|
||||
mov r7, #1
|
||||
_01FFB35C:
|
||||
mov r5, #0
|
||||
ldr r4, _01FFB620 ; =FACING_DIRECTION_INCREMENTS
|
||||
add fp, sp, #1
|
||||
b _01FFB3E4
|
||||
_01FFB36C:
|
||||
ldrb r1, [sb, #0x4c]
|
||||
ldr r0, [r4, r5, lsl #2]
|
||||
cmp r7, #0
|
||||
add r0, r1, r0
|
||||
and r8, r0, #7
|
||||
beq _01FFB38C
|
||||
cmp r8, r6
|
||||
beq _01FFB3E0
|
||||
_01FFB38C:
|
||||
mov r0, sl
|
||||
mov r1, r8
|
||||
mov r2, fp
|
||||
bl CanAiMonsterMoveInDirection
|
||||
cmp r0, #0
|
||||
beq _01FFB3E0
|
||||
mov r0, #3
|
||||
strb r0, [sb, #0x7c]
|
||||
ldr r0, _01FFB624 ; =DIRECTIONS_XY
|
||||
mov r3, r8, lsl #2
|
||||
ldrsh r2, [r0, r3]
|
||||
ldrsh r4, [sl, #4]
|
||||
ldr r1, _01FFB628 ; =DIRECTIONS_XY + 2
|
||||
mov r0, #1
|
||||
add r2, r4, r2
|
||||
strh r2, [sb, #0x8c]
|
||||
ldrsh r2, [sl, #6]
|
||||
ldrsh r1, [r1, r3]
|
||||
add r1, r2, r1
|
||||
strh r1, [sb, #0x8e]
|
||||
ldmia sp!, {r3, r4, r5, r6, r7, r8, sb, sl, fp, pc}
|
||||
_01FFB3E0:
|
||||
add r5, r5, #1
|
||||
_01FFB3E4:
|
||||
cmp r5, #8
|
||||
blt _01FFB36C
|
||||
b _01FFB5D8
|
||||
_01FFB3F0:
|
||||
ldr r0, _01FFB61C ; =DUNGEON_PTR
|
||||
#ifdef JAPAN
|
||||
ldr r1, [sb, #0x11c]
|
||||
ldr r2, [r0]
|
||||
cmp r1, #0
|
||||
add r0, r2, r4, lsl #1
|
||||
add r1, r2, #0x204
|
||||
add r0, r0, #0xf100
|
||||
add r1, r1, #0xf000
|
||||
add r6, r1, r4, lsl #7
|
||||
ldrsh r5, [r0, #0xc4]
|
||||
#else
|
||||
ldr r1, [sb, #0x120]
|
||||
ldr r2, [r0]
|
||||
cmp r1, #0
|
||||
add r0, r2, r4, lsl #1
|
||||
add r1, r2, #0x2a8
|
||||
add r0, r0, #0xf200
|
||||
add r1, r1, #0xf000
|
||||
add r6, r1, r4, lsl #7
|
||||
ldrsh r5, [r0, #0x68]
|
||||
#endif
|
||||
beq _01FFB460
|
||||
mov r0, #8
|
||||
bl DungeonRandInt
|
||||
mov r1, #6
|
||||
strb r1, [sb, #0x7c]
|
||||
mov r3, r0, lsl #2
|
||||
ldr r0, _01FFB624 ; =DIRECTIONS_XY
|
||||
ldrsh r4, [sl, #4]
|
||||
ldrsh r2, [r0, r3]
|
||||
ldr r1, _01FFB628 ; =DIRECTIONS_XY + 2
|
||||
mov r0, #1
|
||||
add r2, r4, r2
|
||||
strh r2, [sb, #0x8c]
|
||||
ldrsh r2, [sl, #6]
|
||||
ldrsh r1, [r1, r3]
|
||||
add r1, r2, r1
|
||||
strh r1, [sb, #0x8e]
|
||||
ldmia sp!, {r3, r4, r5, r6, r7, r8, sb, sl, fp, pc}
|
||||
_01FFB460:
|
||||
ldrb r0, [sb, #0x7c]
|
||||
cmp r0, #4
|
||||
beq _01FFB520
|
||||
cmp r5, #0
|
||||
bne _01FFB4B8
|
||||
mov r0, #8
|
||||
bl DungeonRandInt
|
||||
mov r1, #6
|
||||
strb r1, [sb, #0x7c]
|
||||
mov r3, r0, lsl #2
|
||||
ldr r0, _01FFB624 ; =DIRECTIONS_XY
|
||||
ldrsh r4, [sl, #4]
|
||||
ldrsh r2, [r0, r3]
|
||||
ldr r1, _01FFB628 ; =DIRECTIONS_XY + 2
|
||||
mov r0, #1
|
||||
add r2, r4, r2
|
||||
strh r2, [sb, #0x8c]
|
||||
ldrsh r2, [sl, #6]
|
||||
ldrsh r1, [r1, r3]
|
||||
add r1, r2, r1
|
||||
strh r1, [sb, #0x8e]
|
||||
ldmia sp!, {r3, r4, r5, r6, r7, r8, sb, sl, fp, pc}
|
||||
_01FFB4B8:
|
||||
mov r4, #0
|
||||
b _01FFB518
|
||||
_01FFB4C0:
|
||||
mov r0, r5
|
||||
bl DungeonRandInt
|
||||
mov r2, r0, lsl #2
|
||||
ldrsh r3, [sl, #4]
|
||||
ldrsh r1, [r6, r2]
|
||||
cmp r3, r1
|
||||
addeq r1, r6, r2
|
||||
ldreqsh r2, [sl, #6]
|
||||
ldreqsh r1, [r1, #2]
|
||||
cmpeq r2, r1
|
||||
beq _01FFB514
|
||||
mov r1, #4
|
||||
strb r1, [sb, #0x7c]
|
||||
mov r1, r0, lsl #2
|
||||
ldrsh r2, [r6, r1]
|
||||
add r1, r6, r0, lsl #2
|
||||
mov r0, #1
|
||||
strh r2, [sb, #0x8c]
|
||||
ldrsh r1, [r1, #2]
|
||||
strh r1, [sb, #0x8e]
|
||||
ldmia sp!, {r3, r4, r5, r6, r7, r8, sb, sl, fp, pc}
|
||||
_01FFB514:
|
||||
add r4, r4, #1
|
||||
_01FFB518:
|
||||
cmp r4, #0xa
|
||||
blt _01FFB4C0
|
||||
_01FFB520:
|
||||
ldrsh r0, [sl, #4]
|
||||
ldrsh r1, [sl, #6]
|
||||
bl GetTile
|
||||
ldrh r0, [r0]
|
||||
tst r0, #8
|
||||
beq _01FFB5D0
|
||||
mov r0, #8
|
||||
bl DungeonRandInt
|
||||
mov r8, r0
|
||||
mov r5, #0
|
||||
add fp, sp, #0
|
||||
ldr r4, _01FFB624 ; =DIRECTIONS_XY
|
||||
b _01FFB5C8
|
||||
_01FFB554:
|
||||
and r8, r8, #7
|
||||
mov r1, r8, lsl #2
|
||||
add r0, r4, r8, lsl #2
|
||||
ldrsh r6, [sl, #4]
|
||||
ldrsh r3, [r4, r1]
|
||||
ldrsh r2, [sl, #6]
|
||||
ldrsh r1, [r0, #2]
|
||||
add r6, r6, r3
|
||||
mov r0, r6
|
||||
add r7, r2, r1
|
||||
mov r1, r7
|
||||
bl GetTile
|
||||
ldrb r0, [r0, #7]
|
||||
cmp r0, #0xff
|
||||
bne _01FFB5C0
|
||||
mov r0, sl
|
||||
mov r1, r8
|
||||
mov r2, fp
|
||||
bl CanAiMonsterMoveInDirection
|
||||
cmp r0, #0
|
||||
beq _01FFB5C0
|
||||
mov r0, #3
|
||||
strb r0, [sb, #0x7c]
|
||||
strh r6, [sb, #0x8c]
|
||||
strh r7, [sb, #0x8e]
|
||||
mov r0, #1
|
||||
ldmia sp!, {r3, r4, r5, r6, r7, r8, sb, sl, fp, pc}
|
||||
_01FFB5C0:
|
||||
add r5, r5, #1
|
||||
add r8, r8, #1
|
||||
_01FFB5C8:
|
||||
cmp r5, #8
|
||||
blt _01FFB554
|
||||
_01FFB5D0:
|
||||
mov r0, #1
|
||||
ldmia sp!, {r3, r4, r5, r6, r7, r8, sb, sl, fp, pc}
|
||||
_01FFB5D8:
|
||||
mov r0, #8
|
||||
bl DungeonRandInt
|
||||
mov r1, #6
|
||||
strb r1, [sb, #0x7c]
|
||||
mov r3, r0, lsl #2
|
||||
ldr r0, _01FFB624 ; =DIRECTIONS_XY
|
||||
ldrsh r4, [sl, #4]
|
||||
ldrsh r2, [r0, r3]
|
||||
ldr r1, _01FFB628 ; =DIRECTIONS_XY + 2
|
||||
mov r0, #1
|
||||
add r2, r4, r2
|
||||
strh r2, [sb, #0x8c]
|
||||
ldrsh r2, [sl, #6]
|
||||
ldrsh r1, [r1, r3]
|
||||
add r1, r2, r1
|
||||
strh r1, [sb, #0x8e]
|
||||
ldmia sp!, {r3, r4, r5, r6, r7, r8, sb, sl, fp, pc}
|
||||
.align 2, 0
|
||||
_01FFB61C: .word DUNGEON_PTR
|
||||
_01FFB620: .word FACING_DIRECTION_INCREMENTS
|
||||
_01FFB624: .word DIRECTIONS_XY
|
||||
_01FFB628: .word DIRECTIONS_XY + 2
|
||||
arm_func_end CalculateAiTargetPos
|
||||
|
||||
arm_func_start sub_01FFB62C
|
||||
sub_01FFB62C: ; 0x01FFB62C
|
||||
ldr r3, [r0, #0xb4]
|
||||
mov r2, #0
|
||||
strb r2, [r3, #0x7c]
|
||||
ldrh r1, [r0, #4]
|
||||
strh r1, [r3, #0x8c]
|
||||
ldrh r0, [r0, #6]
|
||||
strh r0, [r3, #0x8e]
|
||||
str r2, [r3, #0x84]
|
||||
strh r2, [r3, #0x80]
|
||||
bx lr
|
||||
arm_func_end sub_01FFB62C
|
||||
|
||||
.global _01FFB654
|
||||
_01FFB654:
|
||||
.byte 0x05, 0x03, 0x00, 0x00
|
||||
@@ -8381,8 +8381,8 @@ _02090BFC:
|
||||
.byte 0x6E, 0x27, 0x74, 0x20, 0x6C, 0x6F, 0x63, 0x61, 0x74, 0x65, 0x0A, 0x20, 0x20, 0x20, 0x20, 0x61
|
||||
.byte 0x74, 0x62, 0x20, 0x25, 0x30, 0x32, 0x78, 0x20, 0x67, 0x72, 0x70, 0x20, 0x25, 0x33, 0x64, 0x20
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.global SIN_TABLE
|
||||
SIN_TABLE:
|
||||
.global SINE_VALUE_TABLE
|
||||
SINE_VALUE_TABLE:
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00
|
||||
.byte 0x02, 0x00, 0x02, 0x00, 0x03, 0x00, 0x03, 0x00, 0x03, 0x00, 0x04, 0x00, 0x04, 0x00, 0x05, 0x00
|
||||
.byte 0x05, 0x00, 0x05, 0x00, 0x06, 0x00, 0x06, 0x00, 0x07, 0x00, 0x07, 0x00, 0x07, 0x00, 0x08, 0x00
|
||||
|
||||
@@ -62,7 +62,7 @@ _022E9230:
|
||||
bne _022E928C
|
||||
mov r0, r5
|
||||
mov r1, r4
|
||||
bl ov29_022E935C
|
||||
bl IsPositionWithinTwoTiles
|
||||
cmp r0, #0
|
||||
movne r0, #1
|
||||
moveq r0, #0
|
||||
@@ -135,8 +135,8 @@ _022E930C:
|
||||
_022E9358: .word DUNGEON_PTR
|
||||
arm_func_end ov29_022E9298
|
||||
|
||||
arm_func_start ov29_022E935C
|
||||
ov29_022E935C: ; 0x022E935C
|
||||
arm_func_start IsPositionWithinTwoTiles
|
||||
IsPositionWithinTwoTiles: ; 0x022E935C
|
||||
stmdb sp!, {r4, r5, r6, r7, r8, lr}
|
||||
mov r8, r0
|
||||
mov r7, r1
|
||||
@@ -218,7 +218,7 @@ _022E9470:
|
||||
_022E9480:
|
||||
mov r0, #0
|
||||
ldmia sp!, {r4, r5, r6, r7, r8, pc}
|
||||
arm_func_end ov29_022E935C
|
||||
arm_func_end IsPositionWithinTwoTiles
|
||||
|
||||
arm_func_start ov29_022E9488
|
||||
ov29_022E9488: ; 0x022E9488
|
||||
|
||||
@@ -26,8 +26,8 @@ _022FF8EC:
|
||||
arm_func_end GetMobilityTypeAfterIqSkills
|
||||
#endif
|
||||
|
||||
arm_func_start ov29_022FF908
|
||||
ov29_022FF908: ; 0x022FF908
|
||||
arm_func_start CanMoveThroughWalls
|
||||
CanMoveThroughWalls: ; 0x022FF908
|
||||
stmdb sp!, {r3, r4, r5, lr}
|
||||
mov r5, r0
|
||||
ldr r4, [r5, #0xb4]
|
||||
@@ -48,7 +48,7 @@ ov29_022FF908: ; 0x022FF908
|
||||
movne r0, #0
|
||||
and r0, r0, #0xff
|
||||
ldmia sp!, {r3, r4, r5, pc}
|
||||
arm_func_end ov29_022FF908
|
||||
arm_func_end CanMoveThroughWalls
|
||||
|
||||
arm_func_start ov29_022FF958
|
||||
ov29_022FF958: ; 0x022FF958
|
||||
|
||||
@@ -152,8 +152,8 @@ _02301490: .word SECONDARY_TERRAIN_TYPES
|
||||
_02301494: .word DIRECTIONAL_BIT_MASKS__02352770
|
||||
arm_func_end CanAiMonsterMoveInDirection
|
||||
|
||||
arm_func_start ov29_02301498
|
||||
ov29_02301498: ; 0x02301498
|
||||
arm_func_start IsAtJunction
|
||||
IsAtJunction: ; 0x02301498
|
||||
#ifdef JAPAN
|
||||
#define OV29_02301498_OFFSET -4
|
||||
#else
|
||||
@@ -259,10 +259,10 @@ _02301534:
|
||||
.align 2, 0
|
||||
_0230158C: .word DUNGEON_PTR
|
||||
_02301590: .word SECONDARY_TERRAIN_TYPES
|
||||
arm_func_end ov29_02301498
|
||||
arm_func_end IsAtJunction
|
||||
|
||||
arm_func_start ov29_02301594
|
||||
ov29_02301594: ; 0x02301594
|
||||
arm_func_start ShouldAvoidFirstHit
|
||||
ShouldAvoidFirstHit: ; 0x02301594
|
||||
stmdb sp!, {r4, lr}
|
||||
mov r4, r1
|
||||
mov r1, #3
|
||||
@@ -272,4 +272,4 @@ ov29_02301594: ; 0x02301594
|
||||
movne r0, #1
|
||||
moveq r0, #0
|
||||
ldmia sp!, {r4, pc}
|
||||
arm_func_end ov29_02301594
|
||||
arm_func_end ShouldAvoidFirstHit
|
||||
|
||||
@@ -175,8 +175,8 @@ ov29_023021F0: ; 0x023021F0
|
||||
_023021FC: .word UpdateIqSkills
|
||||
arm_func_end ov29_023021F0
|
||||
|
||||
arm_func_start ov29_02302200
|
||||
ov29_02302200: ; 0x02302200
|
||||
arm_func_start CanSeeTeammate
|
||||
CanSeeTeammate: ; 0x02302200
|
||||
stmdb sp!, {r3, r4, r5, r6, r7, lr}
|
||||
mov r4, r0
|
||||
ldr r0, [r4, #0xb4]
|
||||
@@ -216,4 +216,4 @@ _02302268:
|
||||
ldmia sp!, {r3, r4, r5, r6, r7, pc}
|
||||
.align 2, 0
|
||||
_02302278: .word DUNGEON_PTR
|
||||
arm_func_end ov29_02302200
|
||||
arm_func_end CanSeeTeammate
|
||||
|
||||
@@ -16,8 +16,8 @@ ShouldMonsterFollowLeader: ; 0x023082A0
|
||||
ldmia sp!, {r3, pc}
|
||||
arm_func_end ShouldMonsterFollowLeader
|
||||
|
||||
arm_func_start ov29_023082C4
|
||||
ov29_023082C4: ; 0x023082C4
|
||||
arm_func_start GetLeaderIfVisible
|
||||
GetLeaderIfVisible: ; 0x023082C4
|
||||
stmdb sp!, {r3, r4, r5, lr}
|
||||
mov r5, r0
|
||||
ldr r0, [r5, #0xb4]
|
||||
@@ -50,4 +50,4 @@ ov29_023082C4: ; 0x023082C4
|
||||
_02308338:
|
||||
mov r0, #0
|
||||
ldmia sp!, {r3, r4, r5, pc}
|
||||
arm_func_end ov29_023082C4
|
||||
arm_func_end GetLeaderIfVisible
|
||||
|
||||
@@ -13,420 +13,3 @@ ov29_0235173E:
|
||||
ov29_0235175C:
|
||||
.byte 0x00, 0x0C, 0x00, 0x00, 0x00, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00
|
||||
.byte 0x00, 0x04, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x0A, 0x00, 0x00
|
||||
.global ov29_0235177C
|
||||
ov29_0235177C:
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00
|
||||
.byte 0xFE, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00
|
||||
.global ov29_0235179C
|
||||
ov29_0235179C:
|
||||
.word ov29_02351974
|
||||
.global ov29_023517A0
|
||||
ov29_023517A0:
|
||||
.byte 0x01, 0x00
|
||||
.global ov29_023517A2
|
||||
ov29_023517A2:
|
||||
.byte 0x01, 0x00
|
||||
.word ov29_02351B00
|
||||
.byte 0x01, 0x00, 0x01, 0x00
|
||||
.word ov29_02351C94
|
||||
.byte 0x01, 0x00, 0x01, 0x00
|
||||
.word ov29_02351B00
|
||||
.byte 0x01, 0x00, 0xFF, 0xFF
|
||||
.word ov29_02351974
|
||||
.byte 0xFF, 0xFF, 0xFF, 0xFF
|
||||
.word ov29_02351B00
|
||||
.byte 0xFF, 0xFF, 0xFF, 0xFF
|
||||
.word ov29_02351C94
|
||||
.byte 0xFF, 0xFF, 0xFF, 0xFF
|
||||
.word ov29_02351B00
|
||||
.byte 0xFF, 0xFF, 0x01, 0x00
|
||||
.global DISPLACEMENTS_WITHIN_2_LARGEST_FIRST
|
||||
DISPLACEMENTS_WITHIN_2_LARGEST_FIRST:
|
||||
.byte 0x00, 0x00, 0xFE, 0xFF, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0xFE, 0xFF, 0xFE, 0xFF, 0x02, 0x00, 0x02, 0x00, 0x02, 0x00, 0xFE, 0xFF, 0xFE, 0xFF
|
||||
.byte 0xFF, 0xFF, 0xFE, 0xFF, 0x01, 0x00, 0xFE, 0xFF, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0xFF, 0xFF
|
||||
.byte 0xFE, 0xFF, 0x01, 0x00, 0x02, 0x00, 0x01, 0x00, 0xFF, 0xFF, 0x02, 0x00, 0x01, 0x00, 0x02, 0x00
|
||||
.byte 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00
|
||||
.byte 0xFF, 0xFF, 0xFF, 0xFF, 0x01, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x63, 0x00, 0x63, 0x00
|
||||
.global DISPLACEMENTS_WITHIN_2_SMALLEST_FIRST
|
||||
DISPLACEMENTS_WITHIN_2_SMALLEST_FIRST:
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x01, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0xFE, 0xFF, 0xFE, 0xFF
|
||||
.byte 0xFF, 0xFF, 0xFE, 0xFF, 0x00, 0x00, 0xFE, 0xFF, 0x01, 0x00, 0xFE, 0xFF, 0x02, 0x00, 0xFE, 0xFF
|
||||
.byte 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0xFF, 0xFF, 0xFE, 0xFF, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||
.byte 0xFE, 0xFF, 0x01, 0x00, 0x02, 0x00, 0x01, 0x00, 0xFE, 0xFF, 0x02, 0x00, 0xFF, 0xFF, 0x02, 0x00
|
||||
.byte 0x00, 0x00, 0x02, 0x00, 0x01, 0x00, 0x02, 0x00, 0x02, 0x00, 0x02, 0x00, 0x63, 0x00, 0x63, 0x00
|
||||
.global DISPLACEMENTS_WITHIN_3
|
||||
DISPLACEMENTS_WITHIN_3:
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x01, 0x00
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x01, 0x00, 0xFE, 0xFF, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0xFE, 0xFF, 0x00, 0x00, 0x02, 0x00, 0x01, 0x00, 0xFF, 0xFF, 0x01, 0x00, 0x01, 0x00
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0xFE, 0xFF, 0x01, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x03, 0x00
|
||||
.byte 0x01, 0x00, 0xFE, 0xFF, 0x01, 0x00, 0x02, 0x00, 0x02, 0x00, 0xFF, 0xFF, 0x02, 0x00, 0x01, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0xFE, 0xFF, 0xFE, 0xFF
|
||||
.byte 0xFE, 0xFF, 0x02, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0xFD, 0xFF, 0x01, 0x00, 0x01, 0x00, 0xFD, 0xFF
|
||||
.byte 0x01, 0x00, 0x03, 0x00, 0x02, 0x00, 0xFE, 0xFF, 0x02, 0x00, 0x02, 0x00, 0x03, 0x00, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x01, 0x00, 0xFE, 0xFF, 0xFD, 0xFF, 0xFE, 0xFF, 0x03, 0x00, 0xFD, 0xFF, 0xFE, 0xFF
|
||||
.byte 0xFD, 0xFF, 0x02, 0x00, 0x02, 0x00, 0xFD, 0xFF, 0x02, 0x00, 0x03, 0x00, 0x03, 0x00, 0xFE, 0xFF
|
||||
.byte 0x03, 0x00, 0x02, 0x00, 0xFD, 0xFF, 0xFD, 0xFF, 0xFD, 0xFF, 0x03, 0x00, 0x03, 0x00, 0xFD, 0xFF
|
||||
.byte 0x03, 0x00, 0x03, 0x00, 0x63, 0x00, 0x63, 0x00
|
||||
.global ov29_02351974
|
||||
ov29_02351974:
|
||||
.byte 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00
|
||||
.byte 0x01, 0x00, 0x02, 0x00, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x01, 0x00, 0x03, 0x00
|
||||
.byte 0xFF, 0xFF, 0x03, 0x00, 0x02, 0x00, 0x03, 0x00, 0xFE, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00
|
||||
.byte 0x01, 0x00, 0x04, 0x00, 0xFF, 0xFF, 0x04, 0x00, 0x02, 0x00, 0x04, 0x00, 0xFE, 0xFF, 0x04, 0x00
|
||||
.byte 0x03, 0x00, 0x04, 0x00, 0xFD, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x05, 0x00, 0x01, 0x00, 0x05, 0x00
|
||||
.byte 0xFF, 0xFF, 0x05, 0x00, 0x02, 0x00, 0x05, 0x00, 0xFE, 0xFF, 0x05, 0x00, 0x03, 0x00, 0x05, 0x00
|
||||
.byte 0xFD, 0xFF, 0x05, 0x00, 0x04, 0x00, 0x05, 0x00, 0xFC, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x06, 0x00
|
||||
.byte 0x01, 0x00, 0x06, 0x00, 0xFF, 0xFF, 0x06, 0x00, 0x02, 0x00, 0x06, 0x00, 0xFE, 0xFF, 0x06, 0x00
|
||||
.byte 0x03, 0x00, 0x06, 0x00, 0xFD, 0xFF, 0x06, 0x00, 0x04, 0x00, 0x06, 0x00, 0xFC, 0xFF, 0x06, 0x00
|
||||
.byte 0x05, 0x00, 0x06, 0x00, 0xFB, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x07, 0x00, 0x01, 0x00, 0x07, 0x00
|
||||
.byte 0xFF, 0xFF, 0x07, 0x00, 0x02, 0x00, 0x07, 0x00, 0xFE, 0xFF, 0x07, 0x00, 0x03, 0x00, 0x07, 0x00
|
||||
.byte 0xFD, 0xFF, 0x07, 0x00, 0x04, 0x00, 0x07, 0x00, 0xFC, 0xFF, 0x07, 0x00, 0x05, 0x00, 0x07, 0x00
|
||||
.byte 0xFB, 0xFF, 0x07, 0x00, 0x06, 0x00, 0x07, 0x00, 0xFA, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x08, 0x00
|
||||
.byte 0x01, 0x00, 0x08, 0x00, 0xFF, 0xFF, 0x08, 0x00, 0x02, 0x00, 0x08, 0x00, 0xFE, 0xFF, 0x08, 0x00
|
||||
.byte 0x03, 0x00, 0x08, 0x00, 0xFD, 0xFF, 0x08, 0x00, 0x04, 0x00, 0x08, 0x00, 0xFC, 0xFF, 0x08, 0x00
|
||||
.byte 0x05, 0x00, 0x08, 0x00, 0xFB, 0xFF, 0x08, 0x00, 0x06, 0x00, 0x08, 0x00, 0xFA, 0xFF, 0x08, 0x00
|
||||
.byte 0x07, 0x00, 0x08, 0x00, 0xF9, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x09, 0x00, 0x01, 0x00, 0x09, 0x00
|
||||
.byte 0xFF, 0xFF, 0x09, 0x00, 0x02, 0x00, 0x09, 0x00, 0xFE, 0xFF, 0x09, 0x00, 0x03, 0x00, 0x09, 0x00
|
||||
.byte 0xFD, 0xFF, 0x09, 0x00, 0x04, 0x00, 0x09, 0x00, 0xFC, 0xFF, 0x09, 0x00, 0x05, 0x00, 0x09, 0x00
|
||||
.byte 0xFB, 0xFF, 0x09, 0x00, 0x06, 0x00, 0x09, 0x00, 0xFA, 0xFF, 0x09, 0x00, 0x07, 0x00, 0x09, 0x00
|
||||
.byte 0xF9, 0xFF, 0x09, 0x00, 0x08, 0x00, 0x09, 0x00, 0xF8, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x0A, 0x00
|
||||
.byte 0x01, 0x00, 0x0A, 0x00, 0xFF, 0xFF, 0x0A, 0x00, 0x02, 0x00, 0x0A, 0x00, 0xFE, 0xFF, 0x0A, 0x00
|
||||
.byte 0x03, 0x00, 0x0A, 0x00, 0xFD, 0xFF, 0x0A, 0x00, 0x04, 0x00, 0x0A, 0x00, 0xFC, 0xFF, 0x0A, 0x00
|
||||
.byte 0x05, 0x00, 0x0A, 0x00, 0xFB, 0xFF, 0x0A, 0x00, 0x06, 0x00, 0x0A, 0x00, 0xFA, 0xFF, 0x0A, 0x00
|
||||
.byte 0x07, 0x00, 0x0A, 0x00, 0xF9, 0xFF, 0x0A, 0x00, 0x08, 0x00, 0x0A, 0x00, 0xF8, 0xFF, 0x0A, 0x00
|
||||
.byte 0x63, 0x00, 0x63, 0x00
|
||||
.global ov29_02351B00
|
||||
ov29_02351B00:
|
||||
.byte 0x01, 0x00, 0x01, 0x00, 0x02, 0x00, 0x02, 0x00, 0x02, 0x00, 0x01, 0x00
|
||||
.byte 0x01, 0x00, 0x02, 0x00, 0x03, 0x00, 0x03, 0x00, 0x03, 0x00, 0x02, 0x00, 0x02, 0x00, 0x03, 0x00
|
||||
.byte 0x03, 0x00, 0x01, 0x00, 0x01, 0x00, 0x03, 0x00, 0x04, 0x00, 0x04, 0x00, 0x04, 0x00, 0x03, 0x00
|
||||
.byte 0x03, 0x00, 0x04, 0x00, 0x04, 0x00, 0x02, 0x00, 0x02, 0x00, 0x04, 0x00, 0x04, 0x00, 0x01, 0x00
|
||||
.byte 0x01, 0x00, 0x04, 0x00, 0x05, 0x00, 0x05, 0x00, 0x05, 0x00, 0x04, 0x00, 0x04, 0x00, 0x05, 0x00
|
||||
.byte 0x05, 0x00, 0x03, 0x00, 0x03, 0x00, 0x05, 0x00, 0x05, 0x00, 0x02, 0x00, 0x02, 0x00, 0x05, 0x00
|
||||
.byte 0x05, 0x00, 0x01, 0x00, 0x01, 0x00, 0x05, 0x00, 0x06, 0x00, 0x06, 0x00, 0x06, 0x00, 0x05, 0x00
|
||||
.byte 0x05, 0x00, 0x06, 0x00, 0x06, 0x00, 0x04, 0x00, 0x04, 0x00, 0x06, 0x00, 0x06, 0x00, 0x03, 0x00
|
||||
.byte 0x03, 0x00, 0x06, 0x00, 0x06, 0x00, 0x02, 0x00, 0x02, 0x00, 0x06, 0x00, 0x06, 0x00, 0x01, 0x00
|
||||
.byte 0x01, 0x00, 0x06, 0x00, 0x07, 0x00, 0x07, 0x00, 0x07, 0x00, 0x06, 0x00, 0x06, 0x00, 0x07, 0x00
|
||||
.byte 0x07, 0x00, 0x05, 0x00, 0x05, 0x00, 0x07, 0x00, 0x07, 0x00, 0x04, 0x00, 0x04, 0x00, 0x07, 0x00
|
||||
.byte 0x07, 0x00, 0x03, 0x00, 0x03, 0x00, 0x07, 0x00, 0x07, 0x00, 0x02, 0x00, 0x02, 0x00, 0x07, 0x00
|
||||
.byte 0x07, 0x00, 0x01, 0x00, 0x01, 0x00, 0x07, 0x00, 0x08, 0x00, 0x08, 0x00, 0x08, 0x00, 0x07, 0x00
|
||||
.byte 0x07, 0x00, 0x08, 0x00, 0x08, 0x00, 0x06, 0x00, 0x06, 0x00, 0x08, 0x00, 0x08, 0x00, 0x05, 0x00
|
||||
.byte 0x05, 0x00, 0x08, 0x00, 0x08, 0x00, 0x04, 0x00, 0x04, 0x00, 0x08, 0x00, 0x08, 0x00, 0x03, 0x00
|
||||
.byte 0x03, 0x00, 0x08, 0x00, 0x08, 0x00, 0x02, 0x00, 0x02, 0x00, 0x08, 0x00, 0x08, 0x00, 0x01, 0x00
|
||||
.byte 0x01, 0x00, 0x08, 0x00, 0x09, 0x00, 0x09, 0x00, 0x09, 0x00, 0x08, 0x00, 0x08, 0x00, 0x09, 0x00
|
||||
.byte 0x09, 0x00, 0x07, 0x00, 0x07, 0x00, 0x09, 0x00, 0x09, 0x00, 0x06, 0x00, 0x06, 0x00, 0x09, 0x00
|
||||
.byte 0x09, 0x00, 0x05, 0x00, 0x05, 0x00, 0x09, 0x00, 0x09, 0x00, 0x04, 0x00, 0x04, 0x00, 0x09, 0x00
|
||||
.byte 0x09, 0x00, 0x03, 0x00, 0x03, 0x00, 0x09, 0x00, 0x09, 0x00, 0x02, 0x00, 0x02, 0x00, 0x09, 0x00
|
||||
.byte 0x09, 0x00, 0x01, 0x00, 0x01, 0x00, 0x09, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x09, 0x00
|
||||
.byte 0x09, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x08, 0x00, 0x08, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x07, 0x00
|
||||
.byte 0x07, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x06, 0x00, 0x06, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x05, 0x00
|
||||
.byte 0x05, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x04, 0x00, 0x04, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x03, 0x00
|
||||
.byte 0x03, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x02, 0x00, 0x02, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x01, 0x00
|
||||
.byte 0x01, 0x00, 0x0A, 0x00, 0x63, 0x00, 0x63, 0x00
|
||||
.global ov29_02351C94
|
||||
ov29_02351C94:
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0xFF, 0xFF, 0x02, 0x00, 0x01, 0x00, 0x03, 0x00, 0x00, 0x00, 0x03, 0x00, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x01, 0x00, 0x03, 0x00, 0xFE, 0xFF, 0x03, 0x00, 0x02, 0x00, 0x04, 0x00, 0x00, 0x00
|
||||
.byte 0x04, 0x00, 0xFF, 0xFF, 0x04, 0x00, 0x01, 0x00, 0x04, 0x00, 0xFE, 0xFF, 0x04, 0x00, 0x02, 0x00
|
||||
.byte 0x04, 0x00, 0xFD, 0xFF, 0x04, 0x00, 0x03, 0x00, 0x05, 0x00, 0x00, 0x00, 0x05, 0x00, 0xFF, 0xFF
|
||||
.byte 0x05, 0x00, 0x01, 0x00, 0x05, 0x00, 0xFE, 0xFF, 0x05, 0x00, 0x02, 0x00, 0x05, 0x00, 0xFD, 0xFF
|
||||
.byte 0x05, 0x00, 0x03, 0x00, 0x05, 0x00, 0xFC, 0xFF, 0x05, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00, 0x00
|
||||
.byte 0x06, 0x00, 0xFF, 0xFF, 0x06, 0x00, 0x01, 0x00, 0x06, 0x00, 0xFE, 0xFF, 0x06, 0x00, 0x02, 0x00
|
||||
.byte 0x06, 0x00, 0xFD, 0xFF, 0x06, 0x00, 0x03, 0x00, 0x06, 0x00, 0xFC, 0xFF, 0x06, 0x00, 0x04, 0x00
|
||||
.byte 0x06, 0x00, 0xFB, 0xFF, 0x06, 0x00, 0x05, 0x00, 0x07, 0x00, 0x00, 0x00, 0x07, 0x00, 0xFF, 0xFF
|
||||
.byte 0x07, 0x00, 0x01, 0x00, 0x07, 0x00, 0xFE, 0xFF, 0x07, 0x00, 0x02, 0x00, 0x07, 0x00, 0xFD, 0xFF
|
||||
.byte 0x07, 0x00, 0x03, 0x00, 0x07, 0x00, 0xFC, 0xFF, 0x07, 0x00, 0x04, 0x00, 0x07, 0x00, 0xFB, 0xFF
|
||||
.byte 0x07, 0x00, 0x05, 0x00, 0x07, 0x00, 0xFA, 0xFF, 0x07, 0x00, 0x06, 0x00, 0x08, 0x00, 0x00, 0x00
|
||||
.byte 0x08, 0x00, 0xFF, 0xFF, 0x08, 0x00, 0x01, 0x00, 0x08, 0x00, 0xFE, 0xFF, 0x08, 0x00, 0x02, 0x00
|
||||
.byte 0x08, 0x00, 0xFD, 0xFF, 0x08, 0x00, 0x03, 0x00, 0x08, 0x00, 0xFC, 0xFF, 0x08, 0x00, 0x04, 0x00
|
||||
.byte 0x08, 0x00, 0xFB, 0xFF, 0x08, 0x00, 0x05, 0x00, 0x08, 0x00, 0xFA, 0xFF, 0x08, 0x00, 0x06, 0x00
|
||||
.byte 0x08, 0x00, 0xF9, 0xFF, 0x08, 0x00, 0x07, 0x00, 0x09, 0x00, 0x00, 0x00, 0x09, 0x00, 0xFF, 0xFF
|
||||
.byte 0x09, 0x00, 0x01, 0x00, 0x09, 0x00, 0xFE, 0xFF, 0x09, 0x00, 0x02, 0x00, 0x09, 0x00, 0xFD, 0xFF
|
||||
.byte 0x09, 0x00, 0x03, 0x00, 0x09, 0x00, 0xFC, 0xFF, 0x09, 0x00, 0x04, 0x00, 0x09, 0x00, 0xFB, 0xFF
|
||||
.byte 0x09, 0x00, 0x05, 0x00, 0x09, 0x00, 0xFA, 0xFF, 0x09, 0x00, 0x06, 0x00, 0x09, 0x00, 0xF9, 0xFF
|
||||
.byte 0x09, 0x00, 0x07, 0x00, 0x09, 0x00, 0xF8, 0xFF, 0x09, 0x00, 0x08, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x0A, 0x00, 0xFF, 0xFF, 0x0A, 0x00, 0x01, 0x00, 0x0A, 0x00, 0xFE, 0xFF, 0x0A, 0x00, 0x02, 0x00
|
||||
.byte 0x0A, 0x00, 0xFD, 0xFF, 0x0A, 0x00, 0x03, 0x00, 0x0A, 0x00, 0xFC, 0xFF, 0x0A, 0x00, 0x04, 0x00
|
||||
.byte 0x0A, 0x00, 0xFB, 0xFF, 0x0A, 0x00, 0x05, 0x00, 0x0A, 0x00, 0xFA, 0xFF, 0x0A, 0x00, 0x06, 0x00
|
||||
.byte 0x0A, 0x00, 0xF9, 0xFF, 0x0A, 0x00, 0x07, 0x00, 0x0A, 0x00, 0xF8, 0xFF, 0x0A, 0x00, 0x08, 0x00
|
||||
.byte 0x0A, 0x00, 0xF7, 0xFF, 0x0A, 0x00, 0x09, 0x00, 0x63, 0x00, 0x63, 0x00
|
||||
.global ov29_02351E28
|
||||
ov29_02351E28:
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0xFF, 0xFF, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0xFF, 0xFF
|
||||
.byte 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x01, 0x00, 0xFE, 0xFF, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF
|
||||
.byte 0x00, 0x00, 0x02, 0x00, 0x01, 0x00, 0xFF, 0xFF, 0x01, 0x00, 0x01, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||
.byte 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0xFE, 0xFF, 0x01, 0x00
|
||||
.byte 0xFD, 0xFF, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x03, 0x00, 0x01, 0x00, 0xFE, 0xFF
|
||||
.byte 0x01, 0x00, 0x02, 0x00, 0x02, 0x00, 0xFF, 0xFF, 0x02, 0x00, 0x01, 0x00, 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0xFF, 0xFF, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0xFE, 0xFF, 0xFE, 0xFF, 0xFE, 0xFF, 0x02, 0x00
|
||||
.byte 0xFD, 0xFF, 0xFF, 0xFF, 0xFD, 0xFF, 0x01, 0x00, 0x01, 0x00, 0xFD, 0xFF, 0x01, 0x00, 0x03, 0x00
|
||||
.byte 0x02, 0x00, 0xFE, 0xFF, 0x02, 0x00, 0x02, 0x00, 0x03, 0x00, 0xFF, 0xFF, 0x03, 0x00, 0x01, 0x00
|
||||
.byte 0xFE, 0xFF, 0xFD, 0xFF, 0xFE, 0xFF, 0x03, 0x00, 0xFD, 0xFF, 0xFE, 0xFF, 0xFD, 0xFF, 0x02, 0x00
|
||||
.byte 0x02, 0x00, 0xFD, 0xFF, 0x02, 0x00, 0x03, 0x00, 0x03, 0x00, 0xFE, 0xFF, 0x03, 0x00, 0x02, 0x00
|
||||
.byte 0xFD, 0xFF, 0xFD, 0xFF, 0xFD, 0xFF, 0x03, 0x00, 0x03, 0x00, 0xFD, 0xFF, 0x03, 0x00, 0x03, 0x00
|
||||
.byte 0xFC, 0xFF, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x00, 0x00, 0x04, 0x00
|
||||
.byte 0xFC, 0xFF, 0x01, 0x00, 0x04, 0x00, 0x01, 0x00, 0xFF, 0xFF, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00
|
||||
.byte 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0xFF, 0xFF, 0x01, 0x00, 0xFC, 0xFF, 0x01, 0x00, 0x04, 0x00
|
||||
.byte 0xFC, 0xFF, 0x02, 0x00, 0x04, 0x00, 0x02, 0x00, 0xFE, 0xFF, 0xFC, 0xFF, 0xFE, 0xFF, 0x04, 0x00
|
||||
.byte 0xFC, 0xFF, 0xFE, 0xFF, 0x04, 0x00, 0xFE, 0xFF, 0x02, 0x00, 0xFC, 0xFF, 0x02, 0x00, 0x04, 0x00
|
||||
.byte 0xFC, 0xFF, 0x03, 0x00, 0x04, 0x00, 0x03, 0x00, 0xFD, 0xFF, 0xFC, 0xFF, 0xFD, 0xFF, 0x04, 0x00
|
||||
.byte 0xFC, 0xFF, 0xFD, 0xFF, 0x04, 0x00, 0xFD, 0xFF, 0x03, 0x00, 0xFC, 0xFF, 0x03, 0x00, 0x04, 0x00
|
||||
.byte 0xFC, 0xFF, 0x04, 0x00, 0x04, 0x00, 0x04, 0x00, 0xFC, 0xFF, 0xFC, 0xFF, 0xFC, 0xFF, 0x04, 0x00
|
||||
.byte 0xFB, 0xFF, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x00, 0x00, 0x05, 0x00
|
||||
.byte 0xFB, 0xFF, 0xFF, 0xFF, 0x05, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFB, 0xFF, 0xFF, 0xFF, 0x05, 0x00
|
||||
.byte 0xFB, 0xFF, 0x01, 0x00, 0x05, 0x00, 0x01, 0x00, 0x01, 0x00, 0xFB, 0xFF, 0x01, 0x00, 0x05, 0x00
|
||||
.byte 0xFB, 0xFF, 0xFE, 0xFF, 0x05, 0x00, 0xFE, 0xFF, 0xFE, 0xFF, 0xFB, 0xFF, 0xFE, 0xFF, 0x05, 0x00
|
||||
.byte 0xFB, 0xFF, 0x02, 0x00, 0x05, 0x00, 0x02, 0x00, 0x02, 0x00, 0xFB, 0xFF, 0x02, 0x00, 0x05, 0x00
|
||||
.byte 0xFB, 0xFF, 0xFD, 0xFF, 0x05, 0x00, 0xFD, 0xFF, 0xFD, 0xFF, 0xFB, 0xFF, 0xFD, 0xFF, 0x05, 0x00
|
||||
.byte 0xFB, 0xFF, 0x03, 0x00, 0x05, 0x00, 0x03, 0x00, 0x03, 0x00, 0xFB, 0xFF, 0x03, 0x00, 0x05, 0x00
|
||||
.byte 0xFB, 0xFF, 0xFC, 0xFF, 0x05, 0x00, 0xFC, 0xFF, 0xFC, 0xFF, 0xFB, 0xFF, 0xFC, 0xFF, 0x05, 0x00
|
||||
.byte 0xFB, 0xFF, 0x04, 0x00, 0x05, 0x00, 0x04, 0x00, 0x04, 0x00, 0xFB, 0xFF, 0x04, 0x00, 0x05, 0x00
|
||||
.byte 0xFB, 0xFF, 0xFB, 0xFF, 0x05, 0x00, 0xFB, 0xFF, 0xFB, 0xFF, 0xFB, 0xFF, 0xFB, 0xFF, 0x05, 0x00
|
||||
.byte 0x63, 0x00, 0x63, 0x00
|
||||
.global ITEM_CATEGORY_ACTIONS
|
||||
ITEM_CATEGORY_ACTIONS:
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x0D, 0x00, 0x0E, 0x00, 0x00, 0x00, 0x10, 0x00
|
||||
.byte 0x00, 0x00, 0x12, 0x00, 0x12, 0x00, 0x31, 0x00, 0x2C, 0x00, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.global ov29_02352030
|
||||
ov29_02352030:
|
||||
#ifdef JAPAN
|
||||
.byte 0xE5, 0x1C
|
||||
#else
|
||||
.byte 0x8B, 0x08
|
||||
#endif
|
||||
.global ov29_02352032
|
||||
ov29_02352032:
|
||||
#ifdef JAPAN
|
||||
.byte 0xE6, 0x1C, 0xE7, 0x1C, 0xE8, 0x1C, 0xE9, 0x1C, 0xEA, 0x1C
|
||||
.byte 0xEB, 0x1C, 0xEC, 0x1C, 0xED, 0x1C, 0xEE, 0x1C, 0xEF, 0x1C, 0xF0, 0x1C, 0xF1, 0x1C, 0xF2, 0x1C
|
||||
.byte 0xF3, 0x1C, 0xF4, 0x1C, 0xF5, 0x1C, 0xF6, 0x1C, 0xF7, 0x1C, 0xF8, 0x1C, 0xF9, 0x1C, 0xFA, 0x1C
|
||||
.byte 0xFB, 0x1C, 0xFC, 0x1C, 0xFD, 0x1C, 0xFE, 0x1C, 0xFF, 0x1C, 0x00, 0x1D, 0x01, 0x1D, 0x02, 0x1D
|
||||
.byte 0x03, 0x1D, 0x04, 0x1D
|
||||
#else
|
||||
.byte 0x8C, 0x08, 0x8D, 0x08, 0x8E, 0x08, 0x8F, 0x08, 0x90, 0x08
|
||||
.byte 0x91, 0x08, 0x92, 0x08, 0x93, 0x08, 0x94, 0x08, 0x95, 0x08, 0x96, 0x08, 0x97, 0x08, 0x98, 0x08
|
||||
.byte 0x99, 0x08, 0x9A, 0x08, 0x9B, 0x08, 0x9C, 0x08, 0x9D, 0x08, 0x9E, 0x08, 0x9F, 0x08, 0xA0, 0x08
|
||||
.byte 0xA1, 0x08, 0xA2, 0x08, 0xA3, 0x08, 0xA4, 0x08, 0xA5, 0x08, 0xA6, 0x08, 0xA7, 0x08, 0xA8, 0x08
|
||||
.byte 0xA9, 0x08, 0xAA, 0x08
|
||||
#endif
|
||||
.global ov29_02352070
|
||||
ov29_02352070:
|
||||
.byte 0x58, 0x00, 0x00, 0x00
|
||||
.global ov29_02352074
|
||||
ov29_02352074:
|
||||
#ifdef JAPAN
|
||||
.byte 0x57, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x58, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x59, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x5A, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x5B, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x5C, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x5D, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x5E, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x5F, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x60, 0x23, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x61, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x62, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x63, 0x23, 0x00, 0x00, 0x5A, 0x00, 0x00, 0x00
|
||||
.byte 0x64, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x65, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x66, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x67, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x68, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x69, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x6A, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x6B, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x6C, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x6D, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x6E, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x6F, 0x23, 0x00, 0x00, 0xE7, 0x03, 0x00, 0x00
|
||||
.byte 0x70, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x71, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x72, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x73, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x74, 0x23, 0x00, 0x00, 0x5A, 0x00, 0x00, 0x00, 0x75, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x76, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x77, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x78, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x79, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x7A, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x7B, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x7C, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x7D, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x7E, 0x23, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x7F, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x80, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x81, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x82, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x83, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x84, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x85, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x86, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x87, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x88, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x89, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x8A, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x8B, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x8C, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x8D, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x8E, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x8F, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x90, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x91, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x92, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x93, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x94, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x95, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x96, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x97, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x98, 0x23, 0x00, 0x00
|
||||
#else
|
||||
.byte 0x87, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x88, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x89, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x8A, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x8B, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x8C, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x8D, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x8E, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x8F, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x90, 0x09, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x91, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x92, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x93, 0x09, 0x00, 0x00, 0x5A, 0x00, 0x00, 0x00
|
||||
.byte 0x94, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x95, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x96, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x97, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x98, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x99, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x9A, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x9B, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x9C, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x9D, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x9E, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x9F, 0x09, 0x00, 0x00, 0xE7, 0x03, 0x00, 0x00
|
||||
.byte 0xA0, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xA1, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xA2, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xA3, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xA4, 0x09, 0x00, 0x00, 0x5A, 0x00, 0x00, 0x00, 0xA5, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xA6, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xA7, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xA8, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xA9, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xAA, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xAB, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xAC, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xAD, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xAE, 0x09, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0xAF, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xB0, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xB1, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xB2, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xB3, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xB4, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xB5, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xB6, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xB7, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xB8, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xB9, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xBA, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xBB, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xBC, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xBD, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xBE, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xBF, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xC0, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xC1, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xC2, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xC3, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xC4, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xC5, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xC6, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xC7, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xC8, 0x09, 0x00, 0x00
|
||||
#endif
|
||||
.byte 0x05, 0x00, 0x00, 0x00
|
||||
.global FRACTIONAL_TURN_SEQUENCE
|
||||
FRACTIONAL_TURN_SEQUENCE:
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00
|
||||
.global ov29_023522B6
|
||||
ov29_023522B6:
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A, 0x00
|
||||
.byte 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x00, 0x0D, 0x00, 0x00, 0x00, 0x0E, 0x00
|
||||
.byte 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x12, 0x00
|
||||
.byte 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x15, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x16, 0x00, 0x17, 0x00, 0x18, 0x00, 0x00, 0x00, 0x19, 0x00, 0x1A, 0x00, 0x1B, 0x00, 0x00, 0x00
|
||||
.byte 0x1C, 0x00, 0x1D, 0x00, 0x1E, 0x00, 0x00, 0x00, 0x1F, 0x00, 0x20, 0x00, 0x21, 0x00, 0x00, 0x00
|
||||
.byte 0x22, 0x00, 0x23, 0x00, 0x24, 0x00, 0x00, 0x00, 0x25, 0x00, 0x26, 0x00, 0x27, 0x00, 0x00, 0x00
|
||||
.byte 0x28, 0x00, 0x29, 0x00, 0x2A, 0x00, 0x2B, 0x00, 0x2C, 0x00, 0x2D, 0x00, 0x2E, 0x00, 0x2F, 0x00
|
||||
.byte 0x30, 0x00, 0x31, 0x00, 0x32, 0x00, 0x33, 0x00, 0x34, 0x00, 0x35, 0x00, 0x36, 0x00, 0x37, 0x00
|
||||
.byte 0x38, 0x00, 0x39, 0x00, 0x3A, 0x00, 0x3B, 0x00, 0x3C, 0x00, 0x3D, 0x00, 0x3E, 0x00, 0x3F, 0x00
|
||||
.byte 0x40, 0x00, 0x00, 0x00
|
||||
.global ov29_02352380
|
||||
ov29_02352380:
|
||||
.byte 0x67, 0x00, 0x00, 0x00, 0x68, 0x00, 0x00, 0x00, 0x68, 0x00, 0x00, 0x00
|
||||
.byte 0x69, 0x00, 0x00, 0x00
|
||||
.global ov29_02352390
|
||||
ov29_02352390:
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x05, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x07, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x08, 0x00, 0x00, 0x00
|
||||
.global ov29_02352690
|
||||
ov29_02352690:
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.global ov29_02352698
|
||||
ov29_02352698:
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.global ov29_023526A0
|
||||
ov29_023526A0:
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.global ov29_023526A8
|
||||
ov29_023526A8:
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x16, 0x02, 0x08, 0x05, 0x00, 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.global ov29_023526B8
|
||||
ov29_023526B8:
|
||||
.byte 0x5B, 0x43, 0x53, 0x3A
|
||||
.byte 0x56, 0x5D, 0x5B, 0x67, 0x6F, 0x6C, 0x64, 0x3A, 0x30, 0x5D, 0x00, 0x00
|
||||
.global ov29_023526C8
|
||||
ov29_023526C8:
|
||||
.byte 0x00, 0x00, 0x01, 0x01
|
||||
.byte 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00
|
||||
.global ov29_023526D8
|
||||
ov29_023526D8:
|
||||
.byte 0xFF, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x01, 0x00, 0xFF, 0xFF, 0x01, 0x00, 0x01, 0x01, 0x01, 0x00, 0x01, 0x00, 0x00, 0x01, 0x01, 0x00
|
||||
.byte 0xFF, 0xFF, 0x00, 0x00
|
||||
.global ov29_023526F0
|
||||
ov29_023526F0:
|
||||
.byte 0x00, 0x00
|
||||
.global ov29_023526F2
|
||||
ov29_023526F2:
|
||||
.byte 0x01, 0x00
|
||||
.global ov29_023526F4
|
||||
ov29_023526F4:
|
||||
.byte 0xDA, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00
|
||||
.byte 0x01, 0x00, 0x01, 0x00, 0xDB, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00
|
||||
.byte 0xDC, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0xFF, 0xFF, 0xDB, 0x01, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xDA, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00
|
||||
.byte 0xFF, 0xFF, 0xFF, 0xFF, 0xDB, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00
|
||||
.byte 0xDC, 0x01, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0xFF, 0xFF, 0x01, 0x00, 0xDB, 0x01, 0x00, 0x00
|
||||
.byte 0x01, 0x01, 0x00, 0x00
|
||||
.global ov29_02352750
|
||||
ov29_02352750:
|
||||
.byte 0x6D, 0x6F, 0x76, 0x65, 0x3A, 0x00, 0x00, 0x00
|
||||
.global ov29_02352758
|
||||
ov29_02352758:
|
||||
.byte 0x81, 0x45, 0x81, 0x45
|
||||
.byte 0x81, 0x45, 0x00, 0x00
|
||||
.global ov29_02352760
|
||||
ov29_02352760:
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.global BELLY_DRAIN_IN_WALLS_INT
|
||||
BELLY_DRAIN_IN_WALLS_INT:
|
||||
.byte 0x05, 0x00, 0x00, 0x00
|
||||
.global ov29_0235276C
|
||||
ov29_0235276C:
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
417
asm/overlay_29_rodata_0235179C.s
Normal file
417
asm/overlay_29_rodata_0235179C.s
Normal file
@@ -0,0 +1,417 @@
|
||||
.include "asm/macros.inc"
|
||||
.include "overlay_29_rodata_0235179C.inc"
|
||||
|
||||
.rodata
|
||||
.global ov29_0235179C
|
||||
ov29_0235179C:
|
||||
.word ov29_02351974
|
||||
.global ov29_023517A0
|
||||
ov29_023517A0:
|
||||
.byte 0x01, 0x00
|
||||
.global ov29_023517A2
|
||||
ov29_023517A2:
|
||||
.byte 0x01, 0x00
|
||||
.word ov29_02351B00
|
||||
.byte 0x01, 0x00, 0x01, 0x00
|
||||
.word ov29_02351C94
|
||||
.byte 0x01, 0x00, 0x01, 0x00
|
||||
.word ov29_02351B00
|
||||
.byte 0x01, 0x00, 0xFF, 0xFF
|
||||
.word ov29_02351974
|
||||
.byte 0xFF, 0xFF, 0xFF, 0xFF
|
||||
.word ov29_02351B00
|
||||
.byte 0xFF, 0xFF, 0xFF, 0xFF
|
||||
.word ov29_02351C94
|
||||
.byte 0xFF, 0xFF, 0xFF, 0xFF
|
||||
.word ov29_02351B00
|
||||
.byte 0xFF, 0xFF, 0x01, 0x00
|
||||
.global DISPLACEMENTS_WITHIN_2_LARGEST_FIRST
|
||||
DISPLACEMENTS_WITHIN_2_LARGEST_FIRST:
|
||||
.byte 0x00, 0x00, 0xFE, 0xFF, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0xFE, 0xFF, 0xFE, 0xFF, 0x02, 0x00, 0x02, 0x00, 0x02, 0x00, 0xFE, 0xFF, 0xFE, 0xFF
|
||||
.byte 0xFF, 0xFF, 0xFE, 0xFF, 0x01, 0x00, 0xFE, 0xFF, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0xFF, 0xFF
|
||||
.byte 0xFE, 0xFF, 0x01, 0x00, 0x02, 0x00, 0x01, 0x00, 0xFF, 0xFF, 0x02, 0x00, 0x01, 0x00, 0x02, 0x00
|
||||
.byte 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00
|
||||
.byte 0xFF, 0xFF, 0xFF, 0xFF, 0x01, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x63, 0x00, 0x63, 0x00
|
||||
.global DISPLACEMENTS_WITHIN_2_SMALLEST_FIRST
|
||||
DISPLACEMENTS_WITHIN_2_SMALLEST_FIRST:
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x01, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0xFE, 0xFF, 0xFE, 0xFF
|
||||
.byte 0xFF, 0xFF, 0xFE, 0xFF, 0x00, 0x00, 0xFE, 0xFF, 0x01, 0x00, 0xFE, 0xFF, 0x02, 0x00, 0xFE, 0xFF
|
||||
.byte 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0xFF, 0xFF, 0xFE, 0xFF, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||
.byte 0xFE, 0xFF, 0x01, 0x00, 0x02, 0x00, 0x01, 0x00, 0xFE, 0xFF, 0x02, 0x00, 0xFF, 0xFF, 0x02, 0x00
|
||||
.byte 0x00, 0x00, 0x02, 0x00, 0x01, 0x00, 0x02, 0x00, 0x02, 0x00, 0x02, 0x00, 0x63, 0x00, 0x63, 0x00
|
||||
.global DISPLACEMENTS_WITHIN_3
|
||||
DISPLACEMENTS_WITHIN_3:
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x01, 0x00
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x01, 0x00, 0xFE, 0xFF, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0xFE, 0xFF, 0x00, 0x00, 0x02, 0x00, 0x01, 0x00, 0xFF, 0xFF, 0x01, 0x00, 0x01, 0x00
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0xFE, 0xFF, 0x01, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x03, 0x00
|
||||
.byte 0x01, 0x00, 0xFE, 0xFF, 0x01, 0x00, 0x02, 0x00, 0x02, 0x00, 0xFF, 0xFF, 0x02, 0x00, 0x01, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0xFE, 0xFF, 0xFE, 0xFF
|
||||
.byte 0xFE, 0xFF, 0x02, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0xFD, 0xFF, 0x01, 0x00, 0x01, 0x00, 0xFD, 0xFF
|
||||
.byte 0x01, 0x00, 0x03, 0x00, 0x02, 0x00, 0xFE, 0xFF, 0x02, 0x00, 0x02, 0x00, 0x03, 0x00, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x01, 0x00, 0xFE, 0xFF, 0xFD, 0xFF, 0xFE, 0xFF, 0x03, 0x00, 0xFD, 0xFF, 0xFE, 0xFF
|
||||
.byte 0xFD, 0xFF, 0x02, 0x00, 0x02, 0x00, 0xFD, 0xFF, 0x02, 0x00, 0x03, 0x00, 0x03, 0x00, 0xFE, 0xFF
|
||||
.byte 0x03, 0x00, 0x02, 0x00, 0xFD, 0xFF, 0xFD, 0xFF, 0xFD, 0xFF, 0x03, 0x00, 0x03, 0x00, 0xFD, 0xFF
|
||||
.byte 0x03, 0x00, 0x03, 0x00, 0x63, 0x00, 0x63, 0x00
|
||||
.global ov29_02351974
|
||||
ov29_02351974:
|
||||
.byte 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00
|
||||
.byte 0x01, 0x00, 0x02, 0x00, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x01, 0x00, 0x03, 0x00
|
||||
.byte 0xFF, 0xFF, 0x03, 0x00, 0x02, 0x00, 0x03, 0x00, 0xFE, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00
|
||||
.byte 0x01, 0x00, 0x04, 0x00, 0xFF, 0xFF, 0x04, 0x00, 0x02, 0x00, 0x04, 0x00, 0xFE, 0xFF, 0x04, 0x00
|
||||
.byte 0x03, 0x00, 0x04, 0x00, 0xFD, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x05, 0x00, 0x01, 0x00, 0x05, 0x00
|
||||
.byte 0xFF, 0xFF, 0x05, 0x00, 0x02, 0x00, 0x05, 0x00, 0xFE, 0xFF, 0x05, 0x00, 0x03, 0x00, 0x05, 0x00
|
||||
.byte 0xFD, 0xFF, 0x05, 0x00, 0x04, 0x00, 0x05, 0x00, 0xFC, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x06, 0x00
|
||||
.byte 0x01, 0x00, 0x06, 0x00, 0xFF, 0xFF, 0x06, 0x00, 0x02, 0x00, 0x06, 0x00, 0xFE, 0xFF, 0x06, 0x00
|
||||
.byte 0x03, 0x00, 0x06, 0x00, 0xFD, 0xFF, 0x06, 0x00, 0x04, 0x00, 0x06, 0x00, 0xFC, 0xFF, 0x06, 0x00
|
||||
.byte 0x05, 0x00, 0x06, 0x00, 0xFB, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x07, 0x00, 0x01, 0x00, 0x07, 0x00
|
||||
.byte 0xFF, 0xFF, 0x07, 0x00, 0x02, 0x00, 0x07, 0x00, 0xFE, 0xFF, 0x07, 0x00, 0x03, 0x00, 0x07, 0x00
|
||||
.byte 0xFD, 0xFF, 0x07, 0x00, 0x04, 0x00, 0x07, 0x00, 0xFC, 0xFF, 0x07, 0x00, 0x05, 0x00, 0x07, 0x00
|
||||
.byte 0xFB, 0xFF, 0x07, 0x00, 0x06, 0x00, 0x07, 0x00, 0xFA, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x08, 0x00
|
||||
.byte 0x01, 0x00, 0x08, 0x00, 0xFF, 0xFF, 0x08, 0x00, 0x02, 0x00, 0x08, 0x00, 0xFE, 0xFF, 0x08, 0x00
|
||||
.byte 0x03, 0x00, 0x08, 0x00, 0xFD, 0xFF, 0x08, 0x00, 0x04, 0x00, 0x08, 0x00, 0xFC, 0xFF, 0x08, 0x00
|
||||
.byte 0x05, 0x00, 0x08, 0x00, 0xFB, 0xFF, 0x08, 0x00, 0x06, 0x00, 0x08, 0x00, 0xFA, 0xFF, 0x08, 0x00
|
||||
.byte 0x07, 0x00, 0x08, 0x00, 0xF9, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x09, 0x00, 0x01, 0x00, 0x09, 0x00
|
||||
.byte 0xFF, 0xFF, 0x09, 0x00, 0x02, 0x00, 0x09, 0x00, 0xFE, 0xFF, 0x09, 0x00, 0x03, 0x00, 0x09, 0x00
|
||||
.byte 0xFD, 0xFF, 0x09, 0x00, 0x04, 0x00, 0x09, 0x00, 0xFC, 0xFF, 0x09, 0x00, 0x05, 0x00, 0x09, 0x00
|
||||
.byte 0xFB, 0xFF, 0x09, 0x00, 0x06, 0x00, 0x09, 0x00, 0xFA, 0xFF, 0x09, 0x00, 0x07, 0x00, 0x09, 0x00
|
||||
.byte 0xF9, 0xFF, 0x09, 0x00, 0x08, 0x00, 0x09, 0x00, 0xF8, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x0A, 0x00
|
||||
.byte 0x01, 0x00, 0x0A, 0x00, 0xFF, 0xFF, 0x0A, 0x00, 0x02, 0x00, 0x0A, 0x00, 0xFE, 0xFF, 0x0A, 0x00
|
||||
.byte 0x03, 0x00, 0x0A, 0x00, 0xFD, 0xFF, 0x0A, 0x00, 0x04, 0x00, 0x0A, 0x00, 0xFC, 0xFF, 0x0A, 0x00
|
||||
.byte 0x05, 0x00, 0x0A, 0x00, 0xFB, 0xFF, 0x0A, 0x00, 0x06, 0x00, 0x0A, 0x00, 0xFA, 0xFF, 0x0A, 0x00
|
||||
.byte 0x07, 0x00, 0x0A, 0x00, 0xF9, 0xFF, 0x0A, 0x00, 0x08, 0x00, 0x0A, 0x00, 0xF8, 0xFF, 0x0A, 0x00
|
||||
.byte 0x63, 0x00, 0x63, 0x00
|
||||
.global ov29_02351B00
|
||||
ov29_02351B00:
|
||||
.byte 0x01, 0x00, 0x01, 0x00, 0x02, 0x00, 0x02, 0x00, 0x02, 0x00, 0x01, 0x00
|
||||
.byte 0x01, 0x00, 0x02, 0x00, 0x03, 0x00, 0x03, 0x00, 0x03, 0x00, 0x02, 0x00, 0x02, 0x00, 0x03, 0x00
|
||||
.byte 0x03, 0x00, 0x01, 0x00, 0x01, 0x00, 0x03, 0x00, 0x04, 0x00, 0x04, 0x00, 0x04, 0x00, 0x03, 0x00
|
||||
.byte 0x03, 0x00, 0x04, 0x00, 0x04, 0x00, 0x02, 0x00, 0x02, 0x00, 0x04, 0x00, 0x04, 0x00, 0x01, 0x00
|
||||
.byte 0x01, 0x00, 0x04, 0x00, 0x05, 0x00, 0x05, 0x00, 0x05, 0x00, 0x04, 0x00, 0x04, 0x00, 0x05, 0x00
|
||||
.byte 0x05, 0x00, 0x03, 0x00, 0x03, 0x00, 0x05, 0x00, 0x05, 0x00, 0x02, 0x00, 0x02, 0x00, 0x05, 0x00
|
||||
.byte 0x05, 0x00, 0x01, 0x00, 0x01, 0x00, 0x05, 0x00, 0x06, 0x00, 0x06, 0x00, 0x06, 0x00, 0x05, 0x00
|
||||
.byte 0x05, 0x00, 0x06, 0x00, 0x06, 0x00, 0x04, 0x00, 0x04, 0x00, 0x06, 0x00, 0x06, 0x00, 0x03, 0x00
|
||||
.byte 0x03, 0x00, 0x06, 0x00, 0x06, 0x00, 0x02, 0x00, 0x02, 0x00, 0x06, 0x00, 0x06, 0x00, 0x01, 0x00
|
||||
.byte 0x01, 0x00, 0x06, 0x00, 0x07, 0x00, 0x07, 0x00, 0x07, 0x00, 0x06, 0x00, 0x06, 0x00, 0x07, 0x00
|
||||
.byte 0x07, 0x00, 0x05, 0x00, 0x05, 0x00, 0x07, 0x00, 0x07, 0x00, 0x04, 0x00, 0x04, 0x00, 0x07, 0x00
|
||||
.byte 0x07, 0x00, 0x03, 0x00, 0x03, 0x00, 0x07, 0x00, 0x07, 0x00, 0x02, 0x00, 0x02, 0x00, 0x07, 0x00
|
||||
.byte 0x07, 0x00, 0x01, 0x00, 0x01, 0x00, 0x07, 0x00, 0x08, 0x00, 0x08, 0x00, 0x08, 0x00, 0x07, 0x00
|
||||
.byte 0x07, 0x00, 0x08, 0x00, 0x08, 0x00, 0x06, 0x00, 0x06, 0x00, 0x08, 0x00, 0x08, 0x00, 0x05, 0x00
|
||||
.byte 0x05, 0x00, 0x08, 0x00, 0x08, 0x00, 0x04, 0x00, 0x04, 0x00, 0x08, 0x00, 0x08, 0x00, 0x03, 0x00
|
||||
.byte 0x03, 0x00, 0x08, 0x00, 0x08, 0x00, 0x02, 0x00, 0x02, 0x00, 0x08, 0x00, 0x08, 0x00, 0x01, 0x00
|
||||
.byte 0x01, 0x00, 0x08, 0x00, 0x09, 0x00, 0x09, 0x00, 0x09, 0x00, 0x08, 0x00, 0x08, 0x00, 0x09, 0x00
|
||||
.byte 0x09, 0x00, 0x07, 0x00, 0x07, 0x00, 0x09, 0x00, 0x09, 0x00, 0x06, 0x00, 0x06, 0x00, 0x09, 0x00
|
||||
.byte 0x09, 0x00, 0x05, 0x00, 0x05, 0x00, 0x09, 0x00, 0x09, 0x00, 0x04, 0x00, 0x04, 0x00, 0x09, 0x00
|
||||
.byte 0x09, 0x00, 0x03, 0x00, 0x03, 0x00, 0x09, 0x00, 0x09, 0x00, 0x02, 0x00, 0x02, 0x00, 0x09, 0x00
|
||||
.byte 0x09, 0x00, 0x01, 0x00, 0x01, 0x00, 0x09, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x09, 0x00
|
||||
.byte 0x09, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x08, 0x00, 0x08, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x07, 0x00
|
||||
.byte 0x07, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x06, 0x00, 0x06, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x05, 0x00
|
||||
.byte 0x05, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x04, 0x00, 0x04, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x03, 0x00
|
||||
.byte 0x03, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x02, 0x00, 0x02, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x01, 0x00
|
||||
.byte 0x01, 0x00, 0x0A, 0x00, 0x63, 0x00, 0x63, 0x00
|
||||
.global ov29_02351C94
|
||||
ov29_02351C94:
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0xFF, 0xFF, 0x02, 0x00, 0x01, 0x00, 0x03, 0x00, 0x00, 0x00, 0x03, 0x00, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x01, 0x00, 0x03, 0x00, 0xFE, 0xFF, 0x03, 0x00, 0x02, 0x00, 0x04, 0x00, 0x00, 0x00
|
||||
.byte 0x04, 0x00, 0xFF, 0xFF, 0x04, 0x00, 0x01, 0x00, 0x04, 0x00, 0xFE, 0xFF, 0x04, 0x00, 0x02, 0x00
|
||||
.byte 0x04, 0x00, 0xFD, 0xFF, 0x04, 0x00, 0x03, 0x00, 0x05, 0x00, 0x00, 0x00, 0x05, 0x00, 0xFF, 0xFF
|
||||
.byte 0x05, 0x00, 0x01, 0x00, 0x05, 0x00, 0xFE, 0xFF, 0x05, 0x00, 0x02, 0x00, 0x05, 0x00, 0xFD, 0xFF
|
||||
.byte 0x05, 0x00, 0x03, 0x00, 0x05, 0x00, 0xFC, 0xFF, 0x05, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00, 0x00
|
||||
.byte 0x06, 0x00, 0xFF, 0xFF, 0x06, 0x00, 0x01, 0x00, 0x06, 0x00, 0xFE, 0xFF, 0x06, 0x00, 0x02, 0x00
|
||||
.byte 0x06, 0x00, 0xFD, 0xFF, 0x06, 0x00, 0x03, 0x00, 0x06, 0x00, 0xFC, 0xFF, 0x06, 0x00, 0x04, 0x00
|
||||
.byte 0x06, 0x00, 0xFB, 0xFF, 0x06, 0x00, 0x05, 0x00, 0x07, 0x00, 0x00, 0x00, 0x07, 0x00, 0xFF, 0xFF
|
||||
.byte 0x07, 0x00, 0x01, 0x00, 0x07, 0x00, 0xFE, 0xFF, 0x07, 0x00, 0x02, 0x00, 0x07, 0x00, 0xFD, 0xFF
|
||||
.byte 0x07, 0x00, 0x03, 0x00, 0x07, 0x00, 0xFC, 0xFF, 0x07, 0x00, 0x04, 0x00, 0x07, 0x00, 0xFB, 0xFF
|
||||
.byte 0x07, 0x00, 0x05, 0x00, 0x07, 0x00, 0xFA, 0xFF, 0x07, 0x00, 0x06, 0x00, 0x08, 0x00, 0x00, 0x00
|
||||
.byte 0x08, 0x00, 0xFF, 0xFF, 0x08, 0x00, 0x01, 0x00, 0x08, 0x00, 0xFE, 0xFF, 0x08, 0x00, 0x02, 0x00
|
||||
.byte 0x08, 0x00, 0xFD, 0xFF, 0x08, 0x00, 0x03, 0x00, 0x08, 0x00, 0xFC, 0xFF, 0x08, 0x00, 0x04, 0x00
|
||||
.byte 0x08, 0x00, 0xFB, 0xFF, 0x08, 0x00, 0x05, 0x00, 0x08, 0x00, 0xFA, 0xFF, 0x08, 0x00, 0x06, 0x00
|
||||
.byte 0x08, 0x00, 0xF9, 0xFF, 0x08, 0x00, 0x07, 0x00, 0x09, 0x00, 0x00, 0x00, 0x09, 0x00, 0xFF, 0xFF
|
||||
.byte 0x09, 0x00, 0x01, 0x00, 0x09, 0x00, 0xFE, 0xFF, 0x09, 0x00, 0x02, 0x00, 0x09, 0x00, 0xFD, 0xFF
|
||||
.byte 0x09, 0x00, 0x03, 0x00, 0x09, 0x00, 0xFC, 0xFF, 0x09, 0x00, 0x04, 0x00, 0x09, 0x00, 0xFB, 0xFF
|
||||
.byte 0x09, 0x00, 0x05, 0x00, 0x09, 0x00, 0xFA, 0xFF, 0x09, 0x00, 0x06, 0x00, 0x09, 0x00, 0xF9, 0xFF
|
||||
.byte 0x09, 0x00, 0x07, 0x00, 0x09, 0x00, 0xF8, 0xFF, 0x09, 0x00, 0x08, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x0A, 0x00, 0xFF, 0xFF, 0x0A, 0x00, 0x01, 0x00, 0x0A, 0x00, 0xFE, 0xFF, 0x0A, 0x00, 0x02, 0x00
|
||||
.byte 0x0A, 0x00, 0xFD, 0xFF, 0x0A, 0x00, 0x03, 0x00, 0x0A, 0x00, 0xFC, 0xFF, 0x0A, 0x00, 0x04, 0x00
|
||||
.byte 0x0A, 0x00, 0xFB, 0xFF, 0x0A, 0x00, 0x05, 0x00, 0x0A, 0x00, 0xFA, 0xFF, 0x0A, 0x00, 0x06, 0x00
|
||||
.byte 0x0A, 0x00, 0xF9, 0xFF, 0x0A, 0x00, 0x07, 0x00, 0x0A, 0x00, 0xF8, 0xFF, 0x0A, 0x00, 0x08, 0x00
|
||||
.byte 0x0A, 0x00, 0xF7, 0xFF, 0x0A, 0x00, 0x09, 0x00, 0x63, 0x00, 0x63, 0x00
|
||||
.global ov29_02351E28
|
||||
ov29_02351E28:
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0xFF, 0xFF, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0xFF, 0xFF
|
||||
.byte 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x01, 0x00, 0xFE, 0xFF, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF
|
||||
.byte 0x00, 0x00, 0x02, 0x00, 0x01, 0x00, 0xFF, 0xFF, 0x01, 0x00, 0x01, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||
.byte 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0xFE, 0xFF, 0x01, 0x00
|
||||
.byte 0xFD, 0xFF, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x03, 0x00, 0x01, 0x00, 0xFE, 0xFF
|
||||
.byte 0x01, 0x00, 0x02, 0x00, 0x02, 0x00, 0xFF, 0xFF, 0x02, 0x00, 0x01, 0x00, 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0xFF, 0xFF, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0xFE, 0xFF, 0xFE, 0xFF, 0xFE, 0xFF, 0x02, 0x00
|
||||
.byte 0xFD, 0xFF, 0xFF, 0xFF, 0xFD, 0xFF, 0x01, 0x00, 0x01, 0x00, 0xFD, 0xFF, 0x01, 0x00, 0x03, 0x00
|
||||
.byte 0x02, 0x00, 0xFE, 0xFF, 0x02, 0x00, 0x02, 0x00, 0x03, 0x00, 0xFF, 0xFF, 0x03, 0x00, 0x01, 0x00
|
||||
.byte 0xFE, 0xFF, 0xFD, 0xFF, 0xFE, 0xFF, 0x03, 0x00, 0xFD, 0xFF, 0xFE, 0xFF, 0xFD, 0xFF, 0x02, 0x00
|
||||
.byte 0x02, 0x00, 0xFD, 0xFF, 0x02, 0x00, 0x03, 0x00, 0x03, 0x00, 0xFE, 0xFF, 0x03, 0x00, 0x02, 0x00
|
||||
.byte 0xFD, 0xFF, 0xFD, 0xFF, 0xFD, 0xFF, 0x03, 0x00, 0x03, 0x00, 0xFD, 0xFF, 0x03, 0x00, 0x03, 0x00
|
||||
.byte 0xFC, 0xFF, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x00, 0x00, 0x04, 0x00
|
||||
.byte 0xFC, 0xFF, 0x01, 0x00, 0x04, 0x00, 0x01, 0x00, 0xFF, 0xFF, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00
|
||||
.byte 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0xFF, 0xFF, 0x01, 0x00, 0xFC, 0xFF, 0x01, 0x00, 0x04, 0x00
|
||||
.byte 0xFC, 0xFF, 0x02, 0x00, 0x04, 0x00, 0x02, 0x00, 0xFE, 0xFF, 0xFC, 0xFF, 0xFE, 0xFF, 0x04, 0x00
|
||||
.byte 0xFC, 0xFF, 0xFE, 0xFF, 0x04, 0x00, 0xFE, 0xFF, 0x02, 0x00, 0xFC, 0xFF, 0x02, 0x00, 0x04, 0x00
|
||||
.byte 0xFC, 0xFF, 0x03, 0x00, 0x04, 0x00, 0x03, 0x00, 0xFD, 0xFF, 0xFC, 0xFF, 0xFD, 0xFF, 0x04, 0x00
|
||||
.byte 0xFC, 0xFF, 0xFD, 0xFF, 0x04, 0x00, 0xFD, 0xFF, 0x03, 0x00, 0xFC, 0xFF, 0x03, 0x00, 0x04, 0x00
|
||||
.byte 0xFC, 0xFF, 0x04, 0x00, 0x04, 0x00, 0x04, 0x00, 0xFC, 0xFF, 0xFC, 0xFF, 0xFC, 0xFF, 0x04, 0x00
|
||||
.byte 0xFB, 0xFF, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x00, 0x00, 0x05, 0x00
|
||||
.byte 0xFB, 0xFF, 0xFF, 0xFF, 0x05, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFB, 0xFF, 0xFF, 0xFF, 0x05, 0x00
|
||||
.byte 0xFB, 0xFF, 0x01, 0x00, 0x05, 0x00, 0x01, 0x00, 0x01, 0x00, 0xFB, 0xFF, 0x01, 0x00, 0x05, 0x00
|
||||
.byte 0xFB, 0xFF, 0xFE, 0xFF, 0x05, 0x00, 0xFE, 0xFF, 0xFE, 0xFF, 0xFB, 0xFF, 0xFE, 0xFF, 0x05, 0x00
|
||||
.byte 0xFB, 0xFF, 0x02, 0x00, 0x05, 0x00, 0x02, 0x00, 0x02, 0x00, 0xFB, 0xFF, 0x02, 0x00, 0x05, 0x00
|
||||
.byte 0xFB, 0xFF, 0xFD, 0xFF, 0x05, 0x00, 0xFD, 0xFF, 0xFD, 0xFF, 0xFB, 0xFF, 0xFD, 0xFF, 0x05, 0x00
|
||||
.byte 0xFB, 0xFF, 0x03, 0x00, 0x05, 0x00, 0x03, 0x00, 0x03, 0x00, 0xFB, 0xFF, 0x03, 0x00, 0x05, 0x00
|
||||
.byte 0xFB, 0xFF, 0xFC, 0xFF, 0x05, 0x00, 0xFC, 0xFF, 0xFC, 0xFF, 0xFB, 0xFF, 0xFC, 0xFF, 0x05, 0x00
|
||||
.byte 0xFB, 0xFF, 0x04, 0x00, 0x05, 0x00, 0x04, 0x00, 0x04, 0x00, 0xFB, 0xFF, 0x04, 0x00, 0x05, 0x00
|
||||
.byte 0xFB, 0xFF, 0xFB, 0xFF, 0x05, 0x00, 0xFB, 0xFF, 0xFB, 0xFF, 0xFB, 0xFF, 0xFB, 0xFF, 0x05, 0x00
|
||||
.byte 0x63, 0x00, 0x63, 0x00
|
||||
.global ITEM_CATEGORY_ACTIONS
|
||||
ITEM_CATEGORY_ACTIONS:
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x0D, 0x00, 0x0E, 0x00, 0x00, 0x00, 0x10, 0x00
|
||||
.byte 0x00, 0x00, 0x12, 0x00, 0x12, 0x00, 0x31, 0x00, 0x2C, 0x00, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.global ov29_02352030
|
||||
ov29_02352030:
|
||||
#ifdef JAPAN
|
||||
.byte 0xE5, 0x1C
|
||||
#else
|
||||
.byte 0x8B, 0x08
|
||||
#endif
|
||||
.global ov29_02352032
|
||||
ov29_02352032:
|
||||
#ifdef JAPAN
|
||||
.byte 0xE6, 0x1C, 0xE7, 0x1C, 0xE8, 0x1C, 0xE9, 0x1C, 0xEA, 0x1C
|
||||
.byte 0xEB, 0x1C, 0xEC, 0x1C, 0xED, 0x1C, 0xEE, 0x1C, 0xEF, 0x1C, 0xF0, 0x1C, 0xF1, 0x1C, 0xF2, 0x1C
|
||||
.byte 0xF3, 0x1C, 0xF4, 0x1C, 0xF5, 0x1C, 0xF6, 0x1C, 0xF7, 0x1C, 0xF8, 0x1C, 0xF9, 0x1C, 0xFA, 0x1C
|
||||
.byte 0xFB, 0x1C, 0xFC, 0x1C, 0xFD, 0x1C, 0xFE, 0x1C, 0xFF, 0x1C, 0x00, 0x1D, 0x01, 0x1D, 0x02, 0x1D
|
||||
.byte 0x03, 0x1D, 0x04, 0x1D
|
||||
#else
|
||||
.byte 0x8C, 0x08, 0x8D, 0x08, 0x8E, 0x08, 0x8F, 0x08, 0x90, 0x08
|
||||
.byte 0x91, 0x08, 0x92, 0x08, 0x93, 0x08, 0x94, 0x08, 0x95, 0x08, 0x96, 0x08, 0x97, 0x08, 0x98, 0x08
|
||||
.byte 0x99, 0x08, 0x9A, 0x08, 0x9B, 0x08, 0x9C, 0x08, 0x9D, 0x08, 0x9E, 0x08, 0x9F, 0x08, 0xA0, 0x08
|
||||
.byte 0xA1, 0x08, 0xA2, 0x08, 0xA3, 0x08, 0xA4, 0x08, 0xA5, 0x08, 0xA6, 0x08, 0xA7, 0x08, 0xA8, 0x08
|
||||
.byte 0xA9, 0x08, 0xAA, 0x08
|
||||
#endif
|
||||
.global ov29_02352070
|
||||
ov29_02352070:
|
||||
.byte 0x58, 0x00, 0x00, 0x00
|
||||
.global ov29_02352074
|
||||
ov29_02352074:
|
||||
#ifdef JAPAN
|
||||
.byte 0x57, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x58, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x59, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x5A, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x5B, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x5C, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x5D, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x5E, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x5F, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x60, 0x23, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x61, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x62, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x63, 0x23, 0x00, 0x00, 0x5A, 0x00, 0x00, 0x00
|
||||
.byte 0x64, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x65, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x66, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x67, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x68, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x69, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x6A, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x6B, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x6C, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x6D, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x6E, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x6F, 0x23, 0x00, 0x00, 0xE7, 0x03, 0x00, 0x00
|
||||
.byte 0x70, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x71, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x72, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x73, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x74, 0x23, 0x00, 0x00, 0x5A, 0x00, 0x00, 0x00, 0x75, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x76, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x77, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x78, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x79, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x7A, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x7B, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x7C, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x7D, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x7E, 0x23, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x7F, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x80, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x81, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x82, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x83, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x84, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x85, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x86, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x87, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x88, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x89, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x8A, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x8B, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x8C, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x8D, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x8E, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x8F, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x90, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x91, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x92, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x93, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x94, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x95, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x96, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x97, 0x23, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x98, 0x23, 0x00, 0x00
|
||||
#else
|
||||
.byte 0x87, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x88, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x89, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x8A, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x8B, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x8C, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x8D, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x8E, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x8F, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x90, 0x09, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x91, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x92, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x93, 0x09, 0x00, 0x00, 0x5A, 0x00, 0x00, 0x00
|
||||
.byte 0x94, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x95, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x96, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x97, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x98, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x99, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x9A, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x9B, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x9C, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x9D, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0x9E, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x9F, 0x09, 0x00, 0x00, 0xE7, 0x03, 0x00, 0x00
|
||||
.byte 0xA0, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xA1, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xA2, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xA3, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xA4, 0x09, 0x00, 0x00, 0x5A, 0x00, 0x00, 0x00, 0xA5, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xA6, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xA7, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xA8, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xA9, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xAA, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xAB, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xAC, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xAD, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xAE, 0x09, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0xAF, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xB0, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xB1, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xB2, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xB3, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xB4, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xB5, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xB6, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xB7, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xB8, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xB9, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xBA, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xBB, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xBC, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xBD, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xBE, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xBF, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xC0, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xC1, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xC2, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xC3, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xC4, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xC5, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xC6, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0xC7, 0x09, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00
|
||||
.byte 0xC8, 0x09, 0x00, 0x00
|
||||
#endif
|
||||
.byte 0x05, 0x00, 0x00, 0x00
|
||||
.global FRACTIONAL_TURN_SEQUENCE
|
||||
FRACTIONAL_TURN_SEQUENCE:
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00
|
||||
.global ov29_023522B6
|
||||
ov29_023522B6:
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A, 0x00
|
||||
.byte 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x00, 0x0D, 0x00, 0x00, 0x00, 0x0E, 0x00
|
||||
.byte 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x12, 0x00
|
||||
.byte 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x15, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x16, 0x00, 0x17, 0x00, 0x18, 0x00, 0x00, 0x00, 0x19, 0x00, 0x1A, 0x00, 0x1B, 0x00, 0x00, 0x00
|
||||
.byte 0x1C, 0x00, 0x1D, 0x00, 0x1E, 0x00, 0x00, 0x00, 0x1F, 0x00, 0x20, 0x00, 0x21, 0x00, 0x00, 0x00
|
||||
.byte 0x22, 0x00, 0x23, 0x00, 0x24, 0x00, 0x00, 0x00, 0x25, 0x00, 0x26, 0x00, 0x27, 0x00, 0x00, 0x00
|
||||
.byte 0x28, 0x00, 0x29, 0x00, 0x2A, 0x00, 0x2B, 0x00, 0x2C, 0x00, 0x2D, 0x00, 0x2E, 0x00, 0x2F, 0x00
|
||||
.byte 0x30, 0x00, 0x31, 0x00, 0x32, 0x00, 0x33, 0x00, 0x34, 0x00, 0x35, 0x00, 0x36, 0x00, 0x37, 0x00
|
||||
.byte 0x38, 0x00, 0x39, 0x00, 0x3A, 0x00, 0x3B, 0x00, 0x3C, 0x00, 0x3D, 0x00, 0x3E, 0x00, 0x3F, 0x00
|
||||
.byte 0x40, 0x00, 0x00, 0x00
|
||||
.global ov29_02352380
|
||||
ov29_02352380:
|
||||
.byte 0x67, 0x00, 0x00, 0x00, 0x68, 0x00, 0x00, 0x00, 0x68, 0x00, 0x00, 0x00
|
||||
.byte 0x69, 0x00, 0x00, 0x00
|
||||
.global ov29_02352390
|
||||
ov29_02352390:
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x05, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x07, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x08, 0x00, 0x00, 0x00
|
||||
.global ov29_02352690
|
||||
ov29_02352690:
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.global ov29_02352698
|
||||
ov29_02352698:
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.global ov29_023526A0
|
||||
ov29_023526A0:
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.global ov29_023526A8
|
||||
ov29_023526A8:
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x16, 0x02, 0x08, 0x05, 0x00, 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.global ov29_023526B8
|
||||
ov29_023526B8:
|
||||
.byte 0x5B, 0x43, 0x53, 0x3A
|
||||
.byte 0x56, 0x5D, 0x5B, 0x67, 0x6F, 0x6C, 0x64, 0x3A, 0x30, 0x5D, 0x00, 0x00
|
||||
.global ov29_023526C8
|
||||
ov29_023526C8:
|
||||
.byte 0x00, 0x00, 0x01, 0x01
|
||||
.byte 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00
|
||||
.global ov29_023526D8
|
||||
ov29_023526D8:
|
||||
.byte 0xFF, 0xFF, 0xFF, 0xFF
|
||||
.byte 0x01, 0x00, 0xFF, 0xFF, 0x01, 0x00, 0x01, 0x01, 0x01, 0x00, 0x01, 0x00, 0x00, 0x01, 0x01, 0x00
|
||||
.byte 0xFF, 0xFF, 0x00, 0x00
|
||||
.global ov29_023526F0
|
||||
ov29_023526F0:
|
||||
.byte 0x00, 0x00
|
||||
.global ov29_023526F2
|
||||
ov29_023526F2:
|
||||
.byte 0x01, 0x00
|
||||
.global ov29_023526F4
|
||||
ov29_023526F4:
|
||||
.byte 0xDA, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00
|
||||
.byte 0x01, 0x00, 0x01, 0x00, 0xDB, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00
|
||||
.byte 0xDC, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0xFF, 0xFF, 0xDB, 0x01, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xDA, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00
|
||||
.byte 0xFF, 0xFF, 0xFF, 0xFF, 0xDB, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00
|
||||
.byte 0xDC, 0x01, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0xFF, 0xFF, 0x01, 0x00, 0xDB, 0x01, 0x00, 0x00
|
||||
.byte 0x01, 0x01, 0x00, 0x00
|
||||
.global ov29_02352750
|
||||
ov29_02352750:
|
||||
.byte 0x6D, 0x6F, 0x76, 0x65, 0x3A, 0x00, 0x00, 0x00
|
||||
.global ov29_02352758
|
||||
ov29_02352758:
|
||||
.byte 0x81, 0x45, 0x81, 0x45
|
||||
.byte 0x81, 0x45, 0x00, 0x00
|
||||
.global ov29_02352760
|
||||
ov29_02352760:
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.global BELLY_DRAIN_IN_WALLS_INT
|
||||
BELLY_DRAIN_IN_WALLS_INT:
|
||||
.byte 0x05, 0x00, 0x00, 0x00
|
||||
.global ov29_0235276C
|
||||
ov29_0235276C:
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
@@ -6,6 +6,9 @@
|
||||
// Compute a pseudorandom integer under a given maximum value using the dungeon PRNG.
|
||||
// pseudorandom integer on the interval [0, end - 1]
|
||||
s32 DungeonRandInt(s32 end);
|
||||
// Compute a pseudorandom value between two integers using the dungeon PRNG.
|
||||
// If both input integers are the same, the first is returned.
|
||||
// return: pseudorandom integer on the interval [min(from, to), max(from, to) - 1], or from if from == to.
|
||||
s32 DungeonRandRange(s32 from, s32 to);
|
||||
// Returns the result of a possibly biased coin flip (a Bernoulli random variable) with some success probability p, using the dungeon PRNG.
|
||||
// percentChance: success percentage (100*p)
|
||||
|
||||
@@ -1389,7 +1389,7 @@ struct dungeon {
|
||||
// 0xEEE8: Array of structs that contain data about the rooms on the current floor
|
||||
struct room_data room_data[32];
|
||||
// 0xF268: Array that counts the amount of elements on each row of natural_junction_list
|
||||
u16 natural_junction_list_counts[32];
|
||||
s16 natural_junction_list_counts[32];
|
||||
// 0xF2A8: Matrix that stores the positions of up to 32 natural junctions
|
||||
// for each room on the floor. Each row represents a room.
|
||||
struct position natural_junction_list[32][32];
|
||||
|
||||
@@ -54,11 +54,11 @@ bool8 IsAiTargetEligible(s32 move_ai_range, struct entity *user, struct entity *
|
||||
// Calculates a move weight used for deciding which target the move should be used on. If the user is an ally, the target is an enemy Pokémon, and the user has Exp. Go-Getter, Efficiency Expert, or Weak-Type Picker enabled, this function calculates a move weight based on that IQ skill's functionality. Otherwise, this function returns a weight of 1.
|
||||
s32 WeightMoveWithIqSkills(struct entity *user, s32 move_ai_range, struct entity *target, enum type_id move_type);
|
||||
// Decides which direction the AI will use its regular attack in.
|
||||
// pokemon: User entity pointer
|
||||
// user: User entity pointer
|
||||
// target_dir: [output] direction that the regular attack should be targeted at.
|
||||
// skip_petrified: If true, the AI will ignore enemies that are petrified. If false, the AI will include petrified enemies when targeting.
|
||||
// return: True if there is a target for the regular attack, false if there is no target.
|
||||
bool8 TargetRegularAttack(struct entity *pokemon, u32 *target_dir, bool8 skip_petrified);
|
||||
bool8 TargetRegularAttack(struct entity *user, u32 *target_dir, bool8 skip_petrified);
|
||||
// Returns true if the target is within range of the user's move, false otherwise.
|
||||
// If the user does not have Course Checker, it simply checks if the distance between user and target is less or equal than the move range.
|
||||
// Otherwise, it will iterate through all tiles in the direction specified, checking for walls or other monsters in the way, and return false if they are found.
|
||||
|
||||
8
include/dungeon_ai_movement.h
Normal file
8
include/dungeon_ai_movement.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef PMDSKY_DUNGEON_AI_MOVEMENT_H
|
||||
#define PMDSKY_DUNGEON_AI_MOVEMENT_H
|
||||
|
||||
#include "dungeon_mode.h"
|
||||
|
||||
void AiMovement(struct entity *monster, bool8 show_run_away_effect);
|
||||
|
||||
#endif //PMDSKY_DUNGEON_AI_MOVEMENT_H
|
||||
@@ -4,10 +4,10 @@
|
||||
#include "dungeon_mode.h"
|
||||
|
||||
// Returns false if the entity has any of these conditions: sleep, nightmare, napping, frozen, wrapped/wrapping, petrified, cringe, paused, infatuated, paralysis. Also returns false if ShouldMonsterRunAway returns true.
|
||||
// pokemon: Entity pointer
|
||||
// entity: Entity pointer
|
||||
// skip_sleep: If true, ignore sleep conditions (sleep, nightmare, napping) when checking if the entity cannot attack.
|
||||
// return: bool
|
||||
bool8 MonsterCannotAttack(struct entity *pokemon, bool8 skip_sleep);
|
||||
bool8 MonsterCannotAttack(struct entity *entity, bool8 skip_sleep);
|
||||
// Checks if the given monster can move in the specified direction
|
||||
// Returns false if any monster is standing on the target tile
|
||||
bool8 CanMonsterMoveInDirection(struct entity *monster, u16 direction);
|
||||
|
||||
@@ -16,9 +16,12 @@
|
||||
#define DEFAULT_STAT_STAGE 10
|
||||
#define MAX_STAT_STAGE 20
|
||||
#define MAX_SPEED_STAGE 4
|
||||
#define MAX_HP_LIMIT 999
|
||||
|
||||
#define NUM_SPEED_COUNTERS 5
|
||||
#define MAX_STOCKPILE_STAGE 3
|
||||
#define NUM_STATS_PER_CATEGORY 2
|
||||
#define NUM_PREV_POS 4
|
||||
|
||||
#define STAT_STAGE_ATK 0
|
||||
#define STAT_STAGE_SP_ATK 1
|
||||
@@ -232,6 +235,22 @@ struct moves
|
||||
u8 struggle_move_flags; // 0x18
|
||||
};
|
||||
|
||||
struct ai_target
|
||||
{
|
||||
enum ai_objective ai_objective; // 0x0
|
||||
bool8 ai_not_next_to_target; // 0x1: This NPC monster is not next to its current target
|
||||
bool8 ai_targeting_enemy; // 0x2: This NPC monster is targeting an enemy monster
|
||||
bool8 ai_turning_around; // 0x3: This NPC monster has decided to turn around
|
||||
// 0x4: entity::spawn_genid of the entity currently being targeted
|
||||
u16 ai_target_spawn_genid;
|
||||
struct entity* ai_target; // 0x8: Current or most recent AI target
|
||||
u8 field_0xc;
|
||||
u8 field_0xd;
|
||||
u8 field_0xe;
|
||||
u8 field_0xf;
|
||||
struct position ai_target_pos; // 0x10: Position of the entity currently being targeted
|
||||
};
|
||||
|
||||
// Monster info
|
||||
struct monster {
|
||||
// 0x0: flags: 2-byte bitfield
|
||||
@@ -274,26 +293,8 @@ struct monster {
|
||||
// in order to update the camera and minimap. Changed to held_item.id after checking.
|
||||
enum item_id previous_held_item_id;
|
||||
// Previous position data is used by the AI
|
||||
struct position prev_pos; // 0x6A: Position 1 turn ago
|
||||
struct position prev_pos2; // 0x6E: Position 2 turns ago
|
||||
struct position prev_pos3; // 0x72: Position 3 turns ago
|
||||
struct position prev_pos4; // 0x76: Position 4 turns ago
|
||||
u8 field_0x7a;
|
||||
u8 field_0x7b;
|
||||
enum ai_objective ai_objective : 8; // 0x7C
|
||||
bool8 ai_not_next_to_target; // 0x7D: This NPC monster is not next to its current target
|
||||
bool8 ai_targeting_enemy; // 0x7E: This NPC monster is targeting an enemy monster
|
||||
bool8 ai_turning_around; // 0x7F: This NPC monster has decided to turn around
|
||||
// 0x80: entity::spawn_genid of the entity currently being targeted
|
||||
u16 ai_target_spawn_genid;
|
||||
u8 field_0x82;
|
||||
u8 field_0x83;
|
||||
struct entity* ai_target; // 0x84: Current or most recent AI target
|
||||
u8 field_0x88;
|
||||
u8 field_0x89;
|
||||
u8 field_0x8a;
|
||||
u8 field_0x8b;
|
||||
struct position ai_target_pos; // 0x8C: Position of the entity currently being targeted
|
||||
struct position prev_pos[NUM_PREV_POS]; // 0x6A: Position X turns ago
|
||||
struct ai_target ai_target; // 0x7A
|
||||
// 0x90: Work array while updating skills in the menu. Same meaning as iq_skill_flags.
|
||||
struct iq_skill_flags iq_skill_menu_flags;
|
||||
// 0x9C: First 9 bytes contain bitfield data; the rest is presumably padding.
|
||||
@@ -320,7 +321,7 @@ struct monster {
|
||||
u32 wrap_pair_unique_id;
|
||||
// 0xB8: Tracks the damage taken to deal when bide status ends. Max 0x3E7 (999).
|
||||
u32 bide_damage_tally;
|
||||
enum monster_behavior monster_behavior : 8; // 0xBC
|
||||
enum monster_behavior monster_behavior; // 0xBC
|
||||
struct sleep_class_status sleep_class_status; // 0xBD
|
||||
struct burn_class_status burn_class_status; // 0xBF
|
||||
struct frozen_class_status frozen_class_status; // 0xC4
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef PMDSKY_MATH_H
|
||||
#define PMDSKY_MATH_H
|
||||
|
||||
#define INFINITY 999
|
||||
#define INFINITY_2 999999
|
||||
|
||||
#define F248LessThanFloat(x, y) (x < (int)(y * 0x100))
|
||||
#define F248LessThanInt(x, y) (x < 0x100 * y)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
// Checks if a monster is a team member under the effects of a certain exclusive item effect.
|
||||
bool8 ExclusiveItemEffectIsActive__0230F8AC(struct entity *entity, enum exclusive_item_effect_id effect_id);
|
||||
u8 FindDirectionOfAdjacentMonsterWithItem(struct entity *pokemon, enum item_id item_id);
|
||||
u8 FindDirectionOfAdjacentMonsterWithItem(struct entity *entity, enum item_id item_id);
|
||||
// Checks if an entity is a monster (entity type 1).
|
||||
bool8 IsMonster__0230F980(struct entity *entity);
|
||||
|
||||
|
||||
4
main.lsf
4
main.lsf
@@ -142,6 +142,8 @@ Autoload ITCM
|
||||
{
|
||||
Address 0x01FF8000
|
||||
Object asm/itcm.o (.itcm)
|
||||
Object src/dungeon_ai_movement.o (.itcm)
|
||||
Object asm/itcm_01FFB2C8.o (.itcm)
|
||||
Object src/dungeon_ai_itcm.o (.itcm)
|
||||
Object asm/itcm_01FFBD20.o (.itcm)
|
||||
}
|
||||
@@ -393,6 +395,8 @@ Overlay OVY_29
|
||||
Object asm/overlay_29_022EF7C4.o
|
||||
Object src/dungeon_util.o
|
||||
Object asm/overlay_29_rodata_0235173C.o
|
||||
Object src/dungeon_ai_movement.o
|
||||
Object asm/overlay_29_rodata_0235179C.o
|
||||
Object asm/overlay_29_022EFA6C.o
|
||||
Object src/overlay_29_022F0590.o
|
||||
Object asm/overlay_29_022F05B4.o
|
||||
|
||||
@@ -150,7 +150,7 @@ void RunMonsterAi(struct entity *monster, u32 unused)
|
||||
|
||||
if (pokemon_info->action.action_id != ACTION_NOTHING && pokemon_info->action.action_id != ACTION_PASS_TURN)
|
||||
{
|
||||
pokemon_info->ai_not_next_to_target = FALSE;
|
||||
pokemon_info->ai_target.ai_not_next_to_target = FALSE;
|
||||
pokemon_info->ai_ally_skip = FALSE;
|
||||
pokemon_info->waiting = FALSE;
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ u32 AiConsiderMove(struct ai_possible_move *ai_possible_move, struct entity *mon
|
||||
|
||||
if (GetMoveTargetAndRange(move, FALSE) == TARGET_USER | RANGE_USER | AI_CONDITION_HP_25)
|
||||
{
|
||||
s32 max_hp = MIN(pokemon_info->max_hp_stat + pokemon_info->max_hp_boost, 999);
|
||||
s32 max_hp = MIN(pokemon_info->max_hp_stat + pokemon_info->max_hp_boost, MAX_HP_LIMIT);
|
||||
if (pokemon_info->hp == max_hp)
|
||||
return move_weight;
|
||||
}
|
||||
@@ -933,18 +933,18 @@ s32 WeightMoveWithIqSkills(struct entity *user, s32 move_ai_range, struct entity
|
||||
return weight;
|
||||
}
|
||||
|
||||
bool8 TargetRegularAttack(struct entity *pokemon, u32 *target_dir, bool8 skip_petrified)
|
||||
bool8 TargetRegularAttack(struct entity *user, u32 *target_dir, bool8 skip_petrified)
|
||||
{
|
||||
s32 num_potential_targets = 0;
|
||||
s32 i;
|
||||
struct monster *pokemon_info = GetEntInfo(pokemon);
|
||||
struct monster *pokemon_info = GetEntInfo(user);
|
||||
s32 direction = pokemon_info->action.direction;
|
||||
s32 face_turn_limit;
|
||||
if (IsBlinded(pokemon, TRUE))
|
||||
if (IsBlinded(user, TRUE))
|
||||
face_turn_limit = 1;
|
||||
else
|
||||
{
|
||||
u8 gaggle_specs_direction = FindDirectionOfAdjacentMonsterWithItem(pokemon, ITEM_GAGGLE_SPECS);
|
||||
u8 gaggle_specs_direction = FindDirectionOfAdjacentMonsterWithItem(user, ITEM_GAGGLE_SPECS);
|
||||
face_turn_limit = 8;
|
||||
if (gaggle_specs_direction != DIR_NONE_UNSIGNED)
|
||||
direction = gaggle_specs_direction;
|
||||
@@ -952,21 +952,21 @@ bool8 TargetRegularAttack(struct entity *pokemon, u32 *target_dir, bool8 skip_pe
|
||||
|
||||
s32 potential_attack_target_directions[NUM_DIRECTIONS];
|
||||
s32 potential_attack_target_weights[NUM_DIRECTIONS];
|
||||
bool8 has_targeting_iq = IqSkillIsEnabled(pokemon, IQ_EXP_GO_GETTER) || IqSkillIsEnabled(pokemon, IQ_EFFICIENCY_EXPERT);
|
||||
bool8 has_status_checker = IqSkillIsEnabled(pokemon, IQ_STATUS_CHECKER);
|
||||
bool8 has_targeting_iq = IqSkillIsEnabled(user, IQ_EXP_GO_GETTER) || IqSkillIsEnabled(user, IQ_EFFICIENCY_EXPERT);
|
||||
bool8 has_status_checker = IqSkillIsEnabled(user, IQ_STATUS_CHECKER);
|
||||
for (i = 0; i < face_turn_limit; i++, direction++)
|
||||
{
|
||||
struct entity *target;
|
||||
direction &= DIRECTION_MASK;
|
||||
target = GetTile(pokemon->pos.x + DIRECTIONS_XY[direction].x, pokemon->pos.y + DIRECTIONS_XY[direction].y)->monster;
|
||||
target = GetTile(user->pos.x + DIRECTIONS_XY[direction].x, user->pos.y + DIRECTIONS_XY[direction].y)->monster;
|
||||
if (target != NULL &&
|
||||
GetEntityType(target) == ENTITY_MONSTER &&
|
||||
CanAttackInDirection(pokemon, direction) &&
|
||||
GetTreatmentBetweenMonsters(pokemon, target, FALSE, skip_petrified) == TREATMENT_TREAT_AS_ENEMY &&
|
||||
CanAttackInDirection(user, direction) &&
|
||||
GetTreatmentBetweenMonsters(user, target, FALSE, skip_petrified) == TREATMENT_TREAT_AS_ENEMY &&
|
||||
(!has_status_checker || GetEntInfo(target)->frozen_class_status.freeze != STATUS_FROZEN_FROZEN))
|
||||
{
|
||||
potential_attack_target_directions[num_potential_targets] = direction;
|
||||
potential_attack_target_weights[num_potential_targets] = WeightMoveWithIqSkills(pokemon, TARGET_ENEMIES, target, TYPE_NONE);
|
||||
potential_attack_target_weights[num_potential_targets] = WeightMoveWithIqSkills(user, TARGET_ENEMIES, target, TYPE_NONE);
|
||||
if (!has_targeting_iq)
|
||||
{
|
||||
*target_dir = direction;
|
||||
|
||||
@@ -18,18 +18,17 @@
|
||||
#include "dungeon_pokemon_attributes_1.h"
|
||||
#include "dungeon_util_static.h"
|
||||
#include "fixed_room_data.h"
|
||||
#include "main_0201398C.h"
|
||||
#include "moves_1.h"
|
||||
#include "overlay_29_022EBC50.h"
|
||||
#include "overlay_29_02338350.h"
|
||||
|
||||
#define REGULAR_ATTACK_INDEX 4
|
||||
|
||||
extern u8 GetMoveAiWeight(struct move *move);
|
||||
|
||||
#ifdef SDK_ARM9
|
||||
#include <nitro/itcm_begin.h>
|
||||
#endif //SDK_ARM9
|
||||
|
||||
#define REGULAR_ATTACK_INDEX 4
|
||||
|
||||
// https://decomp.me/scratch/zg7V6
|
||||
#ifdef NONMATCHING
|
||||
void ChooseAiMove(struct entity *monster)
|
||||
@@ -44,7 +43,7 @@ void ChooseAiMove(struct entity *monster)
|
||||
(pokemon_info->cringe_class_status.cringe == STATUS_CRINGE_CONFUSED && DungeonRandOutcome__022EAB20(AI_CONFUSED_NO_ATTACK_CHANCE)))
|
||||
return;
|
||||
|
||||
s32 i;
|
||||
int i;
|
||||
if (pokemon_info->bide_class_status.bide != STATUS_TWO_TURN_NONE)
|
||||
{
|
||||
for (i = 0; i < MAX_MON_MOVES; i++)
|
||||
|
||||
@@ -51,7 +51,7 @@ u32 GetAiUseItemProbability(struct entity *item_consumer, struct item *item, u32
|
||||
case ITEM_ORAN_BERRY:
|
||||
case ITEM_SITRUS_BERRY:
|
||||
s32 pokemon_max_hp = pokemon_info->max_hp_stat + pokemon_info->max_hp_boost;
|
||||
if (pokemon_info->hp < Min(999, pokemon_max_hp) && pokemon_info->hp <= Min(999, pokemon_max_hp) / 4)
|
||||
if (pokemon_info->hp < Min(MAX_HP_LIMIT, pokemon_max_hp) && pokemon_info->hp <= Min(MAX_HP_LIMIT, pokemon_max_hp) / 4)
|
||||
{
|
||||
if (!target_other)
|
||||
if (IsAdjacentToEnemy(item_consumer))
|
||||
@@ -203,7 +203,7 @@ u32 GetAiUseItemProbability(struct entity *item_consumer, struct item *item, u32
|
||||
else
|
||||
{
|
||||
s32 pokemon_max_hp = pokemon_info->max_hp_stat + pokemon_info->max_hp_boost;
|
||||
if (pokemon_info->hp < Min(999, pokemon_max_hp) && pokemon_info->hp < 20)
|
||||
if (pokemon_info->hp < Min(MAX_HP_LIMIT, pokemon_max_hp) && pokemon_info->hp < 20)
|
||||
{
|
||||
if (!target_other)
|
||||
if (IsAdjacentToEnemy(item_consumer))
|
||||
|
||||
1693
src/dungeon_ai_movement.c
Normal file
1693
src/dungeon_ai_movement.c
Normal file
File diff suppressed because it is too large
Load Diff
@@ -21,8 +21,8 @@ bool8 ShouldMonsterRunAway(struct entity *monster)
|
||||
if (AbilityIsActive(monster, ABILITY_RUN_AWAY))
|
||||
{
|
||||
s32 max_hp = pokemon_info->max_hp_stat + pokemon_info->max_hp_boost;
|
||||
if (max_hp > 999)
|
||||
max_hp = 999;
|
||||
if (max_hp > MAX_HP_LIMIT)
|
||||
max_hp = MAX_HP_LIMIT;
|
||||
|
||||
bool8 run_away_active = pokemon_info->hp < max_hp / 2;
|
||||
if (run_away_active)
|
||||
@@ -35,8 +35,8 @@ bool8 ShouldMonsterRunAway(struct entity *monster)
|
||||
if (IsTacticSet(monster, TACTIC_AVOID_TROUBLE))
|
||||
{
|
||||
s32 max_hp = pokemon_info->max_hp_stat + pokemon_info->max_hp_boost;
|
||||
if (max_hp > 999)
|
||||
max_hp = 999;
|
||||
if (max_hp > MAX_HP_LIMIT)
|
||||
max_hp = MAX_HP_LIMIT;
|
||||
|
||||
if (pokemon_info->hp <= max_hp / 2)
|
||||
return TRUE;
|
||||
|
||||
@@ -21,8 +21,8 @@ bool8 MonsterHasQuarterHp(struct entity *monster)
|
||||
{
|
||||
struct monster *entity_data = GetEntInfo(monster);
|
||||
s32 max_hp = entity_data->max_hp_stat + entity_data->max_hp_boost;
|
||||
if (max_hp > 999)
|
||||
max_hp = 999;
|
||||
if (max_hp > MAX_HP_LIMIT)
|
||||
max_hp = MAX_HP_LIMIT;
|
||||
|
||||
if (entity_data->hp <= max_hp / 4)
|
||||
return TRUE;
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
#include "overlay_29_022FF898.h"
|
||||
#include "run_dungeon.h"
|
||||
|
||||
bool8 MonsterCannotAttack(struct entity *pokemon, bool8 skip_sleep)
|
||||
bool8 MonsterCannotAttack(struct entity *entity, bool8 skip_sleep)
|
||||
{
|
||||
struct monster *pokemon_info = GetEntInfo(pokemon);
|
||||
struct monster *pokemon_info = GetEntInfo(entity);
|
||||
|
||||
if (!skip_sleep)
|
||||
{
|
||||
@@ -45,7 +45,7 @@ bool8 MonsterCannotAttack(struct entity *pokemon, bool8 skip_sleep)
|
||||
if (pokemon_info->burn_class_status.burn == STATUS_BURN_PARALYSIS)
|
||||
return TRUE;
|
||||
|
||||
if (ShouldMonsterRunAway(pokemon))
|
||||
if (ShouldMonsterRunAway(entity))
|
||||
return TRUE;
|
||||
|
||||
return FALSE;
|
||||
|
||||
@@ -84,28 +84,28 @@ s32 WeightWeakTypePicker(struct entity *user, struct entity *target, enum type_i
|
||||
|
||||
if (move_type == TYPE_WATER && AbilityIsActiveVeneer(user, ABILITY_TORRENT))
|
||||
{
|
||||
s32 max_hp_stat = MIN(user_data->max_hp_stat + user_data->max_hp_boost, 999);
|
||||
s32 max_hp_stat = MIN(user_data->max_hp_stat + user_data->max_hp_boost, MAX_HP_LIMIT);
|
||||
if (max_hp_stat / 4 >= user_data->hp)
|
||||
weight *= 2;
|
||||
}
|
||||
|
||||
if (move_type == TYPE_GRASS && AbilityIsActiveVeneer(user, ABILITY_OVERGROW))
|
||||
{
|
||||
s32 max_hp_stat = MIN(user_data->max_hp_stat + user_data->max_hp_boost, 999);
|
||||
s32 max_hp_stat = MIN(user_data->max_hp_stat + user_data->max_hp_boost, MAX_HP_LIMIT);
|
||||
if (max_hp_stat / 4 >= user_data->hp)
|
||||
weight *= 2;
|
||||
}
|
||||
|
||||
if (move_type == TYPE_BUG && AbilityIsActiveVeneer(user, ABILITY_SWARM))
|
||||
{
|
||||
s32 max_hp_stat = MIN(user_data->max_hp_stat + user_data->max_hp_boost, 999);
|
||||
s32 max_hp_stat = MIN(user_data->max_hp_stat + user_data->max_hp_boost, MAX_HP_LIMIT);
|
||||
if (max_hp_stat / 4 >= user_data->hp)
|
||||
weight *= 2;
|
||||
}
|
||||
|
||||
if (move_type == TYPE_FIRE && AbilityIsActiveVeneer(user, ABILITY_BLAZE))
|
||||
{
|
||||
s32 max_hp_stat = MIN(user_data->max_hp_stat + user_data->max_hp_boost, 999);
|
||||
s32 max_hp_stat = MIN(user_data->max_hp_stat + user_data->max_hp_boost, MAX_HP_LIMIT);
|
||||
if (max_hp_stat / 4 >= user_data->hp)
|
||||
weight *= 2;
|
||||
}
|
||||
|
||||
@@ -12,8 +12,8 @@ bool8 HasLowHealth(struct entity *entity)
|
||||
|
||||
struct monster *pokemon_info = GetEntInfo(entity);
|
||||
s32 max_hp = pokemon_info->max_hp_stat + pokemon_info->max_hp_boost;
|
||||
if (max_hp > 999)
|
||||
max_hp = 999;
|
||||
if (max_hp > MAX_HP_LIMIT)
|
||||
max_hp = MAX_HP_LIMIT;
|
||||
|
||||
return pokemon_info->hp < max_hp / 4;
|
||||
}
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
#include "dungeon_recruitment.h"
|
||||
#include "dungeon.h"
|
||||
#include "dungeon_mode.h"
|
||||
#include "dungeon_logic_3.h"
|
||||
#include "dungeon_pokemon_attributes_1.h"
|
||||
#include "main_0208655C.h"
|
||||
#include "enums.h"
|
||||
#include "dungeon_visibility.h"
|
||||
#include "dg_random.h"
|
||||
#include "dungeon_logic_3.h"
|
||||
#include "dungeon_mode.h"
|
||||
#include "dungeon_pokemon_attributes_1.h"
|
||||
#include "dungeon_visibility.h"
|
||||
#include "dungeon.h"
|
||||
#include "enums.h"
|
||||
#include "main_0205283C.h" // GetRecruitRate1 and GetRecruitRate2
|
||||
#include "main_0208655C.h"
|
||||
#include "math.h"
|
||||
#include "overlay_29_0230E578.h" // ItemIsActive__0230E578
|
||||
|
||||
extern bool8 IsRecruitingAllowed(u8 dungeon_id);
|
||||
@@ -36,7 +37,7 @@ extern const s16 SKY_MELODICA_RECRUIT_BOOST;
|
||||
|
||||
extern s16 RECRUITMENT_LEVEL_BOOST_TABLE[];
|
||||
|
||||
bool8 SpecificRecruitCheck(u32 monster_id)
|
||||
bool8 SpecificRecruitCheck(u32 monster_id)
|
||||
{
|
||||
if (DUNGEON_PTR[0]->recruiting_enabled == FALSE) {
|
||||
return FALSE;
|
||||
@@ -83,19 +84,19 @@ bool8 SpecificRecruitCheck(u32 monster_id)
|
||||
}
|
||||
}
|
||||
|
||||
bool8 RecruitCheck(struct entity* leader, struct entity* target)
|
||||
bool8 RecruitCheck(struct entity* leader, struct entity* target)
|
||||
{
|
||||
s32 random_roll;
|
||||
struct monster* leader_monster_info = leader->info;
|
||||
struct monster* target_monster_info = target->info;
|
||||
|
||||
|
||||
s32 recruit_rate;
|
||||
bool8 already_on_team;
|
||||
s16 target_mon_id;
|
||||
|
||||
if (!IsRecruitingAllowed(DUNGEON_PTR[0]->id) ||
|
||||
IsFullFloorFixedRoom() ||
|
||||
IsLegendaryChallengeFloor() ||
|
||||
if (!IsRecruitingAllowed(DUNGEON_PTR[0]->id) ||
|
||||
IsFullFloorFixedRoom() ||
|
||||
IsLegendaryChallengeFloor() ||
|
||||
IsCurrentMissionTypeExact(MISSION_ARREST_OUTLAW, MISSION_OUTLAW_HIDEOUT))
|
||||
return FALSE;
|
||||
|
||||
@@ -116,7 +117,7 @@ bool8 RecruitCheck(struct entity* leader, struct entity* target)
|
||||
|| target_mon_id == MONSTER_LATIAS || target_mon_id == MONSTER_LATIOS
|
||||
|| target_mon_id == MONSTER_JIRACHI || target_mon_id == MONSTER_RAYQUAZA
|
||||
|| target_mon_id == MONSTER_DEOXYS_NORMAL || target_mon_id == MONSTER_REGIROCK
|
||||
|| target_mon_id == MONSTER_REGICE || target_mon_id == MONSTER_REGISTEEL
|
||||
|| target_mon_id == MONSTER_REGICE || target_mon_id == MONSTER_REGISTEEL
|
||||
|| (u16)(s16)(target_mon_id - 534) <= 1) {
|
||||
if (IsMonsterOnTeam(target_mon_id, 1))
|
||||
return FALSE;
|
||||
@@ -156,9 +157,9 @@ bool8 RecruitCheck(struct entity* leader, struct entity* target)
|
||||
recruit_rate = recruit_rate >>= 1;
|
||||
}
|
||||
|
||||
if (recruit_rate == -999)
|
||||
if (recruit_rate == -INFINITY)
|
||||
return FALSE;
|
||||
|
||||
|
||||
if (ItemIsActive__0230E578(leader, ITEM_FRIEND_BOW)) {
|
||||
recruit_rate += FRIEND_BOW_FAST_FRIEND_BOOST;
|
||||
} else if (ItemIsActive__0230E578(leader, ITEM_GOLDEN_MASK)) {
|
||||
@@ -189,16 +190,16 @@ bool8 RecruitCheck(struct entity* leader, struct entity* target)
|
||||
|
||||
if (random_roll >= recruit_rate)
|
||||
return FALSE;
|
||||
|
||||
|
||||
s32 free_slot_index = GetFirstEmptyMemberIdx(0);
|
||||
|
||||
if(free_slot_index < 0) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
if(free_slot_index >= 0) {
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "main_020018D0.h"
|
||||
|
||||
extern const s16 SIN_TABLE[];
|
||||
extern const s16 SINE_VALUE_TABLE[];
|
||||
|
||||
s32 SinAbs4096(s32 x)
|
||||
{
|
||||
@@ -8,15 +8,15 @@ s32 SinAbs4096(s32 x)
|
||||
// Doing it this way saves 3 kibibytes of memory in table values, if my math is mathing.
|
||||
switch (x & 0xc00) {
|
||||
case 0x000: // quarter 1 angle
|
||||
return SIN_TABLE[x & 0x3ff];
|
||||
return SINE_VALUE_TABLE[x & 0x3ff];
|
||||
case 0x400: // quarter 2 angle
|
||||
return SIN_TABLE[0x3ff - (x & 0x3ff)];
|
||||
return SINE_VALUE_TABLE[0x3ff - (x & 0x3ff)];
|
||||
case 0x800: // quarter 3 angle
|
||||
return -SIN_TABLE[x & 0x3ff];
|
||||
return -SINE_VALUE_TABLE[x & 0x3ff];
|
||||
case 0xc00: // quarter 4 angle
|
||||
return -SIN_TABLE[0x3ff - (x & 0x3ff)];
|
||||
return -SINE_VALUE_TABLE[0x3ff - (x & 0x3ff)];
|
||||
default: // redundant? shouldn't ever happen.
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,14 +25,14 @@ s32 CosAbs4096(s32 x)
|
||||
// Identical to SinAbs4096, but different quarters are handled differently. This works due to the relation between cosine and sine.
|
||||
switch (x & 0xc00) {
|
||||
case 0x000: // quarter 1 angle
|
||||
return SIN_TABLE[0x3ff - (x & 0x3ff)];
|
||||
return SINE_VALUE_TABLE[0x3ff - (x & 0x3ff)];
|
||||
case 0x400: // quarter 2 angle
|
||||
return -SIN_TABLE[x & 0x3ff];
|
||||
return -SINE_VALUE_TABLE[x & 0x3ff];
|
||||
case 0x800: // quarter 3 angle
|
||||
return -SIN_TABLE[0x3ff - (x & 0x3ff)];
|
||||
return -SINE_VALUE_TABLE[0x3ff - (x & 0x3ff)];
|
||||
case 0xc00: // quarter 4 angle
|
||||
return SIN_TABLE[x & 0x3ff];
|
||||
return SINE_VALUE_TABLE[x & 0x3ff];
|
||||
default: // redundant? shouldn't ever happen.
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -114,14 +114,14 @@ bool8 StatusCheckerCheck(struct entity *attacker, struct move *move)
|
||||
if (pokemon_info->frozen_class_status.freeze == STATUS_FROZEN_INGRAIN)
|
||||
return FALSE;
|
||||
|
||||
s32 max_hp = Min(999, pokemon_info->max_hp_stat + pokemon_info->max_hp_boost);
|
||||
s32 max_hp = Min(MAX_HP_LIMIT, pokemon_info->max_hp_stat + pokemon_info->max_hp_boost);
|
||||
if (max_hp / 2 < pokemon_info->hp)
|
||||
return FALSE;
|
||||
break;
|
||||
}
|
||||
case MOVE_SWALLOW:
|
||||
{
|
||||
s32 max_hp = Min(999, pokemon_info->max_hp_stat + pokemon_info->max_hp_boost);
|
||||
s32 max_hp = Min(MAX_HP_LIMIT, pokemon_info->max_hp_stat + pokemon_info->max_hp_boost);
|
||||
if (max_hp <= pokemon_info->hp || pokemon_info->stockpile_stage == 0)
|
||||
return FALSE;
|
||||
break;
|
||||
|
||||
@@ -15,16 +15,16 @@ bool8 ExclusiveItemEffectIsActive__0230F8AC(struct entity *entity, enum exclusiv
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
u8 FindDirectionOfAdjacentMonsterWithItem(struct entity *pokemon, enum item_id item_id)
|
||||
u8 FindDirectionOfAdjacentMonsterWithItem(struct entity *entity, enum item_id item_id)
|
||||
{
|
||||
if (!EntityIsValid__0230F008(pokemon))
|
||||
if (!EntityIsValid__0230F008(entity))
|
||||
return DIR_NONE_UNSIGNED;
|
||||
|
||||
u8 i = 0;
|
||||
u8 direction = GetEntInfo(pokemon)->action.direction;
|
||||
u8 direction = GetEntInfo(entity)->action.direction;
|
||||
for (; i < NUM_DIRECTIONS; i++, direction = (u8)(direction + 1) & DIRECTION_MASK)
|
||||
{
|
||||
struct entity *monster_in_direction = GetTile(pokemon->pos.x + DIRECTIONS_XY[direction].x, pokemon->pos.y + DIRECTIONS_XY[direction].y)->monster;
|
||||
struct entity *monster_in_direction = GetTile(entity->pos.x + DIRECTIONS_XY[direction].x, entity->pos.y + DIRECTIONS_XY[direction].y)->monster;
|
||||
if (monster_in_direction != NULL && IsMonster__0230F980(monster_in_direction) && ItemIsActive__0230F810(monster_in_direction, item_id))
|
||||
return direction;
|
||||
}
|
||||
|
||||
@@ -7,7 +7,6 @@ extern struct loc_struct* OVERLAY31_UNKNOWN_POINTER__NA_238A26C;
|
||||
extern struct bag_items* BAG_ITEMS_PTR_MIRROR;
|
||||
extern u32 OVERLAY31_UNKNOWN_STRUCT__NA_2389EF0;
|
||||
extern u8 ov31_02389F5C[];
|
||||
extern struct dungeon* DUNGEON_PTR[];
|
||||
|
||||
extern void sub_0200D310(char*, struct item*, u32*, u32, u32);
|
||||
extern u8* strcpy(u8* dest, const u8* src);
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#include "overlay_31_02383478.h"
|
||||
#include "main_02001188.h"
|
||||
|
||||
extern struct dungeon* DUNGEON_PTR[];
|
||||
extern struct loc_struct* OVERLAY31_UNKNOWN_POINTER__NA_238A26C;
|
||||
|
||||
extern u8 PositionHasItem(struct position* pos);
|
||||
|
||||
Reference in New Issue
Block a user