pmdsky-debug-py 10.1.12__py3-none-any.whl → 10.1.14__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- RELEASE = "v0.10.1+0b82db54c9"
1
+ RELEASE = "v0.10.1+70cc918e1d"
pmdsky_debug_py/eu.py CHANGED
@@ -6046,6 +6046,15 @@ class EuArm9Functions:
6046
6046
  None,
6047
6047
  )
6048
6048
 
6049
+ IsGameModeRescue = Symbol(
6050
+ [0x4B330],
6051
+ [0x204B330],
6052
+ None,
6053
+ "IsGameModeRescue",
6054
+ "Returns true if the value of GAME_MODE is GAME_MODE_RESCUE.\n\nreturn: True if GAME_MODE is GAME_MODE_RESCUE.",
6055
+ None,
6056
+ )
6057
+
6049
6058
  InitScriptVariableValues = Symbol(
6050
6059
  [0x4B384],
6051
6060
  [0x204B384],
@@ -11520,12 +11529,12 @@ class EuItcmFunctions:
11520
11529
  None,
11521
11530
  )
11522
11531
 
11523
- ShouldMonsterRunAwayVariationOutlawCheck = Symbol(
11532
+ ShouldMonsterRunAwayAndShowEffectOutlawCheck = Symbol(
11524
11533
  [0x2390],
11525
11534
  [0x20B6050],
11526
11535
  None,
11527
- "ShouldMonsterRunAwayVariationOutlawCheck",
11528
- "Calls ShouldMonsterRunAwayVariation. If the result is true, returns true. Otherwise, returns true only if the monster's behavior field is equal to monster_behavior::BEHAVIOR_FLEEING_OUTLAW.\n\nr0: Entity pointer\nr1: ?\nreturn: True if ShouldMonsterRunAway returns true or the monster is a fleeing outlaw",
11536
+ "ShouldMonsterRunAwayAndShowEffectOutlawCheck",
11537
+ "Calls ShouldMonsterRunAwayAndShowEffect. If the result is true, returns true. Otherwise, returns true only if the monster's behavior field is equal to monster_behavior::BEHAVIOR_FLEEING_OUTLAW.\n\nr0: Entity pointer\nr1: Boolean value. If true, display a visual 'poof' effect if the Run Away ability caused the monster to run away.\nreturn: True if ShouldMonsterRunAway returns true or the monster is a fleeing outlaw",
11529
11538
  None,
11530
11539
  )
11531
11540
 
@@ -11565,6 +11574,11 @@ class EuItcmFunctions:
11565
11574
  None,
11566
11575
  )
11567
11576
 
11577
+ ShouldMonsterRunAwayVariationOutlawCheck = _Deprecated(
11578
+ "ShouldMonsterRunAwayVariationOutlawCheck",
11579
+ ShouldMonsterRunAwayAndShowEffectOutlawCheck,
11580
+ )
11581
+
11568
11582
 
11569
11583
  class EuItcmData:
11570
11584
 
@@ -17690,6 +17704,15 @@ class EuOverlay10Data:
17690
17704
  "int16_t",
17691
17705
  )
17692
17706
 
17707
+ AI_CONFUSED_NO_ATTACK_CHANCE = Symbol(
17708
+ [0x7B18],
17709
+ [0x22C4ED8],
17710
+ 0x2,
17711
+ "AI_CONFUSED_NO_ATTACK_CHANCE",
17712
+ "The percentage chance of the AI not attacking when it is confused.",
17713
+ "int16_t",
17714
+ )
17715
+
17693
17716
  LEECH_SEED_HP_DRAIN = Symbol(
17694
17717
  [0x7B20],
17695
17718
  [0x22C4EE0],
@@ -18522,6 +18545,15 @@ class EuOverlay10Data:
18522
18545
  "struct type_id_8[8]",
18523
18546
  )
18524
18547
 
18548
+ AI_REGULAR_ATTACK_WEIGHTS = Symbol(
18549
+ [0x7E98],
18550
+ [0x22C5258],
18551
+ 0xA,
18552
+ "AI_REGULAR_ATTACK_WEIGHTS",
18553
+ "The weight of the regular attack in the weighted random when the AI is deciding which move to use, depending on how many other attacks the AI can currently use.\nEach index in the array corresponds to the number of attacks (0-4) the AI can use (i.e., is enabled and has PP remaining).\n\ntype: uint16_t[5]",
18554
+ "int16_t[5]",
18555
+ )
18556
+
18525
18557
  LAST_RESORT_DAMAGE_MULT_TABLE = Symbol(
18526
18558
  [0x7EDC],
18527
18559
  [0x22C529C],
@@ -24122,6 +24154,15 @@ class EuOverlay29Functions:
24122
24154
  None,
24123
24155
  )
24124
24156
 
24157
+ PlayEffectAnimation0x29 = Symbol(
24158
+ [0xA0D8],
24159
+ [0x22E6C58],
24160
+ None,
24161
+ "PlayEffectAnimation0x29",
24162
+ "Calls PlayEffectAnimation with data from animation ID 0x29.\n\nr0: entity pointer",
24163
+ None,
24164
+ )
24165
+
24125
24166
  PlayEffectAnimation0x18E = Symbol(
24126
24167
  [0xA208],
24127
24168
  [0x22E6D88],
@@ -24635,6 +24676,15 @@ class EuOverlay29Functions:
24635
24676
  None,
24636
24677
  )
24637
24678
 
24679
+ SetActionStruggle = Symbol(
24680
+ [0xFAA4],
24681
+ [0x22EC624],
24682
+ None,
24683
+ "SetActionStruggle",
24684
+ "Sets a monster's action to action::ACTION_STRUGGLE, with a specified direction.\n\nr0: Pointer to the monster's action field\nr1: Direction in which to use the move. Gets stored in monster::action::direction.",
24685
+ None,
24686
+ )
24687
+
24638
24688
  SetActionUseMovePlayer = Symbol(
24639
24689
  [0xFAC8],
24640
24690
  [0x22EC648],
@@ -25968,6 +26018,15 @@ class EuOverlay29Functions:
25968
26018
  None,
25969
26019
  )
25970
26020
 
26021
+ MonsterCannotAttack = Symbol(
26022
+ [0x24C78],
26023
+ [0x23017F8],
26024
+ None,
26025
+ "MonsterCannotAttack",
26026
+ "Returns 0 if the entity has any of these conditions: sleep, nightmare, napping, frozen, wrapped/wrapping, petrified, cringe, paused, infatuated, paralysis. Also returns 0 if ShouldMonsterRunAway returns 1.\n\nr0: Entity pointer\nr1: If true, ignore sleep conditions (sleep, nightmare, napping) when checking if the entity cannot attack.\nreturn: bool",
26027
+ None,
26028
+ )
26029
+
25971
26030
  CanMonsterMoveInDirection = Symbol(
25972
26031
  [0x24D24],
25973
26032
  [0x23018A4],
@@ -26022,12 +26081,21 @@ class EuOverlay29Functions:
26022
26081
  None,
26023
26082
  )
26024
26083
 
26025
- ShouldMonsterRunAwayVariation = Symbol(
26084
+ ShouldMonsterRunAwayAndShowEffect = Symbol(
26026
26085
  [0x25554],
26027
26086
  [0x23020D4],
26028
26087
  None,
26029
- "ShouldMonsterRunAwayVariation",
26030
- "Calls ShouldMonsterRunAway and returns its result. It also calls another function if the result was true.\n\nr0: Entity pointer\nr1: ?\nreturn: Result of the call to ShouldMonsterRunAway",
26088
+ "ShouldMonsterRunAwayAndShowEffect",
26089
+ "Calls ShouldMonsterRunAway and returns its result. It also calls DisplayRunAwayIfTriggered if the result was true.\n\nr0: Entity pointer\nr1: Boolean value. If true, display a visual 'poof' effect if the Run Away ability caused the monster to run away.\nreturn: Result of the call to ShouldMonsterRunAway",
26090
+ None,
26091
+ )
26092
+
26093
+ DisplayRunAwayIfTriggered = Symbol(
26094
+ [0x25584],
26095
+ [0x2302104],
26096
+ None,
26097
+ "DisplayRunAwayIfTriggered",
26098
+ "If the Run Away ability has triggered on the entity and r1 is true, displays the visual 'poof' effect indicating Run Away.\n\nr0: Entity pointer\nr1: Boolean value. If true, display a visual 'poof' effect if the Run Away ability caused the monster to run away.",
26031
26099
  None,
26032
26100
  )
26033
26101
 
@@ -27921,6 +27989,15 @@ class EuOverlay29Functions:
27921
27989
  None,
27922
27990
  )
27923
27991
 
27992
+ TargetRegularAttack = Symbol(
27993
+ [0x3E340],
27994
+ [0x231AEC0],
27995
+ None,
27996
+ "TargetRegularAttack",
27997
+ "Decides which direction the AI will use its regular attack in.\n\nr0: User entity pointer\nr1: [output] direction that the regular attack should be targeted at.\nr2: If true, the AI will ignore enemies that are petrified. If false, the AI will include petrified enemies when targeting.\nreturn: True if there is a target for the regular attack, false if there is no target.",
27998
+ None,
27999
+ )
28000
+
27924
28001
  IsTargetInRange = Symbol(
27925
28002
  [0x3E574],
27926
28003
  [0x231B0F4],
@@ -30576,6 +30653,10 @@ class EuOverlay29Functions:
30576
30653
  None,
30577
30654
  )
30578
30655
 
30656
+ ShouldMonsterRunAwayVariation = _Deprecated(
30657
+ "ShouldMonsterRunAwayVariation", ShouldMonsterRunAwayAndShowEffect
30658
+ )
30659
+
30579
30660
 
30580
30661
  class EuOverlay29Data:
30581
30662
 
@@ -31271,6 +31352,15 @@ class EuOverlay29Data:
31271
31352
  "uint16_t",
31272
31353
  )
31273
31354
 
31355
+ DIRECTIONAL_BIT_MASKS = Symbol(
31356
+ [0x76824],
31357
+ [0x23533A4],
31358
+ 0x8,
31359
+ "DIRECTIONAL_BIT_MASKS",
31360
+ "An array of one-hot bit masks corresponding to each direction_id. Used alongside tile->walkable_neighbor_flags to determine whether it's possible to move to a tile.",
31361
+ "uint8_t[8]",
31362
+ )
31363
+
31274
31364
  MONSTER_TREATMENT_DATA = Symbol(
31275
31365
  [0x7682C],
31276
31366
  [0x23533AC],
@@ -33344,6 +33434,15 @@ class EuRamData:
33344
33434
  "struct loaded_attack_sprite_data*",
33345
33435
  )
33346
33436
 
33437
+ MOBILITY_TYPE_TO_DUNGEON_MOBILITY_TYPE = Symbol(
33438
+ [0x37D5B8],
33439
+ [0x237D5B8],
33440
+ 0x8,
33441
+ "MOBILITY_TYPE_TO_DUNGEON_MOBILITY_TYPE",
33442
+ "[Runtime] Used by GetMobilityTypeCheckSlip to determine if a monster with a mobility type of MOBILITY_WATER or MOBILITY_LAVA can cross the current dungeon's liquid (lava or water). Only the values at indexes 4 (MOBILITY_LAVA) and 5 (MOBILITY_WATER) are used. If the mobility type can cross the liquid in the current dungeon, the array value at the mobility type's index is MOBILITY_WATER. If not, the array value is MOBILITY_NORMAL.",
33443
+ "enum mobility_type[8]",
33444
+ )
33445
+
33347
33446
  AI_THROWN_ITEM_DIRECTION_IS_USED = Symbol(
33348
33447
  [0x37D5D0],
33349
33448
  [0x237D5D0],
@@ -6000,6 +6000,15 @@ class EuItcmArm9Functions:
6000
6000
  None,
6001
6001
  )
6002
6002
 
6003
+ IsGameModeRescue = Symbol(
6004
+ None,
6005
+ None,
6006
+ None,
6007
+ "IsGameModeRescue",
6008
+ "Returns true if the value of GAME_MODE is GAME_MODE_RESCUE.\n\nreturn: True if GAME_MODE is GAME_MODE_RESCUE.",
6009
+ None,
6010
+ )
6011
+
6003
6012
  InitScriptVariableValues = Symbol(
6004
6013
  None,
6005
6014
  None,
@@ -11454,12 +11463,12 @@ class EuItcmItcmFunctions:
11454
11463
  None,
11455
11464
  )
11456
11465
 
11457
- ShouldMonsterRunAwayVariationOutlawCheck = Symbol(
11466
+ ShouldMonsterRunAwayAndShowEffectOutlawCheck = Symbol(
11458
11467
  [0x2390],
11459
11468
  [0x1FFA390],
11460
11469
  None,
11461
- "ShouldMonsterRunAwayVariationOutlawCheck",
11462
- "Calls ShouldMonsterRunAwayVariation. If the result is true, returns true. Otherwise, returns true only if the monster's behavior field is equal to monster_behavior::BEHAVIOR_FLEEING_OUTLAW.\n\nr0: Entity pointer\nr1: ?\nreturn: True if ShouldMonsterRunAway returns true or the monster is a fleeing outlaw",
11470
+ "ShouldMonsterRunAwayAndShowEffectOutlawCheck",
11471
+ "Calls ShouldMonsterRunAwayAndShowEffect. If the result is true, returns true. Otherwise, returns true only if the monster's behavior field is equal to monster_behavior::BEHAVIOR_FLEEING_OUTLAW.\n\nr0: Entity pointer\nr1: Boolean value. If true, display a visual 'poof' effect if the Run Away ability caused the monster to run away.\nreturn: True if ShouldMonsterRunAway returns true or the monster is a fleeing outlaw",
11463
11472
  None,
11464
11473
  )
11465
11474
 
@@ -11499,6 +11508,11 @@ class EuItcmItcmFunctions:
11499
11508
  None,
11500
11509
  )
11501
11510
 
11511
+ ShouldMonsterRunAwayVariationOutlawCheck = _Deprecated(
11512
+ "ShouldMonsterRunAwayVariationOutlawCheck",
11513
+ ShouldMonsterRunAwayAndShowEffectOutlawCheck,
11514
+ )
11515
+
11502
11516
 
11503
11517
  class EuItcmItcmData:
11504
11518
 
@@ -17439,6 +17453,15 @@ class EuItcmOverlay10Data:
17439
17453
  "int16_t",
17440
17454
  )
17441
17455
 
17456
+ AI_CONFUSED_NO_ATTACK_CHANCE = Symbol(
17457
+ None,
17458
+ None,
17459
+ None,
17460
+ "AI_CONFUSED_NO_ATTACK_CHANCE",
17461
+ "The percentage chance of the AI not attacking when it is confused.",
17462
+ "int16_t",
17463
+ )
17464
+
17442
17465
  LEECH_SEED_HP_DRAIN = Symbol(
17443
17466
  None,
17444
17467
  None,
@@ -18256,6 +18279,15 @@ class EuItcmOverlay10Data:
18256
18279
  "struct type_id_8[8]",
18257
18280
  )
18258
18281
 
18282
+ AI_REGULAR_ATTACK_WEIGHTS = Symbol(
18283
+ None,
18284
+ None,
18285
+ None,
18286
+ "AI_REGULAR_ATTACK_WEIGHTS",
18287
+ "The weight of the regular attack in the weighted random when the AI is deciding which move to use, depending on how many other attacks the AI can currently use.\nEach index in the array corresponds to the number of attacks (0-4) the AI can use (i.e., is enabled and has PP remaining).\n\ntype: uint16_t[5]",
18288
+ "int16_t[5]",
18289
+ )
18290
+
18259
18291
  LAST_RESORT_DAMAGE_MULT_TABLE = Symbol(
18260
18292
  None,
18261
18293
  None,
@@ -23593,6 +23625,15 @@ class EuItcmOverlay29Functions:
23593
23625
  None,
23594
23626
  )
23595
23627
 
23628
+ PlayEffectAnimation0x29 = Symbol(
23629
+ None,
23630
+ None,
23631
+ None,
23632
+ "PlayEffectAnimation0x29",
23633
+ "Calls PlayEffectAnimation with data from animation ID 0x29.\n\nr0: entity pointer",
23634
+ None,
23635
+ )
23636
+
23596
23637
  PlayEffectAnimation0x18E = Symbol(
23597
23638
  None,
23598
23639
  None,
@@ -24106,6 +24147,15 @@ class EuItcmOverlay29Functions:
24106
24147
  None,
24107
24148
  )
24108
24149
 
24150
+ SetActionStruggle = Symbol(
24151
+ None,
24152
+ None,
24153
+ None,
24154
+ "SetActionStruggle",
24155
+ "Sets a monster's action to action::ACTION_STRUGGLE, with a specified direction.\n\nr0: Pointer to the monster's action field\nr1: Direction in which to use the move. Gets stored in monster::action::direction.",
24156
+ None,
24157
+ )
24158
+
24109
24159
  SetActionUseMovePlayer = Symbol(
24110
24160
  None,
24111
24161
  None,
@@ -25393,6 +25443,15 @@ class EuItcmOverlay29Functions:
25393
25443
  None,
25394
25444
  )
25395
25445
 
25446
+ MonsterCannotAttack = Symbol(
25447
+ None,
25448
+ None,
25449
+ None,
25450
+ "MonsterCannotAttack",
25451
+ "Returns 0 if the entity has any of these conditions: sleep, nightmare, napping, frozen, wrapped/wrapping, petrified, cringe, paused, infatuated, paralysis. Also returns 0 if ShouldMonsterRunAway returns 1.\n\nr0: Entity pointer\nr1: If true, ignore sleep conditions (sleep, nightmare, napping) when checking if the entity cannot attack.\nreturn: bool",
25452
+ None,
25453
+ )
25454
+
25396
25455
  CanMonsterMoveInDirection = Symbol(
25397
25456
  None,
25398
25457
  None,
@@ -25447,12 +25506,21 @@ class EuItcmOverlay29Functions:
25447
25506
  None,
25448
25507
  )
25449
25508
 
25450
- ShouldMonsterRunAwayVariation = Symbol(
25509
+ ShouldMonsterRunAwayAndShowEffect = Symbol(
25451
25510
  None,
25452
25511
  None,
25453
25512
  None,
25454
- "ShouldMonsterRunAwayVariation",
25455
- "Calls ShouldMonsterRunAway and returns its result. It also calls another function if the result was true.\n\nr0: Entity pointer\nr1: ?\nreturn: Result of the call to ShouldMonsterRunAway",
25513
+ "ShouldMonsterRunAwayAndShowEffect",
25514
+ "Calls ShouldMonsterRunAway and returns its result. It also calls DisplayRunAwayIfTriggered if the result was true.\n\nr0: Entity pointer\nr1: Boolean value. If true, display a visual 'poof' effect if the Run Away ability caused the monster to run away.\nreturn: Result of the call to ShouldMonsterRunAway",
25515
+ None,
25516
+ )
25517
+
25518
+ DisplayRunAwayIfTriggered = Symbol(
25519
+ None,
25520
+ None,
25521
+ None,
25522
+ "DisplayRunAwayIfTriggered",
25523
+ "If the Run Away ability has triggered on the entity and r1 is true, displays the visual 'poof' effect indicating Run Away.\n\nr0: Entity pointer\nr1: Boolean value. If true, display a visual 'poof' effect if the Run Away ability caused the monster to run away.",
25456
25524
  None,
25457
25525
  )
25458
25526
 
@@ -27346,6 +27414,15 @@ class EuItcmOverlay29Functions:
27346
27414
  None,
27347
27415
  )
27348
27416
 
27417
+ TargetRegularAttack = Symbol(
27418
+ None,
27419
+ None,
27420
+ None,
27421
+ "TargetRegularAttack",
27422
+ "Decides which direction the AI will use its regular attack in.\n\nr0: User entity pointer\nr1: [output] direction that the regular attack should be targeted at.\nr2: If true, the AI will ignore enemies that are petrified. If false, the AI will include petrified enemies when targeting.\nreturn: True if there is a target for the regular attack, false if there is no target.",
27423
+ None,
27424
+ )
27425
+
27349
27426
  IsTargetInRange = Symbol(
27350
27427
  None,
27351
27428
  None,
@@ -29996,6 +30073,10 @@ class EuItcmOverlay29Functions:
29996
30073
  None,
29997
30074
  )
29998
30075
 
30076
+ ShouldMonsterRunAwayVariation = _Deprecated(
30077
+ "ShouldMonsterRunAwayVariation", ShouldMonsterRunAwayAndShowEffect
30078
+ )
30079
+
29999
30080
 
30000
30081
  class EuItcmOverlay29Data:
30001
30082
 
@@ -30593,6 +30674,15 @@ class EuItcmOverlay29Data:
30593
30674
  "uint16_t",
30594
30675
  )
30595
30676
 
30677
+ DIRECTIONAL_BIT_MASKS = Symbol(
30678
+ None,
30679
+ None,
30680
+ None,
30681
+ "DIRECTIONAL_BIT_MASKS",
30682
+ "An array of one-hot bit masks corresponding to each direction_id. Used alongside tile->walkable_neighbor_flags to determine whether it's possible to move to a tile.",
30683
+ "uint8_t[8]",
30684
+ )
30685
+
30596
30686
  MONSTER_TREATMENT_DATA = Symbol(
30597
30687
  None,
30598
30688
  None,
@@ -32622,6 +32712,15 @@ class EuItcmRamData:
32622
32712
  "struct loaded_attack_sprite_data*",
32623
32713
  )
32624
32714
 
32715
+ MOBILITY_TYPE_TO_DUNGEON_MOBILITY_TYPE = Symbol(
32716
+ None,
32717
+ None,
32718
+ None,
32719
+ "MOBILITY_TYPE_TO_DUNGEON_MOBILITY_TYPE",
32720
+ "[Runtime] Used by GetMobilityTypeCheckSlip to determine if a monster with a mobility type of MOBILITY_WATER or MOBILITY_LAVA can cross the current dungeon's liquid (lava or water). Only the values at indexes 4 (MOBILITY_LAVA) and 5 (MOBILITY_WATER) are used. If the mobility type can cross the liquid in the current dungeon, the array value at the mobility type's index is MOBILITY_WATER. If not, the array value is MOBILITY_NORMAL.",
32721
+ "enum mobility_type[8]",
32722
+ )
32723
+
32625
32724
  AI_THROWN_ITEM_DIRECTION_IS_USED = Symbol(
32626
32725
  None,
32627
32726
  None,
pmdsky_debug_py/jp.py CHANGED
@@ -6046,6 +6046,15 @@ class JpArm9Functions:
6046
6046
  None,
6047
6047
  )
6048
6048
 
6049
+ IsGameModeRescue = Symbol(
6050
+ [0x4B360],
6051
+ [0x204B360],
6052
+ None,
6053
+ "IsGameModeRescue",
6054
+ "Returns true if the value of GAME_MODE is GAME_MODE_RESCUE.\n\nreturn: True if GAME_MODE is GAME_MODE_RESCUE.",
6055
+ None,
6056
+ )
6057
+
6049
6058
  InitScriptVariableValues = Symbol(
6050
6059
  [0x4B3B4],
6051
6060
  [0x204B3B4],
@@ -8954,8 +8963,8 @@ class JpArm9Functions:
8954
8963
  )
8955
8964
 
8956
8965
  GenerateMissionDetailsStruct = Symbol(
8957
- None,
8958
- None,
8966
+ [0x60440],
8967
+ [0x2060440],
8959
8968
  None,
8960
8969
  "GenerateMissionDetailsStruct",
8961
8970
  "Generates a mission_details struct, to be used for printing mission details such as the title, summary, and objective.\n\nr0: mission struct pointer\nr1: [output] mission_details struct pointer\nr2: ?\nr3: ?",
@@ -8981,8 +8990,8 @@ class JpArm9Functions:
8981
8990
  )
8982
8991
 
8983
8992
  AppendMissionTitle = Symbol(
8984
- None,
8985
- None,
8993
+ [0x60D00],
8994
+ [0x2060D00],
8986
8995
  None,
8987
8996
  "AppendMissionTitle",
8988
8997
  "Generates the mission title of a mission, and appends it to the string location.\n\nr0: [output] output buffer\nr1: intermediate buffer, filled then concatenated to output buffer\nr2: pointer to preprocessor args\nr3: pointer to mission_details struct",
@@ -8990,8 +8999,8 @@ class JpArm9Functions:
8990
8999
  )
8991
9000
 
8992
9001
  AppendMissionSummary = Symbol(
8993
- None,
8994
- None,
9002
+ [0x611A0],
9003
+ [0x20611A0],
8995
9004
  None,
8996
9005
  "AppendMissionSummary",
8997
9006
  "Generates the mission title of a mission, and appends it to the string location.\n\nr0: [output] main string location\nr1: temporary string buffer, concatenated to main string\nr2: window_id for DrawTextInWindow\nr3: y offset for DrawTextInWindow\nstack[0]: pointer to preprocessor args\nstack[1]: pointer to mission_details struct",
@@ -11515,12 +11524,12 @@ class JpItcmFunctions:
11515
11524
  None,
11516
11525
  )
11517
11526
 
11518
- ShouldMonsterRunAwayVariationOutlawCheck = Symbol(
11527
+ ShouldMonsterRunAwayAndShowEffectOutlawCheck = Symbol(
11519
11528
  [0x23F8],
11520
11529
  [0x20B6FD8],
11521
11530
  None,
11522
- "ShouldMonsterRunAwayVariationOutlawCheck",
11523
- "Calls ShouldMonsterRunAwayVariation. If the result is true, returns true. Otherwise, returns true only if the monster's behavior field is equal to monster_behavior::BEHAVIOR_FLEEING_OUTLAW.\n\nr0: Entity pointer\nr1: ?\nreturn: True if ShouldMonsterRunAway returns true or the monster is a fleeing outlaw",
11531
+ "ShouldMonsterRunAwayAndShowEffectOutlawCheck",
11532
+ "Calls ShouldMonsterRunAwayAndShowEffect. If the result is true, returns true. Otherwise, returns true only if the monster's behavior field is equal to monster_behavior::BEHAVIOR_FLEEING_OUTLAW.\n\nr0: Entity pointer\nr1: Boolean value. If true, display a visual 'poof' effect if the Run Away ability caused the monster to run away.\nreturn: True if ShouldMonsterRunAway returns true or the monster is a fleeing outlaw",
11524
11533
  None,
11525
11534
  )
11526
11535
 
@@ -11560,6 +11569,11 @@ class JpItcmFunctions:
11560
11569
  None,
11561
11570
  )
11562
11571
 
11572
+ ShouldMonsterRunAwayVariationOutlawCheck = _Deprecated(
11573
+ "ShouldMonsterRunAwayVariationOutlawCheck",
11574
+ ShouldMonsterRunAwayAndShowEffectOutlawCheck,
11575
+ )
11576
+
11563
11577
 
11564
11578
  class JpItcmData:
11565
11579
 
@@ -11591,8 +11605,8 @@ class JpItcmData:
11591
11605
  )
11592
11606
 
11593
11607
  RENDER_3D_FUNCTIONS = Symbol(
11594
- None,
11595
- None,
11608
+ [0x120],
11609
+ [0x20B4D00],
11596
11610
  None,
11597
11611
  "RENDER_3D_FUNCTIONS",
11598
11612
  "Pointers to the 4 functions available for rendering a render_3d_element (in ITCM)\n\ntype: render_3d_element_fn_t[4]",
@@ -17685,6 +17699,15 @@ class JpOverlay10Data:
17685
17699
  "int16_t",
17686
17700
  )
17687
17701
 
17702
+ AI_CONFUSED_NO_ATTACK_CHANCE = Symbol(
17703
+ [0x7A48],
17704
+ [0x22C5C68],
17705
+ 0x2,
17706
+ "AI_CONFUSED_NO_ATTACK_CHANCE",
17707
+ "The percentage chance of the AI not attacking when it is confused.",
17708
+ "int16_t",
17709
+ )
17710
+
17688
17711
  LEECH_SEED_HP_DRAIN = Symbol(
17689
17712
  [0x7A50],
17690
17713
  [0x22C5C70],
@@ -18517,6 +18540,15 @@ class JpOverlay10Data:
18517
18540
  "struct type_id_8[8]",
18518
18541
  )
18519
18542
 
18543
+ AI_REGULAR_ATTACK_WEIGHTS = Symbol(
18544
+ [0x7DC8],
18545
+ [0x22C5FE8],
18546
+ 0xA,
18547
+ "AI_REGULAR_ATTACK_WEIGHTS",
18548
+ "The weight of the regular attack in the weighted random when the AI is deciding which move to use, depending on how many other attacks the AI can currently use.\nEach index in the array corresponds to the number of attacks (0-4) the AI can use (i.e., is enabled and has PP remaining).\n\ntype: uint16_t[5]",
18549
+ "int16_t[5]",
18550
+ )
18551
+
18520
18552
  LAST_RESORT_DAMAGE_MULT_TABLE = Symbol(
18521
18553
  [0x7E0C],
18522
18554
  [0x22C602C],
@@ -24113,6 +24145,15 @@ class JpOverlay29Functions:
24113
24145
  None,
24114
24146
  )
24115
24147
 
24148
+ PlayEffectAnimation0x29 = Symbol(
24149
+ [0xA038],
24150
+ [0x22E7918],
24151
+ None,
24152
+ "PlayEffectAnimation0x29",
24153
+ "Calls PlayEffectAnimation with data from animation ID 0x29.\n\nr0: entity pointer",
24154
+ None,
24155
+ )
24156
+
24116
24157
  PlayEffectAnimation0x18E = Symbol(
24117
24158
  [0xA168],
24118
24159
  [0x22E7A48],
@@ -24626,6 +24667,15 @@ class JpOverlay29Functions:
24626
24667
  None,
24627
24668
  )
24628
24669
 
24670
+ SetActionStruggle = Symbol(
24671
+ [0xF9FC],
24672
+ [0x22ED2DC],
24673
+ None,
24674
+ "SetActionStruggle",
24675
+ "Sets a monster's action to action::ACTION_STRUGGLE, with a specified direction.\n\nr0: Pointer to the monster's action field\nr1: Direction in which to use the move. Gets stored in monster::action::direction.",
24676
+ None,
24677
+ )
24678
+
24629
24679
  SetActionUseMovePlayer = Symbol(
24630
24680
  [0xFA20],
24631
24681
  [0x22ED300],
@@ -25959,6 +26009,15 @@ class JpOverlay29Functions:
25959
26009
  None,
25960
26010
  )
25961
26011
 
26012
+ MonsterCannotAttack = Symbol(
26013
+ [0x248D0],
26014
+ [0x23021B0],
26015
+ None,
26016
+ "MonsterCannotAttack",
26017
+ "Returns 0 if the entity has any of these conditions: sleep, nightmare, napping, frozen, wrapped/wrapping, petrified, cringe, paused, infatuated, paralysis. Also returns 0 if ShouldMonsterRunAway returns 1.\n\nr0: Entity pointer\nr1: If true, ignore sleep conditions (sleep, nightmare, napping) when checking if the entity cannot attack.\nreturn: bool",
26018
+ None,
26019
+ )
26020
+
25962
26021
  CanMonsterMoveInDirection = Symbol(
25963
26022
  [0x2497C],
25964
26023
  [0x230225C],
@@ -26013,12 +26072,21 @@ class JpOverlay29Functions:
26013
26072
  None,
26014
26073
  )
26015
26074
 
26016
- ShouldMonsterRunAwayVariation = Symbol(
26075
+ ShouldMonsterRunAwayAndShowEffect = Symbol(
26017
26076
  [0x25338],
26018
26077
  [0x2302C18],
26019
26078
  None,
26020
- "ShouldMonsterRunAwayVariation",
26021
- "Calls ShouldMonsterRunAway and returns its result. It also calls another function if the result was true.\n\nr0: Entity pointer\nr1: ?\nreturn: Result of the call to ShouldMonsterRunAway",
26079
+ "ShouldMonsterRunAwayAndShowEffect",
26080
+ "Calls ShouldMonsterRunAway and returns its result. It also calls DisplayRunAwayIfTriggered if the result was true.\n\nr0: Entity pointer\nr1: Boolean value. If true, display a visual 'poof' effect if the Run Away ability caused the monster to run away.\nreturn: Result of the call to ShouldMonsterRunAway",
26081
+ None,
26082
+ )
26083
+
26084
+ DisplayRunAwayIfTriggered = Symbol(
26085
+ [0x25368],
26086
+ [0x2302C48],
26087
+ None,
26088
+ "DisplayRunAwayIfTriggered",
26089
+ "If the Run Away ability has triggered on the entity and r1 is true, displays the visual 'poof' effect indicating Run Away.\n\nr0: Entity pointer\nr1: Boolean value. If true, display a visual 'poof' effect if the Run Away ability caused the monster to run away.",
26022
26090
  None,
26023
26091
  )
26024
26092
 
@@ -27912,6 +27980,15 @@ class JpOverlay29Functions:
27912
27980
  None,
27913
27981
  )
27914
27982
 
27983
+ TargetRegularAttack = Symbol(
27984
+ [0x3E050],
27985
+ [0x231B930],
27986
+ None,
27987
+ "TargetRegularAttack",
27988
+ "Decides which direction the AI will use its regular attack in.\n\nr0: User entity pointer\nr1: [output] direction that the regular attack should be targeted at.\nr2: If true, the AI will ignore enemies that are petrified. If false, the AI will include petrified enemies when targeting.\nreturn: True if there is a target for the regular attack, false if there is no target.",
27989
+ None,
27990
+ )
27991
+
27915
27992
  IsTargetInRange = Symbol(
27916
27993
  [0x3E284],
27917
27994
  [0x231BB64],
@@ -30567,6 +30644,10 @@ class JpOverlay29Functions:
30567
30644
  None,
30568
30645
  )
30569
30646
 
30647
+ ShouldMonsterRunAwayVariation = _Deprecated(
30648
+ "ShouldMonsterRunAwayVariation", ShouldMonsterRunAwayAndShowEffect
30649
+ )
30650
+
30570
30651
 
30571
30652
  class JpOverlay29Data:
30572
30653
 
@@ -31164,6 +31245,15 @@ class JpOverlay29Data:
31164
31245
  "uint16_t",
31165
31246
  )
31166
31247
 
31248
+ DIRECTIONAL_BIT_MASKS = Symbol(
31249
+ [0x76138],
31250
+ [0x2353A18],
31251
+ 0x8,
31252
+ "DIRECTIONAL_BIT_MASKS",
31253
+ "An array of one-hot bit masks corresponding to each direction_id. Used alongside tile->walkable_neighbor_flags to determine whether it's possible to move to a tile.",
31254
+ "uint8_t[8]",
31255
+ )
31256
+
31167
31257
  MONSTER_TREATMENT_DATA = Symbol(
31168
31258
  [0x76140],
31169
31259
  [0x2353A20],
@@ -33232,6 +33322,15 @@ class JpRamData:
33232
33322
  "struct loaded_attack_sprite_data*",
33233
33323
  )
33234
33324
 
33325
+ MOBILITY_TYPE_TO_DUNGEON_MOBILITY_TYPE = Symbol(
33326
+ [0x37DC38],
33327
+ [0x237DC38],
33328
+ 0x8,
33329
+ "MOBILITY_TYPE_TO_DUNGEON_MOBILITY_TYPE",
33330
+ "[Runtime] Used by GetMobilityTypeCheckSlip to determine if a monster with a mobility type of MOBILITY_WATER or MOBILITY_LAVA can cross the current dungeon's liquid (lava or water). Only the values at indexes 4 (MOBILITY_LAVA) and 5 (MOBILITY_WATER) are used. If the mobility type can cross the liquid in the current dungeon, the array value at the mobility type's index is MOBILITY_WATER. If not, the array value is MOBILITY_NORMAL.",
33331
+ "enum mobility_type[8]",
33332
+ )
33333
+
33235
33334
  AI_THROWN_ITEM_DIRECTION_IS_USED = Symbol(
33236
33335
  [0x37DC50],
33237
33336
  [0x237DC50],