pmdsky-debug-py 10.2.20__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.
@@ -1 +1 @@
1
- RELEASE = "v0.10.2+0d42a2916f"
1
+ RELEASE = "v0.10.2+e4695b73b7"
pmdsky_debug_py/eu.py CHANGED
@@ -6559,6 +6559,15 @@ class EuArm9Functions:
6559
6559
  None,
6560
6560
  )
6561
6561
 
6562
+ LoadScriptVarValuePair = Symbol(
6563
+ [0x4C914],
6564
+ [0x204C914],
6565
+ None,
6566
+ "LoadScriptVarValuePair",
6567
+ "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.",
6568
+ None,
6569
+ )
6570
+
6562
6571
  SetScenarioScriptVar = Symbol(
6563
6572
  [0x4C950],
6564
6573
  [0x204C950],
@@ -6568,6 +6577,51 @@ class EuArm9Functions:
6568
6577
  None,
6569
6578
  )
6570
6579
 
6580
+ IsStoryBeforePoint = Symbol(
6581
+ [0x4CA00],
6582
+ [0x204CA00],
6583
+ None,
6584
+ "IsStoryBeforePoint",
6585
+ "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.",
6586
+ None,
6587
+ )
6588
+
6589
+ IsStoryBeforeOrAtPoint = Symbol(
6590
+ [0x4CA6C],
6591
+ [0x204CA6C],
6592
+ None,
6593
+ "IsStoryBeforeOrAtPoint",
6594
+ "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.",
6595
+ None,
6596
+ )
6597
+
6598
+ IsStoryAtPoint = Symbol(
6599
+ [0x4CAE4],
6600
+ [0x204CAE4],
6601
+ None,
6602
+ "IsStoryAtPoint",
6603
+ "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.",
6604
+ None,
6605
+ )
6606
+
6607
+ IsStoryAtOrAfterPoint = Symbol(
6608
+ [0x4CB40],
6609
+ [0x204CB40],
6610
+ None,
6611
+ "IsStoryAtOrAfterPoint",
6612
+ "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.",
6613
+ None,
6614
+ )
6615
+
6616
+ IsStoryAfterPoint = Symbol(
6617
+ [0x4CBB8],
6618
+ [0x204CBB8],
6619
+ None,
6620
+ "IsStoryAfterPoint",
6621
+ "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.",
6622
+ None,
6623
+ )
6624
+
6571
6625
  GetSpecialEpisodeType = Symbol(
6572
6626
  [0x4CC24],
6573
6627
  [0x204CC24],
@@ -6586,6 +6640,24 @@ class EuArm9Functions:
6586
6640
  None,
6587
6641
  )
6588
6642
 
6643
+ GetDebugSpecialEpisodeNumber = Symbol(
6644
+ [0x4CC50],
6645
+ [0x204CC50],
6646
+ None,
6647
+ "GetDebugSpecialEpisodeNumber",
6648
+ "Gets the value of DEBUG_SPECIAL_EPISODE_NUMBER.\n\nreturn: value of DEBUG_SPECIAL_EPISODE_NUMBER",
6649
+ None,
6650
+ )
6651
+
6652
+ SetDebugSpecialEpisodeNumber = Symbol(
6653
+ [0x4CC60],
6654
+ [0x204CC60],
6655
+ None,
6656
+ "SetDebugSpecialEpisodeNumber",
6657
+ "Sets the value of DEBUG_SPECIAL_EPISODE_NUMBER.\n\nr0: new value of DEBUG_SPECIAL_EPISODE_NUMBER",
6658
+ None,
6659
+ )
6660
+
6589
6661
  GetExecuteSpecialEpisodeType = Symbol(
6590
6662
  [0x4CC70],
6591
6663
  [0x204CC70],
@@ -6604,6 +6676,60 @@ class EuArm9Functions:
6604
6676
  None,
6605
6677
  )
6606
6678
 
6679
+ SetSpecialEpisodeOpen = Symbol(
6680
+ [0x4CCB0],
6681
+ [0x204CCB0],
6682
+ None,
6683
+ "SetSpecialEpisodeOpen",
6684
+ "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",
6685
+ None,
6686
+ )
6687
+
6688
+ IsSpecialEpisodeOpenMismatch = Symbol(
6689
+ [0x4CCD8],
6690
+ [0x204CCD8],
6691
+ None,
6692
+ "IsSpecialEpisodeOpenMismatch",
6693
+ "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",
6694
+ None,
6695
+ )
6696
+
6697
+ IsSpecialEpisodeOpenOld = Symbol(
6698
+ [0x4CD00],
6699
+ [0x204CD00],
6700
+ None,
6701
+ "IsSpecialEpisodeOpenOld",
6702
+ "Checks if the SPECIAL_EPISODE_OPEN_OLD script variable is set to true.\n\nr0: special episode type\nreturn: bool",
6703
+ None,
6704
+ )
6705
+
6706
+ SetSpecialEpisodeOpenOld = Symbol(
6707
+ [0x4CD2C],
6708
+ [0x204CD2C],
6709
+ None,
6710
+ "SetSpecialEpisodeOpenOld",
6711
+ "Sets the value of the script variable SPECIAL_EPISODE_OPEN_OLD.\n\nr0: special episode type\nr1: new SPECIAL_EPISODE_OPEN_OLD value",
6712
+ None,
6713
+ )
6714
+
6715
+ IsSpecialEpisodeBeaten = Symbol(
6716
+ [0x4CD54],
6717
+ [0x204CD54],
6718
+ None,
6719
+ "IsSpecialEpisodeBeaten",
6720
+ "Checks if a special episode is beaten from the SPECIAL_EPISODE_CONQUEST script variable.\n\nr0: special episode type\nreturn: bool",
6721
+ None,
6722
+ )
6723
+
6724
+ SetSpecialEpisodeBeaten = Symbol(
6725
+ [0x4CD80],
6726
+ [0x204CD80],
6727
+ None,
6728
+ "SetSpecialEpisodeBeaten",
6729
+ "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",
6730
+ None,
6731
+ )
6732
+
6607
6733
  HasPlayedOldGame = Symbol(
6608
6734
  [0x4CDA8],
6609
6735
  [0x204CDA8],
@@ -6622,6 +6748,15 @@ class EuArm9Functions:
6622
6748
  None,
6623
6749
  )
6624
6750
 
6751
+ SetPerformanceFlagWithChecks = Symbol(
6752
+ [0x4CE64],
6753
+ [0x204CE64],
6754
+ None,
6755
+ "SetPerformanceFlagWithChecks",
6756
+ "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.",
6757
+ None,
6758
+ )
6759
+
6625
6760
  GetScenarioBalance = Symbol(
6626
6761
  [0x4CECC],
6627
6762
  [0x204CECC],
@@ -9634,6 +9769,22 @@ class EuArm9Functions:
9634
9769
 
9635
9770
  IsMoveRangeString19 = _Deprecated("IsMoveRangeString19", IsMoveRangeStringUser)
9636
9771
 
9772
+ InitScenarioProgressScriptVars = _Deprecated(
9773
+ "InitScenarioProgressScriptVars", InitScenarioScriptVars
9774
+ )
9775
+
9776
+ SetScenarioProgressScriptVar = _Deprecated(
9777
+ "SetScenarioProgressScriptVar", SetScenarioScriptVar
9778
+ )
9779
+
9780
+ GetResolvedPerformanceProgressFlag = _Deprecated(
9781
+ "GetResolvedPerformanceProgressFlag", GetPerformanceFlagWithChecks
9782
+ )
9783
+
9784
+ SetResolvedPerformanceProgressFlag = _Deprecated(
9785
+ "SetResolvedPerformanceProgressFlag", SetPerformanceFlagWithChecks
9786
+ )
9787
+
9637
9788
  GetLowKickMultiplier = _Deprecated("GetLowKickMultiplier", GetWeightMultiplier)
9638
9789
 
9639
9790
  GetActorMatchingStorageId = _Deprecated(
@@ -10211,6 +10362,24 @@ class EuArm9Data:
10211
10362
  "",
10212
10363
  )
10213
10364
 
10365
+ EVENT_FLAG_GAME_MODE_DEBUG_MSG = Symbol(
10366
+ [0x9D4E8],
10367
+ [0x209D4E8],
10368
+ 0x20,
10369
+ "EVENT_FLAG_GAME_MODE_DEBUG_MSG",
10370
+ "Debug log message when EventFlagResume runs.",
10371
+ "",
10372
+ )
10373
+
10374
+ EVENT_FLAG_BACKUP_DEBUG_MSG = Symbol(
10375
+ [0x9D508],
10376
+ [0x209D508],
10377
+ 0x20,
10378
+ "EVENT_FLAG_BACKUP_DEBUG_MSG",
10379
+ "Debug log message when EventFlagBackup runs.",
10380
+ "",
10381
+ )
10382
+
10214
10383
  SCRIPT_VARS = Symbol(
10215
10384
  [0x9DDF4],
10216
10385
  [0x209DDF4],
@@ -10220,6 +10389,15 @@ class EuArm9Data:
10220
10389
  "struct script_var_table",
10221
10390
  )
10222
10391
 
10392
+ SCENARIO_CALC_DEBUG_MSG = Symbol(
10393
+ [0x9E524],
10394
+ [0x209E524],
10395
+ 0x28,
10396
+ "SCENARIO_CALC_DEBUG_MSG",
10397
+ "Debug log message with the old and new scenario values when SetScenarioScriptVar runs.",
10398
+ "",
10399
+ )
10400
+
10223
10401
  PORTRAIT_LAYOUTS = Symbol(
10224
10402
  [0x9E598],
10225
10403
  [0x209E598],
@@ -35225,6 +35403,15 @@ class EuRamData:
35225
35403
  "struct move",
35226
35404
  )
35227
35405
 
35406
+ OPTIONS = Symbol(
35407
+ [0x2AB9E0],
35408
+ [0x22AB9E0],
35409
+ 0x9,
35410
+ "OPTIONS",
35411
+ "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",
35412
+ "struct options",
35413
+ )
35414
+
35228
35415
  SCRIPT_VARS_VALUES = Symbol(
35229
35416
  [0x2AB9EC],
35230
35417
  [0x22AB9EC],
@@ -6513,6 +6513,15 @@ class EuItcmArm9Functions:
6513
6513
  None,
6514
6514
  )
6515
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
+
6516
6525
  SetScenarioScriptVar = Symbol(
6517
6526
  None,
6518
6527
  None,
@@ -6522,6 +6531,51 @@ class EuItcmArm9Functions:
6522
6531
  None,
6523
6532
  )
6524
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
+
6525
6579
  GetSpecialEpisodeType = Symbol(
6526
6580
  None,
6527
6581
  None,
@@ -6540,6 +6594,24 @@ class EuItcmArm9Functions:
6540
6594
  None,
6541
6595
  )
6542
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
+
6543
6615
  GetExecuteSpecialEpisodeType = Symbol(
6544
6616
  None,
6545
6617
  None,
@@ -6558,6 +6630,60 @@ class EuItcmArm9Functions:
6558
6630
  None,
6559
6631
  )
6560
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
+
6561
6687
  HasPlayedOldGame = Symbol(
6562
6688
  None,
6563
6689
  None,
@@ -6576,6 +6702,15 @@ class EuItcmArm9Functions:
6576
6702
  None,
6577
6703
  )
6578
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
+
6579
6714
  GetScenarioBalance = Symbol(
6580
6715
  None,
6581
6716
  None,
@@ -9588,6 +9723,22 @@ class EuItcmArm9Functions:
9588
9723
 
9589
9724
  IsMoveRangeString19 = _Deprecated("IsMoveRangeString19", IsMoveRangeStringUser)
9590
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
+
9591
9742
  GetLowKickMultiplier = _Deprecated("GetLowKickMultiplier", GetWeightMultiplier)
9592
9743
 
9593
9744
  GetActorMatchingStorageId = _Deprecated(
@@ -10156,6 +10307,24 @@ class EuItcmArm9Data:
10156
10307
  "",
10157
10308
  )
10158
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
+
10159
10328
  SCRIPT_VARS = Symbol(
10160
10329
  None,
10161
10330
  None,
@@ -10165,6 +10334,15 @@ class EuItcmArm9Data:
10165
10334
  "struct script_var_table",
10166
10335
  )
10167
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
+
10168
10346
  PORTRAIT_LAYOUTS = Symbol(
10169
10347
  None,
10170
10348
  None,
@@ -34524,6 +34702,15 @@ class EuItcmRamData:
34524
34702
  "struct move",
34525
34703
  )
34526
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
+
34527
34714
  SCRIPT_VARS_VALUES = Symbol(
34528
34715
  None,
34529
34716
  None,