pmdsky-debug-py 10.2.19__py3-none-any.whl → 10.2.22__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.
@@ -6401,7 +6401,70 @@ class JpItcmArm9Functions:
6401
6401
  None,
6402
6402
  None,
6403
6403
  "CalcScriptVariables",
6404
- "Performs a calculation on two loaded script variables.\n\nr0: script variable 1\nr1: script variable 2\nr2: calculation to perform on the script variables\nreturn: calculation result",
6404
+ "Performs a calculation on two loaded script variables.\n\nr0: script variable value 1\nr1: script variable value 2\nr2: calculation to perform on the script variables\nreturn: calculation result",
6405
+ None,
6406
+ )
6407
+
6408
+ CompareScriptVariables = Symbol(
6409
+ None,
6410
+ None,
6411
+ None,
6412
+ "CompareScriptVariables",
6413
+ "Compares two loaded script variables and returns the comparison result.\n\nr0: script variable value 1\nr1: script variable value 2\nr2: comparison to perform on the script variables\nreturn: comparison result",
6414
+ None,
6415
+ )
6416
+
6417
+ CalcScriptVariablesVeneer = Symbol(
6418
+ None,
6419
+ None,
6420
+ None,
6421
+ "CalcScriptVariablesVeneer",
6422
+ "Likely a linker-generated veneer for CalcScriptVariables.\n\nSee https://developer.arm.com/documentation/dui0474/k/image-structure-and-generation/linker-generated-veneers/what-is-a-veneer-\n\nr0: script variable value 1\nr1: script variable value 2\nr2: calculation to perform on the script variables\nreturn: calculation result",
6423
+ None,
6424
+ )
6425
+
6426
+ CalcAndUpdateScriptVarWithOtherValue = Symbol(
6427
+ None,
6428
+ None,
6429
+ None,
6430
+ "CalcAndUpdateScriptVarWithOtherValue",
6431
+ "Runs a calculation on a script variable, then sets the script variable to the calculation result.\n\nr0: pointer to the local variable table\nr1: script variable ID\nr2: other value to use in the calculation\nr3: calculation to perform on the script variables",
6432
+ None,
6433
+ )
6434
+
6435
+ CalcAndUpdateScriptVarWithOtherScriptVar = Symbol(
6436
+ None,
6437
+ None,
6438
+ None,
6439
+ "CalcAndUpdateScriptVarWithOtherScriptVar",
6440
+ "Runs a calculation on a script variable, then sets the script variable to the calculation result.\n\nr0: pointer to the local variable table\nr1: script variable ID\nr2: other script variable to use in the calculation\nr3: calculation to perform on the script variables",
6441
+ None,
6442
+ )
6443
+
6444
+ CompareScriptVariablesVeneer = Symbol(
6445
+ None,
6446
+ None,
6447
+ None,
6448
+ "CompareScriptVariablesVeneer",
6449
+ "Likely a linker-generated veneer for CompareScriptVariables.\n\nSee https://developer.arm.com/documentation/dui0474/k/image-structure-and-generation/linker-generated-veneers/what-is-a-veneer-\n\nr0: script variable value 1\nr1: script variable value 2\nr2: comparison to perform on the script variables\nreturn: comparison result",
6450
+ None,
6451
+ )
6452
+
6453
+ LoadAndCompareScriptVarAndValue = Symbol(
6454
+ None,
6455
+ None,
6456
+ None,
6457
+ "LoadAndCompareScriptVarAndValue",
6458
+ "Runs a comparison on a script variable and another value, then returns the comparison result.\n\nr0: pointer to the local variable table\nr1: script variable ID\nr2: other script variable to use in the comparison\nr3: comparison to perform on the script variables\nreturn: comparison result",
6459
+ None,
6460
+ )
6461
+
6462
+ LoadAndCompareScriptVars = Symbol(
6463
+ None,
6464
+ None,
6465
+ None,
6466
+ "LoadAndCompareScriptVars",
6467
+ "Runs a comparison on two script variables, then returns the comparison result.\n\nr0: pointer to the local variable table\nr1: script variable ID\nr2: other script variable to use in the comparison\nr3: comparison to perform on the script variables\nreturn: comparison result",
6405
6468
  None,
6406
6469
  )
6407
6470
 
@@ -6450,6 +6513,15 @@ class JpItcmArm9Functions:
6450
6513
  None,
6451
6514
  )
6452
6515
 
6516
+ LoadScriptVarValuePair = Symbol(
6517
+ None,
6518
+ None,
6519
+ None,
6520
+ "LoadScriptVarValuePair",
6521
+ "Loads values [val0, val1] from a script variable.\n\nr0: script variable ID\nr1: Pointer to store index 0 of the script variable.\nr2: Pointer to store index 1 of the script variable.",
6522
+ None,
6523
+ )
6524
+
6453
6525
  SetScenarioScriptVar = Symbol(
6454
6526
  None,
6455
6527
  None,
@@ -6459,6 +6531,51 @@ class JpItcmArm9Functions:
6459
6531
  None,
6460
6532
  )
6461
6533
 
6534
+ IsStoryBeforePoint = Symbol(
6535
+ None,
6536
+ None,
6537
+ None,
6538
+ "IsStoryBeforePoint",
6539
+ "Checks if the current story progress is before a certain point in the story.\n\nr0: script variable ID\nr1: story chapter to compare to\nr2: story chapter subsection to compare to\nreturn: whether the story progress is before the given chapter and subsection.",
6540
+ None,
6541
+ )
6542
+
6543
+ IsStoryBeforeOrAtPoint = Symbol(
6544
+ None,
6545
+ None,
6546
+ None,
6547
+ "IsStoryBeforeOrAtPoint",
6548
+ "Checks if the current story progress is before or at a certain point in the story.\n\nr0: script variable ID\nr1: story chapter to compare to\nr2: story chapter subsection to compare to\nreturn: whether the story progress is before or at the given chapter and subsection.",
6549
+ None,
6550
+ )
6551
+
6552
+ IsStoryAtPoint = Symbol(
6553
+ None,
6554
+ None,
6555
+ None,
6556
+ "IsStoryAtPoint",
6557
+ "Checks if the current story progress is at a certain point in the story.\n\nr0: script variable ID\nr1: story chapter to compare to\nr2: story chapter subsection to compare to\nreturn: whether the story progress is at the given chapter and subsection.",
6558
+ None,
6559
+ )
6560
+
6561
+ IsStoryAtOrAfterPoint = Symbol(
6562
+ None,
6563
+ None,
6564
+ None,
6565
+ "IsStoryAtOrAfterPoint",
6566
+ "Checks if the current story progress is at or after a certain point in the story.\n\nr0: script variable ID\nr1: story chapter to compare to\nr2: story chapter subsection to compare to\nreturn: whether the story progress is at or after the given chapter and subsection.",
6567
+ None,
6568
+ )
6569
+
6570
+ IsStoryAfterPoint = Symbol(
6571
+ None,
6572
+ None,
6573
+ None,
6574
+ "IsStoryAfterPoint",
6575
+ "Checks if the current story progress is after a certain point in the story.\n\nr0: script variable ID\nr1: story chapter to compare to\nr2: story chapter subsection to compare to\nreturn: whether the story progress is after the given chapter and subsection.",
6576
+ None,
6577
+ )
6578
+
6462
6579
  GetSpecialEpisodeType = Symbol(
6463
6580
  None,
6464
6581
  None,
@@ -6477,6 +6594,24 @@ class JpItcmArm9Functions:
6477
6594
  None,
6478
6595
  )
6479
6596
 
6597
+ GetDebugSpecialEpisodeNumber = Symbol(
6598
+ None,
6599
+ None,
6600
+ None,
6601
+ "GetDebugSpecialEpisodeNumber",
6602
+ "Gets the value of DEBUG_SPECIAL_EPISODE_NUMBER.\n\nreturn: value of DEBUG_SPECIAL_EPISODE_NUMBER",
6603
+ None,
6604
+ )
6605
+
6606
+ SetDebugSpecialEpisodeNumber = Symbol(
6607
+ None,
6608
+ None,
6609
+ None,
6610
+ "SetDebugSpecialEpisodeNumber",
6611
+ "Sets the value of DEBUG_SPECIAL_EPISODE_NUMBER.\n\nr0: new value of DEBUG_SPECIAL_EPISODE_NUMBER",
6612
+ None,
6613
+ )
6614
+
6480
6615
  GetExecuteSpecialEpisodeType = Symbol(
6481
6616
  None,
6482
6617
  None,
@@ -6495,6 +6630,60 @@ class JpItcmArm9Functions:
6495
6630
  None,
6496
6631
  )
6497
6632
 
6633
+ SetSpecialEpisodeOpen = Symbol(
6634
+ None,
6635
+ None,
6636
+ None,
6637
+ "SetSpecialEpisodeOpen",
6638
+ "Sets the value of the script variable SPECIAL_EPISODE_OPEN, which indicates if a special episode is unlocked.\n\nr0: special episode type\nr1: new SPECIAL_EPISODE_OPEN value",
6639
+ None,
6640
+ )
6641
+
6642
+ IsSpecialEpisodeOpenMismatch = Symbol(
6643
+ None,
6644
+ None,
6645
+ None,
6646
+ "IsSpecialEpisodeOpenMismatch",
6647
+ "Checks if there is a mismatch between the values of the script variables SPECIAL_EPISODE_OPEN and VAR_SPECIAL_EPISODE_OPEN_OLD.\nThis checks for all special episodes at once.\n\nreturn: bool",
6648
+ None,
6649
+ )
6650
+
6651
+ IsSpecialEpisodeOpenOld = Symbol(
6652
+ None,
6653
+ None,
6654
+ None,
6655
+ "IsSpecialEpisodeOpenOld",
6656
+ "Checks if the SPECIAL_EPISODE_OPEN_OLD script variable is set to true.\n\nr0: special episode type\nreturn: bool",
6657
+ None,
6658
+ )
6659
+
6660
+ SetSpecialEpisodeOpenOld = Symbol(
6661
+ None,
6662
+ None,
6663
+ None,
6664
+ "SetSpecialEpisodeOpenOld",
6665
+ "Sets the value of the script variable SPECIAL_EPISODE_OPEN_OLD.\n\nr0: special episode type\nr1: new SPECIAL_EPISODE_OPEN_OLD value",
6666
+ None,
6667
+ )
6668
+
6669
+ IsSpecialEpisodeBeaten = Symbol(
6670
+ None,
6671
+ None,
6672
+ None,
6673
+ "IsSpecialEpisodeBeaten",
6674
+ "Checks if a special episode is beaten from the SPECIAL_EPISODE_CONQUEST script variable.\n\nr0: special episode type\nreturn: bool",
6675
+ None,
6676
+ )
6677
+
6678
+ SetSpecialEpisodeBeaten = Symbol(
6679
+ None,
6680
+ None,
6681
+ None,
6682
+ "SetSpecialEpisodeBeaten",
6683
+ "Sets the value of the script variable SPECIAL_EPISODE_CONQUEST, which indicates if a special episode is beaten.\n\nr0: special episode type\nr1: new SPECIAL_EPISODE_CONQUEST value",
6684
+ None,
6685
+ )
6686
+
6498
6687
  HasPlayedOldGame = Symbol(
6499
6688
  None,
6500
6689
  None,
@@ -6513,6 +6702,15 @@ class JpItcmArm9Functions:
6513
6702
  None,
6514
6703
  )
6515
6704
 
6705
+ SetPerformanceFlagWithChecks = Symbol(
6706
+ None,
6707
+ None,
6708
+ None,
6709
+ "SetPerformanceFlagWithChecks",
6710
+ "Sets the value of one of the flags in VAR_PERFORMANCE_PROGRESS_LIST, with some edge cases.\n\nList of cases where the function behaves differently:\n- If the requested flag is 0, sets the flag to false if the new value is 0, and true otherwise\n- If the requested flag is 7 and GAME_MODE == GAME_MODE_SPECIAL_EPISODE, the flag is not set\n\nr0: ID of the flag to get\nr1: Value to set the flag to.",
6711
+ None,
6712
+ )
6713
+
6516
6714
  GetScenarioBalance = Symbol(
6517
6715
  None,
6518
6716
  None,
@@ -9525,6 +9723,22 @@ class JpItcmArm9Functions:
9525
9723
 
9526
9724
  IsMoveRangeString19 = _Deprecated("IsMoveRangeString19", IsMoveRangeStringUser)
9527
9725
 
9726
+ InitScenarioProgressScriptVars = _Deprecated(
9727
+ "InitScenarioProgressScriptVars", InitScenarioScriptVars
9728
+ )
9729
+
9730
+ SetScenarioProgressScriptVar = _Deprecated(
9731
+ "SetScenarioProgressScriptVar", SetScenarioScriptVar
9732
+ )
9733
+
9734
+ GetResolvedPerformanceProgressFlag = _Deprecated(
9735
+ "GetResolvedPerformanceProgressFlag", GetPerformanceFlagWithChecks
9736
+ )
9737
+
9738
+ SetResolvedPerformanceProgressFlag = _Deprecated(
9739
+ "SetResolvedPerformanceProgressFlag", SetPerformanceFlagWithChecks
9740
+ )
9741
+
9528
9742
  GetLowKickMultiplier = _Deprecated("GetLowKickMultiplier", GetWeightMultiplier)
9529
9743
 
9530
9744
  GetActorMatchingStorageId = _Deprecated(
@@ -10039,15 +10253,33 @@ class JpItcmArm9Data:
10039
10253
  "struct partner_talk_kind_table_entry[11]",
10040
10254
  )
10041
10255
 
10042
- EVENT_FLAG_PROG_POS_INFO = Symbol(
10256
+ EVENT_FLAG_PROG_POS_INFO_CALC_SCRIPT_VARIABLES = Symbol(
10043
10257
  None,
10044
10258
  None,
10045
10259
  None,
10046
- "EVENT_FLAG_PROG_POS_INFO",
10260
+ "EVENT_FLAG_PROG_POS_INFO_CALC_SCRIPT_VARIABLES",
10047
10261
  "Debug information used to log an error with an unrecognized operation in CalcScriptVariables.",
10048
10262
  "struct prog_pos_info",
10049
10263
  )
10050
10264
 
10265
+ EVENT_FLAG_PROG_POS_INFO_COMPARE_SCRIPT_VARIABLES = Symbol(
10266
+ None,
10267
+ None,
10268
+ None,
10269
+ "EVENT_FLAG_PROG_POS_INFO_COMPARE_SCRIPT_VARIABLES",
10270
+ "Debug information used to log an error with an unrecognized operation in CompareScriptVariables.",
10271
+ "struct prog_pos_info",
10272
+ )
10273
+
10274
+ EVENT_FLAG_FILE_NAME = Symbol(
10275
+ None,
10276
+ None,
10277
+ None,
10278
+ "EVENT_FLAG_FILE_NAME",
10279
+ "The file name 'event_flag.c', used for debug logging.",
10280
+ "",
10281
+ )
10282
+
10051
10283
  SCRIPT_VARS_LOCALS = Symbol(
10052
10284
  None,
10053
10285
  None,
@@ -10057,15 +10289,42 @@ class JpItcmArm9Data:
10057
10289
  "struct script_local_var_table",
10058
10290
  )
10059
10291
 
10060
- EVENT_FLAG_EXPANSION_ERROR = Symbol(
10292
+ EVENT_FLAG_CALC_SCRIPT_VARIABLES_ERROR = Symbol(
10061
10293
  None,
10062
10294
  None,
10063
10295
  None,
10064
- "EVENT_FLAG_EXPANSION_ERROR",
10296
+ "EVENT_FLAG_CALC_SCRIPT_VARIABLES_ERROR",
10065
10297
  "Error log message for an unrecognized operation in CalcScriptVariables.",
10066
10298
  "",
10067
10299
  )
10068
10300
 
10301
+ EVENT_FLAG_COMPARE_SCRIPT_VARIABLES_ERROR = Symbol(
10302
+ None,
10303
+ None,
10304
+ None,
10305
+ "EVENT_FLAG_COMPARE_SCRIPT_VARIABLES_ERROR",
10306
+ "Error log message for an unrecognized operation in CompareScriptVariables.",
10307
+ "",
10308
+ )
10309
+
10310
+ EVENT_FLAG_GAME_MODE_DEBUG_MSG = Symbol(
10311
+ None,
10312
+ None,
10313
+ None,
10314
+ "EVENT_FLAG_GAME_MODE_DEBUG_MSG",
10315
+ "Debug log message when EventFlagResume runs.",
10316
+ "",
10317
+ )
10318
+
10319
+ EVENT_FLAG_BACKUP_DEBUG_MSG = Symbol(
10320
+ None,
10321
+ None,
10322
+ None,
10323
+ "EVENT_FLAG_BACKUP_DEBUG_MSG",
10324
+ "Debug log message when EventFlagBackup runs.",
10325
+ "",
10326
+ )
10327
+
10069
10328
  SCRIPT_VARS = Symbol(
10070
10329
  None,
10071
10330
  None,
@@ -10075,6 +10334,15 @@ class JpItcmArm9Data:
10075
10334
  "struct script_var_table",
10076
10335
  )
10077
10336
 
10337
+ SCENARIO_CALC_DEBUG_MSG = Symbol(
10338
+ None,
10339
+ None,
10340
+ None,
10341
+ "SCENARIO_CALC_DEBUG_MSG",
10342
+ "Debug log message with the old and new scenario values when SetScenarioScriptVar runs.",
10343
+ "",
10344
+ )
10345
+
10078
10346
  PORTRAIT_LAYOUTS = Symbol(
10079
10347
  None,
10080
10348
  None,
@@ -11559,6 +11827,14 @@ class JpItcmArm9Data:
11559
11827
  "EXCLUSIVE_ITEM_ATTACK_BOOSTS", EXCLUSIVE_ITEM_STAT_BOOST_DATA
11560
11828
  )
11561
11829
 
11830
+ EVENT_FLAG_PROG_POS_INFO = _Deprecated(
11831
+ "EVENT_FLAG_PROG_POS_INFO", EVENT_FLAG_PROG_POS_INFO_CALC_SCRIPT_VARIABLES
11832
+ )
11833
+
11834
+ EVENT_FLAG_EXPANSION_ERROR = _Deprecated(
11835
+ "EVENT_FLAG_EXPANSION_ERROR", EVENT_FLAG_CALC_SCRIPT_VARIABLES_ERROR
11836
+ )
11837
+
11562
11838
  DIRECTORY_FILES_EXTRACTED = _Deprecated(
11563
11839
  "DIRECTORY_FILES_EXTRACTED", PACK_FILES_OPENED
11564
11840
  )
@@ -34426,6 +34702,15 @@ class JpItcmRamData:
34426
34702
  "struct move",
34427
34703
  )
34428
34704
 
34705
+ OPTIONS = Symbol(
34706
+ None,
34707
+ None,
34708
+ None,
34709
+ "OPTIONS",
34710
+ "The game's options as controlled by the player through the Others -> Options menu\n\nThe option for 'Grids On/Off' is not stored here.\n\ntype: struct options",
34711
+ "struct options",
34712
+ )
34713
+
34429
34714
  SCRIPT_VARS_VALUES = Symbol(
34430
34715
  None,
34431
34716
  None,