pmdsky-debug-py 10.1.9__py3-none-any.whl → 10.1.11__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+7e923cb0d9"
1
+ RELEASE = "v0.10.1+0faf624f7c"
pmdsky_debug_py/eu.py CHANGED
@@ -8953,12 +8953,21 @@ class EuArm9Functions:
8953
8953
  None,
8954
8954
  )
8955
8955
 
8956
+ GenerateMissionDetailsStruct = Symbol(
8957
+ [0x604CC],
8958
+ [0x20604CC],
8959
+ None,
8960
+ "GenerateMissionDetailsStruct",
8961
+ "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: ?",
8962
+ None,
8963
+ )
8964
+
8956
8965
  ValidateNormalChallengeMission = Symbol(
8957
8966
  [0x60B80],
8958
8967
  [0x2060B80],
8959
8968
  None,
8960
8969
  "ValidateNormalChallengeMission",
8961
- "Validates a normal (non-legendary) challenge letter mission by checking whether its client (leader), target (second member), and outlaw_backup_species (third member) match those of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_rescue_bin struct pointer\nr1: mission struct pointer\nreturn: bool",
8970
+ "Validates a normal (non-legendary) challenge letter mission by checking whether its client (leader), target (second member), and outlaw_backup_species (third member) match those of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_template struct pointer\nr1: mission struct pointer\nreturn: bool",
8962
8971
  None,
8963
8972
  )
8964
8973
 
@@ -8967,7 +8976,25 @@ class EuArm9Functions:
8967
8976
  [0x2060C80],
8968
8977
  None,
8969
8978
  "ValidateLegendaryChallengeMission",
8970
- "Validates a legendary challenge letter mission by checking whether its dungeon matches the restricted dungeon of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_rescue_bin struct pointer\nr1: mission struct pointer\nreturn: bool",
8979
+ "Validates a legendary challenge letter mission by checking whether its dungeon matches the restricted dungeon of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_template struct pointer\nr1: mission struct pointer\nreturn: bool",
8980
+ None,
8981
+ )
8982
+
8983
+ AppendMissionTitle = Symbol(
8984
+ [0x60D8C],
8985
+ [0x2060D8C],
8986
+ None,
8987
+ "AppendMissionTitle",
8988
+ "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",
8989
+ None,
8990
+ )
8991
+
8992
+ AppendMissionSummary = Symbol(
8993
+ [0x61230],
8994
+ [0x2061230],
8995
+ None,
8996
+ "AppendMissionSummary",
8997
+ "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",
8971
8998
  None,
8972
8999
  )
8973
9000
 
@@ -10473,31 +10500,40 @@ class EuArm9Data:
10473
10500
  "struct item_id_16[3]",
10474
10501
  )
10475
10502
 
10476
- ARM9_UNKNOWN_TABLE__NA_20A3CC8 = Symbol(
10503
+ CAFE_MISSION_REWARD_TYPE_WEIGHTS = Symbol(
10477
10504
  [0xA42C8],
10478
10505
  [0x20A42C8],
10479
- 0x1C,
10480
- "ARM9_UNKNOWN_TABLE__NA_20A3CC8",
10481
- "14*0x2\nLinked to ARM9_UNKNOWN_TABLE__NA_20A3CE4\n\nNote: unverified, ported from Irdkwia's notes",
10482
- "",
10506
+ 0xE,
10507
+ "CAFE_MISSION_REWARD_TYPE_WEIGHTS",
10508
+ "Weights for each possible mission_reward_type, used only by cafe mission generation.\nSeems identical to DEFAULT_MISSION_REWARD_TYPE_WEIGHTS.",
10509
+ "uint16_t[7]",
10510
+ )
10511
+
10512
+ OUTLAW_MISSION_REWARD_TYPE_WEIGHTS = Symbol(
10513
+ [0xA42D6],
10514
+ [0x20A42D6],
10515
+ 0xE,
10516
+ "OUTLAW_MISSION_REWARD_TYPE_WEIGHTS",
10517
+ "Weights for each possible mission_reward_type, exclusively for the ARREST_OUTLAW mission type.\nTakes priority over CAFE_MISSION_REWARD_TYPE_WEIGHTS and CAFE_MISSION_REWARD_TYPE_WEIGHTS.",
10518
+ "uint16_t[7]",
10483
10519
  )
10484
10520
 
10485
- ARM9_UNKNOWN_TABLE__NA_20A3CE4 = Symbol(
10521
+ DEFAULT_MISSION_REWARD_TYPE_WEIGHTS = Symbol(
10486
10522
  [0xA42E4],
10487
10523
  [0x20A42E4],
10488
- 0x10,
10489
- "ARM9_UNKNOWN_TABLE__NA_20A3CE4",
10490
- "8*0x2\n\nNote: unverified, ported from Irdkwia's notes",
10491
- "",
10524
+ 0xE,
10525
+ "DEFAULT_MISSION_REWARD_TYPE_WEIGHTS",
10526
+ "Weights for each possible mission_reward_type, used for non-cafe missions.\nSeems identical to CAFE_MISSION_REWARD_TYPE_WEIGHTS.",
10527
+ "uint16_t[7]",
10492
10528
  )
10493
10529
 
10494
- ARM9_UNKNOWN_FUNCTION_TABLE__NA_20A3CF4 = Symbol(
10530
+ MISSION_VALIDATION_FUNCTION_LIST = Symbol(
10495
10531
  [0xA42F4],
10496
10532
  [0x20A42F4],
10497
10533
  0x20,
10498
- "ARM9_UNKNOWN_FUNCTION_TABLE__NA_20A3CF4",
10499
- "Could be related to missions\n\nNote: unverified, ported from Irdkwia's notes",
10500
- "",
10534
+ "MISSION_VALIDATION_FUNCTION_LIST",
10535
+ "A list of functions used to validate missions of different types at 02060CEC [EU].",
10536
+ "undefined*[8]",
10501
10537
  )
10502
10538
 
10503
10539
  MISSION_BANNED_STORY_MONSTERS = Symbol(
@@ -10541,7 +10577,7 @@ class EuArm9Data:
10541
10577
  [0x20A44A4],
10542
10578
  0x788,
10543
10579
  "MISSION_STRING_IDS",
10544
- "Note: unverified, ported from Irdkwia's notes\n\ntype: int16_t[964]",
10580
+ "String IDs for mission title and summary flavor-text.\nUsed by GenerateMissionTitle and GenerateMissionSummary.\n\ntype: int16_t[964]",
10545
10581
  "int16_t[964]",
10546
10582
  )
10547
10583
 
@@ -11015,6 +11051,15 @@ class EuArm9Data:
11015
11051
  "void*[26]",
11016
11052
  )
11017
11053
 
11054
+ MONSTER_DATA_TABLE_PTR = Symbol(
11055
+ [0xB12D0],
11056
+ [0x20B12D0],
11057
+ None,
11058
+ "MONSTER_DATA_TABLE_PTR",
11059
+ "[Runtime] Points to data about monster species.",
11060
+ "undefined*",
11061
+ )
11062
+
11018
11063
  UNOWN_SPECIES_ADDITIONAL_CHAR_PTR_TABLE = Symbol(
11019
11064
  [0xB131C],
11020
11065
  [0x20B131C],
@@ -31145,6 +31190,15 @@ class EuOverlay29Data:
31145
31190
  "struct status_icon_flags[18]",
31146
31191
  )
31147
31192
 
31193
+ POSITION_DISPLACEMENT_TO_DIRECTION = Symbol(
31194
+ [0x75690],
31195
+ [0x2352210],
31196
+ 0x24,
31197
+ "POSITION_DISPLACEMENT_TO_DIRECTION",
31198
+ "An array mapping position displacements (y, then x) to directions. Used by GetDirectionTowardsPosition.\n\nGiven two positions, displacements are either 0, 1, or 2 depending on whether the second position's x/y coordinate is less than, equal, or greater\nthan the first position's corresponding coordinates. For example, POSITION_DISPLACEMENT_TO_DIRECTION[0][2] (DIR_UP_RIGHT)\nindicates that the second y coordinate is less than the first, and the second x coordinate is greater than the first.",
31199
+ "enum direction_id[3][3]",
31200
+ )
31201
+
31148
31202
  DIRECTIONS_XY = Symbol(
31149
31203
  [0x757A8],
31150
31204
  [0x2352328],
@@ -8907,12 +8907,21 @@ class EuItcmArm9Functions:
8907
8907
  None,
8908
8908
  )
8909
8909
 
8910
+ GenerateMissionDetailsStruct = Symbol(
8911
+ None,
8912
+ None,
8913
+ None,
8914
+ "GenerateMissionDetailsStruct",
8915
+ "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: ?",
8916
+ None,
8917
+ )
8918
+
8910
8919
  ValidateNormalChallengeMission = Symbol(
8911
8920
  None,
8912
8921
  None,
8913
8922
  None,
8914
8923
  "ValidateNormalChallengeMission",
8915
- "Validates a normal (non-legendary) challenge letter mission by checking whether its client (leader), target (second member), and outlaw_backup_species (third member) match those of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_rescue_bin struct pointer\nr1: mission struct pointer\nreturn: bool",
8924
+ "Validates a normal (non-legendary) challenge letter mission by checking whether its client (leader), target (second member), and outlaw_backup_species (third member) match those of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_template struct pointer\nr1: mission struct pointer\nreturn: bool",
8916
8925
  None,
8917
8926
  )
8918
8927
 
@@ -8921,7 +8930,25 @@ class EuItcmArm9Functions:
8921
8930
  None,
8922
8931
  None,
8923
8932
  "ValidateLegendaryChallengeMission",
8924
- "Validates a legendary challenge letter mission by checking whether its dungeon matches the restricted dungeon of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_rescue_bin struct pointer\nr1: mission struct pointer\nreturn: bool",
8933
+ "Validates a legendary challenge letter mission by checking whether its dungeon matches the restricted dungeon of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_template struct pointer\nr1: mission struct pointer\nreturn: bool",
8934
+ None,
8935
+ )
8936
+
8937
+ AppendMissionTitle = Symbol(
8938
+ None,
8939
+ None,
8940
+ None,
8941
+ "AppendMissionTitle",
8942
+ "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",
8943
+ None,
8944
+ )
8945
+
8946
+ AppendMissionSummary = Symbol(
8947
+ None,
8948
+ None,
8949
+ None,
8950
+ "AppendMissionSummary",
8951
+ "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",
8925
8952
  None,
8926
8953
  )
8927
8954
 
@@ -10413,31 +10440,40 @@ class EuItcmArm9Data:
10413
10440
  "struct item_id_16[3]",
10414
10441
  )
10415
10442
 
10416
- ARM9_UNKNOWN_TABLE__NA_20A3CC8 = Symbol(
10443
+ CAFE_MISSION_REWARD_TYPE_WEIGHTS = Symbol(
10417
10444
  None,
10418
10445
  None,
10419
10446
  None,
10420
- "ARM9_UNKNOWN_TABLE__NA_20A3CC8",
10421
- "14*0x2\nLinked to ARM9_UNKNOWN_TABLE__NA_20A3CE4\n\nNote: unverified, ported from Irdkwia's notes",
10422
- "",
10447
+ "CAFE_MISSION_REWARD_TYPE_WEIGHTS",
10448
+ "Weights for each possible mission_reward_type, used only by cafe mission generation.\nSeems identical to DEFAULT_MISSION_REWARD_TYPE_WEIGHTS.",
10449
+ "uint16_t[7]",
10423
10450
  )
10424
10451
 
10425
- ARM9_UNKNOWN_TABLE__NA_20A3CE4 = Symbol(
10452
+ OUTLAW_MISSION_REWARD_TYPE_WEIGHTS = Symbol(
10426
10453
  None,
10427
10454
  None,
10428
10455
  None,
10429
- "ARM9_UNKNOWN_TABLE__NA_20A3CE4",
10430
- "8*0x2\n\nNote: unverified, ported from Irdkwia's notes",
10431
- "",
10456
+ "OUTLAW_MISSION_REWARD_TYPE_WEIGHTS",
10457
+ "Weights for each possible mission_reward_type, exclusively for the ARREST_OUTLAW mission type.\nTakes priority over CAFE_MISSION_REWARD_TYPE_WEIGHTS and CAFE_MISSION_REWARD_TYPE_WEIGHTS.",
10458
+ "uint16_t[7]",
10432
10459
  )
10433
10460
 
10434
- ARM9_UNKNOWN_FUNCTION_TABLE__NA_20A3CF4 = Symbol(
10461
+ DEFAULT_MISSION_REWARD_TYPE_WEIGHTS = Symbol(
10435
10462
  None,
10436
10463
  None,
10437
10464
  None,
10438
- "ARM9_UNKNOWN_FUNCTION_TABLE__NA_20A3CF4",
10439
- "Could be related to missions\n\nNote: unverified, ported from Irdkwia's notes",
10440
- "",
10465
+ "DEFAULT_MISSION_REWARD_TYPE_WEIGHTS",
10466
+ "Weights for each possible mission_reward_type, used for non-cafe missions.\nSeems identical to CAFE_MISSION_REWARD_TYPE_WEIGHTS.",
10467
+ "uint16_t[7]",
10468
+ )
10469
+
10470
+ MISSION_VALIDATION_FUNCTION_LIST = Symbol(
10471
+ None,
10472
+ None,
10473
+ None,
10474
+ "MISSION_VALIDATION_FUNCTION_LIST",
10475
+ "A list of functions used to validate missions of different types at 02060CEC [EU].",
10476
+ "undefined*[8]",
10441
10477
  )
10442
10478
 
10443
10479
  MISSION_BANNED_STORY_MONSTERS = Symbol(
@@ -10481,7 +10517,7 @@ class EuItcmArm9Data:
10481
10517
  None,
10482
10518
  None,
10483
10519
  "MISSION_STRING_IDS",
10484
- "Note: unverified, ported from Irdkwia's notes\n\ntype: int16_t[964]",
10520
+ "String IDs for mission title and summary flavor-text.\nUsed by GenerateMissionTitle and GenerateMissionSummary.\n\ntype: int16_t[964]",
10485
10521
  "int16_t[964]",
10486
10522
  )
10487
10523
 
@@ -10949,6 +10985,15 @@ class EuItcmArm9Data:
10949
10985
  "void*[26]",
10950
10986
  )
10951
10987
 
10988
+ MONSTER_DATA_TABLE_PTR = Symbol(
10989
+ None,
10990
+ None,
10991
+ None,
10992
+ "MONSTER_DATA_TABLE_PTR",
10993
+ "[Runtime] Points to data about monster species.",
10994
+ "undefined*",
10995
+ )
10996
+
10952
10997
  UNOWN_SPECIES_ADDITIONAL_CHAR_PTR_TABLE = Symbol(
10953
10998
  None,
10954
10999
  None,
@@ -30467,6 +30512,15 @@ class EuItcmOverlay29Data:
30467
30512
  "struct status_icon_flags[18]",
30468
30513
  )
30469
30514
 
30515
+ POSITION_DISPLACEMENT_TO_DIRECTION = Symbol(
30516
+ None,
30517
+ None,
30518
+ None,
30519
+ "POSITION_DISPLACEMENT_TO_DIRECTION",
30520
+ "An array mapping position displacements (y, then x) to directions. Used by GetDirectionTowardsPosition.\n\nGiven two positions, displacements are either 0, 1, or 2 depending on whether the second position's x/y coordinate is less than, equal, or greater\nthan the first position's corresponding coordinates. For example, POSITION_DISPLACEMENT_TO_DIRECTION[0][2] (DIR_UP_RIGHT)\nindicates that the second y coordinate is less than the first, and the second x coordinate is greater than the first.",
30521
+ "enum direction_id[3][3]",
30522
+ )
30523
+
30470
30524
  DIRECTIONS_XY = Symbol(
30471
30525
  None,
30472
30526
  None,
pmdsky_debug_py/jp.py CHANGED
@@ -8513,8 +8513,8 @@ class JpArm9Functions:
8513
8513
  )
8514
8514
 
8515
8515
  RevertGiratinaAndShaymin = Symbol(
8516
- None,
8517
- None,
8516
+ [0x58974],
8517
+ [0x2058974],
8518
8518
  None,
8519
8519
  "RevertGiratinaAndShaymin",
8520
8520
  "Reverts Giratina and Shaymin party members to their standard forms.\n\nr0: team member index in party\nr1: ?",
@@ -8953,12 +8953,21 @@ class JpArm9Functions:
8953
8953
  None,
8954
8954
  )
8955
8955
 
8956
+ GenerateMissionDetailsStruct = Symbol(
8957
+ None,
8958
+ None,
8959
+ None,
8960
+ "GenerateMissionDetailsStruct",
8961
+ "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: ?",
8962
+ None,
8963
+ )
8964
+
8956
8965
  ValidateNormalChallengeMission = Symbol(
8957
8966
  [0x60AF4],
8958
8967
  [0x2060AF4],
8959
8968
  None,
8960
8969
  "ValidateNormalChallengeMission",
8961
- "Validates a normal (non-legendary) challenge letter mission by checking whether its client (leader), target (second member), and outlaw_backup_species (third member) match those of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_rescue_bin struct pointer\nr1: mission struct pointer\nreturn: bool",
8970
+ "Validates a normal (non-legendary) challenge letter mission by checking whether its client (leader), target (second member), and outlaw_backup_species (third member) match those of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_template struct pointer\nr1: mission struct pointer\nreturn: bool",
8962
8971
  None,
8963
8972
  )
8964
8973
 
@@ -8967,7 +8976,25 @@ class JpArm9Functions:
8967
8976
  [0x2060BF4],
8968
8977
  None,
8969
8978
  "ValidateLegendaryChallengeMission",
8970
- "Validates a legendary challenge letter mission by checking whether its dungeon matches the restricted dungeon of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_rescue_bin struct pointer\nr1: mission struct pointer\nreturn: bool",
8979
+ "Validates a legendary challenge letter mission by checking whether its dungeon matches the restricted dungeon of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_template struct pointer\nr1: mission struct pointer\nreturn: bool",
8980
+ None,
8981
+ )
8982
+
8983
+ AppendMissionTitle = Symbol(
8984
+ None,
8985
+ None,
8986
+ None,
8987
+ "AppendMissionTitle",
8988
+ "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",
8989
+ None,
8990
+ )
8991
+
8992
+ AppendMissionSummary = Symbol(
8993
+ None,
8994
+ None,
8995
+ None,
8996
+ "AppendMissionSummary",
8997
+ "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",
8971
8998
  None,
8972
8999
  )
8973
9000
 
@@ -9008,8 +9035,8 @@ class JpArm9Functions:
9008
9035
  )
9009
9036
 
9010
9037
  IsMonsterIllegalForMissions = Symbol(
9011
- None,
9012
- None,
9038
+ [0x62E4C],
9039
+ [0x2062E4C],
9013
9040
  None,
9014
9041
  "IsMonsterIllegalForMissions",
9015
9042
  "Checks if the monster index is illegal to be used for any mission.\n\nIllegal indexes include Shaymin-Sky, Giratina-Origin, Purple Kecleon, Shiny Celebi, Primal Dialga, and all the unused Arceus forms.\n\nr0: Monster ID\nreturn: True if the specified monster is illegal for missions",
@@ -10468,31 +10495,40 @@ class JpArm9Data:
10468
10495
  "struct item_id_16[3]",
10469
10496
  )
10470
10497
 
10471
- ARM9_UNKNOWN_TABLE__NA_20A3CC8 = Symbol(
10498
+ CAFE_MISSION_REWARD_TYPE_WEIGHTS = Symbol(
10472
10499
  [0xA50AC],
10473
10500
  [0x20A50AC],
10474
- 0x1C,
10475
- "ARM9_UNKNOWN_TABLE__NA_20A3CC8",
10476
- "14*0x2\nLinked to ARM9_UNKNOWN_TABLE__NA_20A3CE4\n\nNote: unverified, ported from Irdkwia's notes",
10477
- "",
10501
+ 0xE,
10502
+ "CAFE_MISSION_REWARD_TYPE_WEIGHTS",
10503
+ "Weights for each possible mission_reward_type, used only by cafe mission generation.\nSeems identical to DEFAULT_MISSION_REWARD_TYPE_WEIGHTS.",
10504
+ "uint16_t[7]",
10505
+ )
10506
+
10507
+ OUTLAW_MISSION_REWARD_TYPE_WEIGHTS = Symbol(
10508
+ [0xA50BA],
10509
+ [0x20A50BA],
10510
+ 0xE,
10511
+ "OUTLAW_MISSION_REWARD_TYPE_WEIGHTS",
10512
+ "Weights for each possible mission_reward_type, exclusively for the ARREST_OUTLAW mission type.\nTakes priority over CAFE_MISSION_REWARD_TYPE_WEIGHTS and CAFE_MISSION_REWARD_TYPE_WEIGHTS.",
10513
+ "uint16_t[7]",
10478
10514
  )
10479
10515
 
10480
- ARM9_UNKNOWN_TABLE__NA_20A3CE4 = Symbol(
10516
+ DEFAULT_MISSION_REWARD_TYPE_WEIGHTS = Symbol(
10481
10517
  [0xA50C8],
10482
10518
  [0x20A50C8],
10483
- 0x10,
10484
- "ARM9_UNKNOWN_TABLE__NA_20A3CE4",
10485
- "8*0x2\n\nNote: unverified, ported from Irdkwia's notes",
10486
- "",
10519
+ 0xE,
10520
+ "DEFAULT_MISSION_REWARD_TYPE_WEIGHTS",
10521
+ "Weights for each possible mission_reward_type, used for non-cafe missions.\nSeems identical to CAFE_MISSION_REWARD_TYPE_WEIGHTS.",
10522
+ "uint16_t[7]",
10487
10523
  )
10488
10524
 
10489
- ARM9_UNKNOWN_FUNCTION_TABLE__NA_20A3CF4 = Symbol(
10525
+ MISSION_VALIDATION_FUNCTION_LIST = Symbol(
10490
10526
  [0xA50D8],
10491
10527
  [0x20A50D8],
10492
10528
  0x20,
10493
- "ARM9_UNKNOWN_FUNCTION_TABLE__NA_20A3CF4",
10494
- "Could be related to missions\n\nNote: unverified, ported from Irdkwia's notes",
10495
- "",
10529
+ "MISSION_VALIDATION_FUNCTION_LIST",
10530
+ "A list of functions used to validate missions of different types at 02060CEC [EU].",
10531
+ "undefined*[8]",
10496
10532
  )
10497
10533
 
10498
10534
  MISSION_BANNED_STORY_MONSTERS = Symbol(
@@ -10536,7 +10572,7 @@ class JpArm9Data:
10536
10572
  [0x20A5288],
10537
10573
  0x788,
10538
10574
  "MISSION_STRING_IDS",
10539
- "Note: unverified, ported from Irdkwia's notes\n\ntype: int16_t[964]",
10575
+ "String IDs for mission title and summary flavor-text.\nUsed by GenerateMissionTitle and GenerateMissionSummary.\n\ntype: int16_t[964]",
10540
10576
  "int16_t[964]",
10541
10577
  )
10542
10578
 
@@ -11010,6 +11046,15 @@ class JpArm9Data:
11010
11046
  "void*[26]",
11011
11047
  )
11012
11048
 
11049
+ MONSTER_DATA_TABLE_PTR = Symbol(
11050
+ [0xB2228],
11051
+ [0x20B2228],
11052
+ None,
11053
+ "MONSTER_DATA_TABLE_PTR",
11054
+ "[Runtime] Points to data about monster species.",
11055
+ "undefined*",
11056
+ )
11057
+
11013
11058
  UNOWN_SPECIES_ADDITIONAL_CHAR_PTR_TABLE = Symbol(
11014
11059
  [0xB224C],
11015
11060
  [0x20B224C],
@@ -16648,8 +16693,8 @@ class JpMove_effectsSection:
16648
16693
  class JpOverlay0Functions:
16649
16694
 
16650
16695
  SelectRandomBackground = Symbol(
16651
- None,
16652
- None,
16696
+ [0x1EA4],
16697
+ [0x22C00C4],
16653
16698
  None,
16654
16699
  "SelectRandomBackground",
16655
16700
  "Selects a random background from the BACK/s09p04-10a.bgp files to be used as the background for the top menu.\n \nNo params.",
@@ -23997,8 +24042,8 @@ class JpOverlay29Functions:
23997
24042
  )
23998
24043
 
23999
24044
  PlayQuestionMarkEffect = Symbol(
24000
- None,
24001
- None,
24045
+ [0x7B68],
24046
+ [0x22E5448],
24002
24047
  None,
24003
24048
  "PlayQuestionMarkEffect",
24004
24049
  "Plays the question mark effect (id = 0x144) on an entity.\n\nr0: entity pointer",
@@ -24006,8 +24051,8 @@ class JpOverlay29Functions:
24006
24051
  )
24007
24052
 
24008
24053
  PlayExclamationPointEffect = Symbol(
24009
- None,
24010
- None,
24054
+ [0x7BB4, 0x7C60, 0x912C],
24055
+ [0x22E5494, 0x22E5540, 0x22E6A0C],
24011
24056
  None,
24012
24057
  "PlayExclamationPointEffect",
24013
24058
  "Plays the exclamation point effect (id = 0x143) on an entity.\n\nr0: entity pointer",
@@ -24033,8 +24078,8 @@ class JpOverlay29Functions:
24033
24078
  )
24034
24079
 
24035
24080
  PlayEffectAnimationEntityStandard = Symbol(
24036
- None,
24037
- None,
24081
+ [0x8078],
24082
+ [0x22E5958],
24038
24083
  None,
24039
24084
  "PlayEffectAnimationEntityStandard",
24040
24085
  "Calls PlayEffectAnimationEntity with standard parameters used in various functions throughout the game.\n\nr0: entity pointer\nr1: effect id",
@@ -31038,6 +31083,15 @@ class JpOverlay29Data:
31038
31083
  "struct status_icon_flags[18]",
31039
31084
  )
31040
31085
 
31086
+ POSITION_DISPLACEMENT_TO_DIRECTION = Symbol(
31087
+ [0x74FA4],
31088
+ [0x2352884],
31089
+ 0x24,
31090
+ "POSITION_DISPLACEMENT_TO_DIRECTION",
31091
+ "An array mapping position displacements (y, then x) to directions. Used by GetDirectionTowardsPosition.\n\nGiven two positions, displacements are either 0, 1, or 2 depending on whether the second position's x/y coordinate is less than, equal, or greater\nthan the first position's corresponding coordinates. For example, POSITION_DISPLACEMENT_TO_DIRECTION[0][2] (DIR_UP_RIGHT)\nindicates that the second y coordinate is less than the first, and the second x coordinate is greater than the first.",
31092
+ "enum direction_id[3][3]",
31093
+ )
31094
+
31041
31095
  DIRECTIONS_XY = Symbol(
31042
31096
  [0x750BC],
31043
31097
  [0x235299C],
@@ -8907,12 +8907,21 @@ class JpItcmArm9Functions:
8907
8907
  None,
8908
8908
  )
8909
8909
 
8910
+ GenerateMissionDetailsStruct = Symbol(
8911
+ None,
8912
+ None,
8913
+ None,
8914
+ "GenerateMissionDetailsStruct",
8915
+ "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: ?",
8916
+ None,
8917
+ )
8918
+
8910
8919
  ValidateNormalChallengeMission = Symbol(
8911
8920
  None,
8912
8921
  None,
8913
8922
  None,
8914
8923
  "ValidateNormalChallengeMission",
8915
- "Validates a normal (non-legendary) challenge letter mission by checking whether its client (leader), target (second member), and outlaw_backup_species (third member) match those of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_rescue_bin struct pointer\nr1: mission struct pointer\nreturn: bool",
8924
+ "Validates a normal (non-legendary) challenge letter mission by checking whether its client (leader), target (second member), and outlaw_backup_species (third member) match those of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_template struct pointer\nr1: mission struct pointer\nreturn: bool",
8916
8925
  None,
8917
8926
  )
8918
8927
 
@@ -8921,7 +8930,25 @@ class JpItcmArm9Functions:
8921
8930
  None,
8922
8931
  None,
8923
8932
  "ValidateLegendaryChallengeMission",
8924
- "Validates a legendary challenge letter mission by checking whether its dungeon matches the restricted dungeon of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_rescue_bin struct pointer\nr1: mission struct pointer\nreturn: bool",
8933
+ "Validates a legendary challenge letter mission by checking whether its dungeon matches the restricted dungeon of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_template struct pointer\nr1: mission struct pointer\nreturn: bool",
8934
+ None,
8935
+ )
8936
+
8937
+ AppendMissionTitle = Symbol(
8938
+ None,
8939
+ None,
8940
+ None,
8941
+ "AppendMissionTitle",
8942
+ "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",
8943
+ None,
8944
+ )
8945
+
8946
+ AppendMissionSummary = Symbol(
8947
+ None,
8948
+ None,
8949
+ None,
8950
+ "AppendMissionSummary",
8951
+ "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",
8925
8952
  None,
8926
8953
  )
8927
8954
 
@@ -10413,31 +10440,40 @@ class JpItcmArm9Data:
10413
10440
  "struct item_id_16[3]",
10414
10441
  )
10415
10442
 
10416
- ARM9_UNKNOWN_TABLE__NA_20A3CC8 = Symbol(
10443
+ CAFE_MISSION_REWARD_TYPE_WEIGHTS = Symbol(
10417
10444
  None,
10418
10445
  None,
10419
10446
  None,
10420
- "ARM9_UNKNOWN_TABLE__NA_20A3CC8",
10421
- "14*0x2\nLinked to ARM9_UNKNOWN_TABLE__NA_20A3CE4\n\nNote: unverified, ported from Irdkwia's notes",
10422
- "",
10447
+ "CAFE_MISSION_REWARD_TYPE_WEIGHTS",
10448
+ "Weights for each possible mission_reward_type, used only by cafe mission generation.\nSeems identical to DEFAULT_MISSION_REWARD_TYPE_WEIGHTS.",
10449
+ "uint16_t[7]",
10423
10450
  )
10424
10451
 
10425
- ARM9_UNKNOWN_TABLE__NA_20A3CE4 = Symbol(
10452
+ OUTLAW_MISSION_REWARD_TYPE_WEIGHTS = Symbol(
10426
10453
  None,
10427
10454
  None,
10428
10455
  None,
10429
- "ARM9_UNKNOWN_TABLE__NA_20A3CE4",
10430
- "8*0x2\n\nNote: unverified, ported from Irdkwia's notes",
10431
- "",
10456
+ "OUTLAW_MISSION_REWARD_TYPE_WEIGHTS",
10457
+ "Weights for each possible mission_reward_type, exclusively for the ARREST_OUTLAW mission type.\nTakes priority over CAFE_MISSION_REWARD_TYPE_WEIGHTS and CAFE_MISSION_REWARD_TYPE_WEIGHTS.",
10458
+ "uint16_t[7]",
10432
10459
  )
10433
10460
 
10434
- ARM9_UNKNOWN_FUNCTION_TABLE__NA_20A3CF4 = Symbol(
10461
+ DEFAULT_MISSION_REWARD_TYPE_WEIGHTS = Symbol(
10435
10462
  None,
10436
10463
  None,
10437
10464
  None,
10438
- "ARM9_UNKNOWN_FUNCTION_TABLE__NA_20A3CF4",
10439
- "Could be related to missions\n\nNote: unverified, ported from Irdkwia's notes",
10440
- "",
10465
+ "DEFAULT_MISSION_REWARD_TYPE_WEIGHTS",
10466
+ "Weights for each possible mission_reward_type, used for non-cafe missions.\nSeems identical to CAFE_MISSION_REWARD_TYPE_WEIGHTS.",
10467
+ "uint16_t[7]",
10468
+ )
10469
+
10470
+ MISSION_VALIDATION_FUNCTION_LIST = Symbol(
10471
+ None,
10472
+ None,
10473
+ None,
10474
+ "MISSION_VALIDATION_FUNCTION_LIST",
10475
+ "A list of functions used to validate missions of different types at 02060CEC [EU].",
10476
+ "undefined*[8]",
10441
10477
  )
10442
10478
 
10443
10479
  MISSION_BANNED_STORY_MONSTERS = Symbol(
@@ -10481,7 +10517,7 @@ class JpItcmArm9Data:
10481
10517
  None,
10482
10518
  None,
10483
10519
  "MISSION_STRING_IDS",
10484
- "Note: unverified, ported from Irdkwia's notes\n\ntype: int16_t[964]",
10520
+ "String IDs for mission title and summary flavor-text.\nUsed by GenerateMissionTitle and GenerateMissionSummary.\n\ntype: int16_t[964]",
10485
10521
  "int16_t[964]",
10486
10522
  )
10487
10523
 
@@ -10949,6 +10985,15 @@ class JpItcmArm9Data:
10949
10985
  "void*[26]",
10950
10986
  )
10951
10987
 
10988
+ MONSTER_DATA_TABLE_PTR = Symbol(
10989
+ None,
10990
+ None,
10991
+ None,
10992
+ "MONSTER_DATA_TABLE_PTR",
10993
+ "[Runtime] Points to data about monster species.",
10994
+ "undefined*",
10995
+ )
10996
+
10952
10997
  UNOWN_SPECIES_ADDITIONAL_CHAR_PTR_TABLE = Symbol(
10953
10998
  None,
10954
10999
  None,
@@ -30467,6 +30512,15 @@ class JpItcmOverlay29Data:
30467
30512
  "struct status_icon_flags[18]",
30468
30513
  )
30469
30514
 
30515
+ POSITION_DISPLACEMENT_TO_DIRECTION = Symbol(
30516
+ None,
30517
+ None,
30518
+ None,
30519
+ "POSITION_DISPLACEMENT_TO_DIRECTION",
30520
+ "An array mapping position displacements (y, then x) to directions. Used by GetDirectionTowardsPosition.\n\nGiven two positions, displacements are either 0, 1, or 2 depending on whether the second position's x/y coordinate is less than, equal, or greater\nthan the first position's corresponding coordinates. For example, POSITION_DISPLACEMENT_TO_DIRECTION[0][2] (DIR_UP_RIGHT)\nindicates that the second y coordinate is less than the first, and the second x coordinate is greater than the first.",
30521
+ "enum direction_id[3][3]",
30522
+ )
30523
+
30470
30524
  DIRECTIONS_XY = Symbol(
30471
30525
  None,
30472
30526
  None,
pmdsky_debug_py/na.py CHANGED
@@ -8953,12 +8953,21 @@ class NaArm9Functions:
8953
8953
  None,
8954
8954
  )
8955
8955
 
8956
+ GenerateMissionDetailsStruct = Symbol(
8957
+ None,
8958
+ None,
8959
+ None,
8960
+ "GenerateMissionDetailsStruct",
8961
+ "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: ?",
8962
+ None,
8963
+ )
8964
+
8956
8965
  ValidateNormalChallengeMission = Symbol(
8957
8966
  [0x60804],
8958
8967
  [0x2060804],
8959
8968
  None,
8960
8969
  "ValidateNormalChallengeMission",
8961
- "Validates a normal (non-legendary) challenge letter mission by checking whether its client (leader), target (second member), and outlaw_backup_species (third member) match those of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_rescue_bin struct pointer\nr1: mission struct pointer\nreturn: bool",
8970
+ "Validates a normal (non-legendary) challenge letter mission by checking whether its client (leader), target (second member), and outlaw_backup_species (third member) match those of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_template struct pointer\nr1: mission struct pointer\nreturn: bool",
8962
8971
  None,
8963
8972
  )
8964
8973
 
@@ -8967,7 +8976,25 @@ class NaArm9Functions:
8967
8976
  [0x2060904],
8968
8977
  None,
8969
8978
  "ValidateLegendaryChallengeMission",
8970
- "Validates a legendary challenge letter mission by checking whether its dungeon matches the restricted dungeon of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_rescue_bin struct pointer\nr1: mission struct pointer\nreturn: bool",
8979
+ "Validates a legendary challenge letter mission by checking whether its dungeon matches the restricted dungeon of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_template struct pointer\nr1: mission struct pointer\nreturn: bool",
8980
+ None,
8981
+ )
8982
+
8983
+ AppendMissionTitle = Symbol(
8984
+ None,
8985
+ None,
8986
+ None,
8987
+ "AppendMissionTitle",
8988
+ "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",
8989
+ None,
8990
+ )
8991
+
8992
+ AppendMissionSummary = Symbol(
8993
+ None,
8994
+ None,
8995
+ None,
8996
+ "AppendMissionSummary",
8997
+ "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",
8971
8998
  None,
8972
8999
  )
8973
9000
 
@@ -9008,8 +9035,8 @@ class NaArm9Functions:
9008
9035
  )
9009
9036
 
9010
9037
  IsMonsterIllegalForMissions = Symbol(
9011
- None,
9012
- None,
9038
+ [0x62B64],
9039
+ [0x2062B64],
9013
9040
  None,
9014
9041
  "IsMonsterIllegalForMissions",
9015
9042
  "Checks if the monster index is illegal to be used for any mission.\n\nIllegal indexes include Shaymin-Sky, Giratina-Origin, Purple Kecleon, Shiny Celebi, Primal Dialga, and all the unused Arceus forms.\n\nr0: Monster ID\nreturn: True if the specified monster is illegal for missions",
@@ -10473,31 +10500,40 @@ class NaArm9Data:
10473
10500
  "struct item_id_16[3]",
10474
10501
  )
10475
10502
 
10476
- ARM9_UNKNOWN_TABLE__NA_20A3CC8 = Symbol(
10503
+ CAFE_MISSION_REWARD_TYPE_WEIGHTS = Symbol(
10477
10504
  [0xA3CC8],
10478
10505
  [0x20A3CC8],
10479
- 0x1C,
10480
- "ARM9_UNKNOWN_TABLE__NA_20A3CC8",
10481
- "14*0x2\nLinked to ARM9_UNKNOWN_TABLE__NA_20A3CE4\n\nNote: unverified, ported from Irdkwia's notes",
10482
- "",
10506
+ 0xE,
10507
+ "CAFE_MISSION_REWARD_TYPE_WEIGHTS",
10508
+ "Weights for each possible mission_reward_type, used only by cafe mission generation.\nSeems identical to DEFAULT_MISSION_REWARD_TYPE_WEIGHTS.",
10509
+ "uint16_t[7]",
10483
10510
  )
10484
10511
 
10485
- ARM9_UNKNOWN_TABLE__NA_20A3CE4 = Symbol(
10512
+ OUTLAW_MISSION_REWARD_TYPE_WEIGHTS = Symbol(
10513
+ [0xA3CD6],
10514
+ [0x20A3CD6],
10515
+ 0xE,
10516
+ "OUTLAW_MISSION_REWARD_TYPE_WEIGHTS",
10517
+ "Weights for each possible mission_reward_type, exclusively for the ARREST_OUTLAW mission type.\nTakes priority over CAFE_MISSION_REWARD_TYPE_WEIGHTS and CAFE_MISSION_REWARD_TYPE_WEIGHTS.",
10518
+ "uint16_t[7]",
10519
+ )
10520
+
10521
+ DEFAULT_MISSION_REWARD_TYPE_WEIGHTS = Symbol(
10486
10522
  [0xA3CE4],
10487
10523
  [0x20A3CE4],
10488
- 0x10,
10489
- "ARM9_UNKNOWN_TABLE__NA_20A3CE4",
10490
- "8*0x2\n\nNote: unverified, ported from Irdkwia's notes",
10491
- "",
10524
+ 0xE,
10525
+ "DEFAULT_MISSION_REWARD_TYPE_WEIGHTS",
10526
+ "Weights for each possible mission_reward_type, used for non-cafe missions.\nSeems identical to CAFE_MISSION_REWARD_TYPE_WEIGHTS.",
10527
+ "uint16_t[7]",
10492
10528
  )
10493
10529
 
10494
- ARM9_UNKNOWN_FUNCTION_TABLE__NA_20A3CF4 = Symbol(
10530
+ MISSION_VALIDATION_FUNCTION_LIST = Symbol(
10495
10531
  [0xA3CF4],
10496
10532
  [0x20A3CF4],
10497
10533
  0x20,
10498
- "ARM9_UNKNOWN_FUNCTION_TABLE__NA_20A3CF4",
10499
- "Could be related to missions\n\nNote: unverified, ported from Irdkwia's notes",
10500
- "",
10534
+ "MISSION_VALIDATION_FUNCTION_LIST",
10535
+ "A list of functions used to validate missions of different types at 02060CEC [EU].",
10536
+ "undefined*[8]",
10501
10537
  )
10502
10538
 
10503
10539
  MISSION_BANNED_STORY_MONSTERS = Symbol(
@@ -10541,7 +10577,7 @@ class NaArm9Data:
10541
10577
  [0x20A3EA4],
10542
10578
  0x788,
10543
10579
  "MISSION_STRING_IDS",
10544
- "Note: unverified, ported from Irdkwia's notes\n\ntype: int16_t[964]",
10580
+ "String IDs for mission title and summary flavor-text.\nUsed by GenerateMissionTitle and GenerateMissionSummary.\n\ntype: int16_t[964]",
10545
10581
  "int16_t[964]",
10546
10582
  )
10547
10583
 
@@ -11015,6 +11051,15 @@ class NaArm9Data:
11015
11051
  "void*[26]",
11016
11052
  )
11017
11053
 
11054
+ MONSTER_DATA_TABLE_PTR = Symbol(
11055
+ [0xB09B4],
11056
+ [0x20B09B4],
11057
+ None,
11058
+ "MONSTER_DATA_TABLE_PTR",
11059
+ "[Runtime] Points to data about monster species.",
11060
+ "undefined*",
11061
+ )
11062
+
11018
11063
  UNOWN_SPECIES_ADDITIONAL_CHAR_PTR_TABLE = Symbol(
11019
11064
  [0xB09D8],
11020
11065
  [0x20B09D8],
@@ -16653,8 +16698,8 @@ class NaMove_effectsSection:
16653
16698
  class NaOverlay0Functions:
16654
16699
 
16655
16700
  SelectRandomBackground = Symbol(
16656
- None,
16657
- None,
16701
+ [0x1E98],
16702
+ [0x22BE918],
16658
16703
  None,
16659
16704
  "SelectRandomBackground",
16660
16705
  "Selects a random background from the BACK/s09p04-10a.bgp files to be used as the background for the top menu.\n \nNo params.",
@@ -24004,8 +24049,8 @@ class NaOverlay29Functions:
24004
24049
  )
24005
24050
 
24006
24051
  PlayQuestionMarkEffect = Symbol(
24007
- None,
24008
- None,
24052
+ [0x7B98],
24053
+ [0x22E3DD8],
24009
24054
  None,
24010
24055
  "PlayQuestionMarkEffect",
24011
24056
  "Plays the question mark effect (id = 0x144) on an entity.\n\nr0: entity pointer",
@@ -24013,8 +24058,8 @@ class NaOverlay29Functions:
24013
24058
  )
24014
24059
 
24015
24060
  PlayExclamationPointEffect = Symbol(
24016
- None,
24017
- None,
24061
+ [0x7BE4, 0x7C90, 0x915C],
24062
+ [0x22E3E24, 0x22E3ED0, 0x22E539C],
24018
24063
  None,
24019
24064
  "PlayExclamationPointEffect",
24020
24065
  "Plays the exclamation point effect (id = 0x143) on an entity.\n\nr0: entity pointer",
@@ -24040,8 +24085,8 @@ class NaOverlay29Functions:
24040
24085
  )
24041
24086
 
24042
24087
  PlayEffectAnimationEntityStandard = Symbol(
24043
- None,
24044
- None,
24088
+ [0x80A8],
24089
+ [0x22E42E8],
24045
24090
  None,
24046
24091
  "PlayEffectAnimationEntityStandard",
24047
24092
  "Calls PlayEffectAnimationEntity with standard parameters used in various functions throughout the game.\n\nr0: entity pointer\nr1: effect id",
@@ -31143,6 +31188,15 @@ class NaOverlay29Data:
31143
31188
  "struct status_icon_flags[18]",
31144
31189
  )
31145
31190
 
31191
+ POSITION_DISPLACEMENT_TO_DIRECTION = Symbol(
31192
+ [0x753C4],
31193
+ [0x2351604],
31194
+ 0x24,
31195
+ "POSITION_DISPLACEMENT_TO_DIRECTION",
31196
+ "An array mapping position displacements (y, then x) to directions. Used by GetDirectionTowardsPosition.\n\nGiven two positions, displacements are either 0, 1, or 2 depending on whether the second position's x/y coordinate is less than, equal, or greater\nthan the first position's corresponding coordinates. For example, POSITION_DISPLACEMENT_TO_DIRECTION[0][2] (DIR_UP_RIGHT)\nindicates that the second y coordinate is less than the first, and the second x coordinate is greater than the first.",
31197
+ "enum direction_id[3][3]",
31198
+ )
31199
+
31146
31200
  DIRECTIONS_XY = Symbol(
31147
31201
  [0x754DC],
31148
31202
  [0x235171C],
@@ -8907,12 +8907,21 @@ class NaItcmArm9Functions:
8907
8907
  None,
8908
8908
  )
8909
8909
 
8910
+ GenerateMissionDetailsStruct = Symbol(
8911
+ None,
8912
+ None,
8913
+ None,
8914
+ "GenerateMissionDetailsStruct",
8915
+ "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: ?",
8916
+ None,
8917
+ )
8918
+
8910
8919
  ValidateNormalChallengeMission = Symbol(
8911
8920
  None,
8912
8921
  None,
8913
8922
  None,
8914
8923
  "ValidateNormalChallengeMission",
8915
- "Validates a normal (non-legendary) challenge letter mission by checking whether its client (leader), target (second member), and outlaw_backup_species (third member) match those of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_rescue_bin struct pointer\nr1: mission struct pointer\nreturn: bool",
8924
+ "Validates a normal (non-legendary) challenge letter mission by checking whether its client (leader), target (second member), and outlaw_backup_species (third member) match those of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_template struct pointer\nr1: mission struct pointer\nreturn: bool",
8916
8925
  None,
8917
8926
  )
8918
8927
 
@@ -8921,7 +8930,25 @@ class NaItcmArm9Functions:
8921
8930
  None,
8922
8931
  None,
8923
8932
  "ValidateLegendaryChallengeMission",
8924
- "Validates a legendary challenge letter mission by checking whether its dungeon matches the restricted dungeon of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_rescue_bin struct pointer\nr1: mission struct pointer\nreturn: bool",
8933
+ "Validates a legendary challenge letter mission by checking whether its dungeon matches the restricted dungeon of some mission_rescue_bin struct (alongside some other conditions).\n\nr0: mission_template struct pointer\nr1: mission struct pointer\nreturn: bool",
8934
+ None,
8935
+ )
8936
+
8937
+ AppendMissionTitle = Symbol(
8938
+ None,
8939
+ None,
8940
+ None,
8941
+ "AppendMissionTitle",
8942
+ "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",
8943
+ None,
8944
+ )
8945
+
8946
+ AppendMissionSummary = Symbol(
8947
+ None,
8948
+ None,
8949
+ None,
8950
+ "AppendMissionSummary",
8951
+ "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",
8925
8952
  None,
8926
8953
  )
8927
8954
 
@@ -10413,31 +10440,40 @@ class NaItcmArm9Data:
10413
10440
  "struct item_id_16[3]",
10414
10441
  )
10415
10442
 
10416
- ARM9_UNKNOWN_TABLE__NA_20A3CC8 = Symbol(
10443
+ CAFE_MISSION_REWARD_TYPE_WEIGHTS = Symbol(
10417
10444
  None,
10418
10445
  None,
10419
10446
  None,
10420
- "ARM9_UNKNOWN_TABLE__NA_20A3CC8",
10421
- "14*0x2\nLinked to ARM9_UNKNOWN_TABLE__NA_20A3CE4\n\nNote: unverified, ported from Irdkwia's notes",
10422
- "",
10447
+ "CAFE_MISSION_REWARD_TYPE_WEIGHTS",
10448
+ "Weights for each possible mission_reward_type, used only by cafe mission generation.\nSeems identical to DEFAULT_MISSION_REWARD_TYPE_WEIGHTS.",
10449
+ "uint16_t[7]",
10423
10450
  )
10424
10451
 
10425
- ARM9_UNKNOWN_TABLE__NA_20A3CE4 = Symbol(
10452
+ OUTLAW_MISSION_REWARD_TYPE_WEIGHTS = Symbol(
10426
10453
  None,
10427
10454
  None,
10428
10455
  None,
10429
- "ARM9_UNKNOWN_TABLE__NA_20A3CE4",
10430
- "8*0x2\n\nNote: unverified, ported from Irdkwia's notes",
10431
- "",
10456
+ "OUTLAW_MISSION_REWARD_TYPE_WEIGHTS",
10457
+ "Weights for each possible mission_reward_type, exclusively for the ARREST_OUTLAW mission type.\nTakes priority over CAFE_MISSION_REWARD_TYPE_WEIGHTS and CAFE_MISSION_REWARD_TYPE_WEIGHTS.",
10458
+ "uint16_t[7]",
10432
10459
  )
10433
10460
 
10434
- ARM9_UNKNOWN_FUNCTION_TABLE__NA_20A3CF4 = Symbol(
10461
+ DEFAULT_MISSION_REWARD_TYPE_WEIGHTS = Symbol(
10435
10462
  None,
10436
10463
  None,
10437
10464
  None,
10438
- "ARM9_UNKNOWN_FUNCTION_TABLE__NA_20A3CF4",
10439
- "Could be related to missions\n\nNote: unverified, ported from Irdkwia's notes",
10440
- "",
10465
+ "DEFAULT_MISSION_REWARD_TYPE_WEIGHTS",
10466
+ "Weights for each possible mission_reward_type, used for non-cafe missions.\nSeems identical to CAFE_MISSION_REWARD_TYPE_WEIGHTS.",
10467
+ "uint16_t[7]",
10468
+ )
10469
+
10470
+ MISSION_VALIDATION_FUNCTION_LIST = Symbol(
10471
+ None,
10472
+ None,
10473
+ None,
10474
+ "MISSION_VALIDATION_FUNCTION_LIST",
10475
+ "A list of functions used to validate missions of different types at 02060CEC [EU].",
10476
+ "undefined*[8]",
10441
10477
  )
10442
10478
 
10443
10479
  MISSION_BANNED_STORY_MONSTERS = Symbol(
@@ -10481,7 +10517,7 @@ class NaItcmArm9Data:
10481
10517
  None,
10482
10518
  None,
10483
10519
  "MISSION_STRING_IDS",
10484
- "Note: unverified, ported from Irdkwia's notes\n\ntype: int16_t[964]",
10520
+ "String IDs for mission title and summary flavor-text.\nUsed by GenerateMissionTitle and GenerateMissionSummary.\n\ntype: int16_t[964]",
10485
10521
  "int16_t[964]",
10486
10522
  )
10487
10523
 
@@ -10949,6 +10985,15 @@ class NaItcmArm9Data:
10949
10985
  "void*[26]",
10950
10986
  )
10951
10987
 
10988
+ MONSTER_DATA_TABLE_PTR = Symbol(
10989
+ None,
10990
+ None,
10991
+ None,
10992
+ "MONSTER_DATA_TABLE_PTR",
10993
+ "[Runtime] Points to data about monster species.",
10994
+ "undefined*",
10995
+ )
10996
+
10952
10997
  UNOWN_SPECIES_ADDITIONAL_CHAR_PTR_TABLE = Symbol(
10953
10998
  None,
10954
10999
  None,
@@ -30467,6 +30512,15 @@ class NaItcmOverlay29Data:
30467
30512
  "struct status_icon_flags[18]",
30468
30513
  )
30469
30514
 
30515
+ POSITION_DISPLACEMENT_TO_DIRECTION = Symbol(
30516
+ None,
30517
+ None,
30518
+ None,
30519
+ "POSITION_DISPLACEMENT_TO_DIRECTION",
30520
+ "An array mapping position displacements (y, then x) to directions. Used by GetDirectionTowardsPosition.\n\nGiven two positions, displacements are either 0, 1, or 2 depending on whether the second position's x/y coordinate is less than, equal, or greater\nthan the first position's corresponding coordinates. For example, POSITION_DISPLACEMENT_TO_DIRECTION[0][2] (DIR_UP_RIGHT)\nindicates that the second y coordinate is less than the first, and the second x coordinate is greater than the first.",
30521
+ "enum direction_id[3][3]",
30522
+ )
30523
+
30470
30524
  DIRECTIONS_XY = Symbol(
30471
30525
  None,
30472
30526
  None,
@@ -5017,6 +5017,11 @@ class Arm9FunctionsProtocol(Protocol):
5017
5017
  None,
5018
5018
  ]
5019
5019
 
5020
+ GenerateMissionDetailsStruct: Symbol[
5021
+ Optional[list[int]],
5022
+ None,
5023
+ ]
5024
+
5020
5025
  ValidateNormalChallengeMission: Symbol[
5021
5026
  Optional[list[int]],
5022
5027
  None,
@@ -5027,6 +5032,16 @@ class Arm9FunctionsProtocol(Protocol):
5027
5032
  None,
5028
5033
  ]
5029
5034
 
5035
+ AppendMissionTitle: Symbol[
5036
+ Optional[list[int]],
5037
+ None,
5038
+ ]
5039
+
5040
+ AppendMissionSummary: Symbol[
5041
+ Optional[list[int]],
5042
+ None,
5043
+ ]
5044
+
5030
5045
  IsMonsterMissionAllowed: Symbol[
5031
5046
  Optional[list[int]],
5032
5047
  None,
@@ -5865,17 +5880,22 @@ class Arm9DataProtocol(Protocol):
5865
5880
  Optional[int],
5866
5881
  ]
5867
5882
 
5868
- ARM9_UNKNOWN_TABLE__NA_20A3CC8: Symbol[
5883
+ CAFE_MISSION_REWARD_TYPE_WEIGHTS: Symbol[
5869
5884
  Optional[list[int]],
5870
5885
  Optional[int],
5871
5886
  ]
5872
5887
 
5873
- ARM9_UNKNOWN_TABLE__NA_20A3CE4: Symbol[
5888
+ OUTLAW_MISSION_REWARD_TYPE_WEIGHTS: Symbol[
5874
5889
  Optional[list[int]],
5875
5890
  Optional[int],
5876
5891
  ]
5877
5892
 
5878
- ARM9_UNKNOWN_FUNCTION_TABLE__NA_20A3CF4: Symbol[
5893
+ DEFAULT_MISSION_REWARD_TYPE_WEIGHTS: Symbol[
5894
+ Optional[list[int]],
5895
+ Optional[int],
5896
+ ]
5897
+
5898
+ MISSION_VALIDATION_FUNCTION_LIST: Symbol[
5879
5899
  Optional[list[int]],
5880
5900
  Optional[int],
5881
5901
  ]
@@ -6180,6 +6200,11 @@ class Arm9DataProtocol(Protocol):
6180
6200
  Optional[int],
6181
6201
  ]
6182
6202
 
6203
+ MONSTER_DATA_TABLE_PTR: Symbol[
6204
+ Optional[list[int]],
6205
+ None,
6206
+ ]
6207
+
6183
6208
  UNOWN_SPECIES_ADDITIONAL_CHAR_PTR_TABLE: Symbol[
6184
6209
  Optional[list[int]],
6185
6210
  Optional[int],
@@ -18366,6 +18391,11 @@ class Overlay29DataProtocol(Protocol):
18366
18391
  Optional[int],
18367
18392
  ]
18368
18393
 
18394
+ POSITION_DISPLACEMENT_TO_DIRECTION: Symbol[
18395
+ Optional[list[int]],
18396
+ Optional[int],
18397
+ ]
18398
+
18369
18399
  DIRECTIONS_XY: Symbol[
18370
18400
  Optional[list[int]],
18371
18401
  Optional[int],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pmdsky-debug-py
3
- Version: 10.1.9
3
+ Version: 10.1.11
4
4
  Summary: pmdsky-debug symbols for Python.
5
5
  Author-email: Marco 'Capypara' Köpcke <hello@capypara.de>
6
6
  License: MIT
@@ -0,0 +1,14 @@
1
+ pmdsky_debug_py/__init__.py,sha256=xvXjdxEqeoQaaS6ssZYVI9jARzv5M4q6FNwA3Z6fOw4,1831
2
+ pmdsky_debug_py/_release.py,sha256=dkJVSmdwhPvL2-FCoGdRfUOFXF5Vq0-BgHJY_0J9UCs,31
3
+ pmdsky_debug_py/eu.py,sha256=T8EtqwACVwjC4ypr0F3COXjeFanRLFCjp5KVqHmW7jw,1167969
4
+ pmdsky_debug_py/eu_itcm.py,sha256=EtTkmYfEqfNkmKmfmJPuvjDXe4xctGCoWe39EOlQUaQ,1115848
5
+ pmdsky_debug_py/jp.py,sha256=NTxbh53kAWjNRomXoYPyk63uiAlZ62Q78-wBJayJ0qw,1164651
6
+ pmdsky_debug_py/jp_itcm.py,sha256=0DmFnqMeCtPi-52M_-0hrm41rMnzf4MFsU80SR4N1wo,1115838
7
+ pmdsky_debug_py/na.py,sha256=ZfcxI28-kC643sEM9OdUmmprocsYGONBdTQcfBsqshw,1168890
8
+ pmdsky_debug_py/na_itcm.py,sha256=wzvFZ2jpS5ge6LRjcqC8QwVb4KvlywciW4zANr31GSw,1115848
9
+ pmdsky_debug_py/protocol.py,sha256=6l2QeuFcnxV-j9d_8fO3k3_xP_cCaySE6uqM5_5HGTI,341926
10
+ pmdsky_debug_py/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
+ pmdsky_debug_py-10.1.11.dist-info/METADATA,sha256=3Wp5bzAraZKXjd0ffVkoWzf7vKAUn7PpSmp1vx15lFc,1376
12
+ pmdsky_debug_py-10.1.11.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
+ pmdsky_debug_py-10.1.11.dist-info/top_level.txt,sha256=cqvpcJbud2s8IyBAc1MfCySwniko_6qO5LWSSxNIoXI,16
14
+ pmdsky_debug_py-10.1.11.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.7.1)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,14 +0,0 @@
1
- pmdsky_debug_py/__init__.py,sha256=xvXjdxEqeoQaaS6ssZYVI9jARzv5M4q6FNwA3Z6fOw4,1831
2
- pmdsky_debug_py/_release.py,sha256=OWdUORvl4FpPaJ9Lqv-CM2RIsfhxMtSxz71VdeUcH2o,31
3
- pmdsky_debug_py/eu.py,sha256=S25ffxcCy3fuILPD544_7vthxPeg-w8RTdjopCpT_VQ,1165201
4
- pmdsky_debug_py/eu_itcm.py,sha256=GlU9CfL368rJdujcaKofIb7Ir_mA9odlHlxbwJp8_co,1113149
5
- pmdsky_debug_py/jp.py,sha256=43vMrCdQYYOOEaCJu5IXJpx7VZudm4jSjNDJfuLvUiA,1161813
6
- pmdsky_debug_py/jp_itcm.py,sha256=7I_HzAFVHFbz-jpKUISs495YMkpTPTTaM2S7p3-lqMg,1113139
7
- pmdsky_debug_py/na.py,sha256=KFiD2HRQBGJAmax1aZ5ci7d54izBvEMSun1GTCmL2u8,1166064
8
- pmdsky_debug_py/na_itcm.py,sha256=yBeM6PkuQaOqyKjv44z2jv7NUp8YW97fwEvwuptWDUI,1113149
9
- pmdsky_debug_py/protocol.py,sha256=GF2pydxF0NiSoCeHKjCAzJNyGZIRSwRlCThhbulfmZI,341368
10
- pmdsky_debug_py/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- pmdsky_debug_py-10.1.9.dist-info/METADATA,sha256=Cr032wreriDkZHTP_C6L_YgFXW9ew-ygjcPBXHoIlA8,1375
12
- pmdsky_debug_py-10.1.9.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
13
- pmdsky_debug_py-10.1.9.dist-info/top_level.txt,sha256=cqvpcJbud2s8IyBAc1MfCySwniko_6qO5LWSSxNIoXI,16
14
- pmdsky_debug_py-10.1.9.dist-info/RECORD,,