pmdsky-debug-py 10.2.24__py3-none-any.whl → 10.2.25__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.
pmdsky_debug_py/na.py CHANGED
@@ -6307,6 +6307,204 @@ class NaArm9Functions:
6307
6307
  None,
6308
6308
  )
6309
6309
 
6310
+ InitOptionsVeneer = Symbol(
6311
+ [0x4AB18],
6312
+ [0x204AB18],
6313
+ None,
6314
+ "InitOptionsVeneer",
6315
+ "Likely a linker-generated veneer for InitOptions.\n\nSee https://developer.arm.com/documentation/dui0474/k/image-structure-and-generation/linker-generated-veneers/what-is-a-veneer-\n\nNo params.",
6316
+ None,
6317
+ )
6318
+
6319
+ InitOptions = Symbol(
6320
+ [0x4AB24],
6321
+ [0x204AB24],
6322
+ None,
6323
+ "InitOptions",
6324
+ "Initializes the game options struct (OPTIONS) with its default values.\n\nNo params.",
6325
+ None,
6326
+ )
6327
+
6328
+ GetOptions = Symbol(
6329
+ [0x4AB78],
6330
+ [0x204AB78],
6331
+ None,
6332
+ "GetOptions",
6333
+ "Copies the game options from OPTIONS to the given options struct.\n\nr0: options struct pointer to copy to.",
6334
+ None,
6335
+ )
6336
+
6337
+ SetOptions = Symbol(
6338
+ [0x4AB98],
6339
+ [0x204AB98],
6340
+ None,
6341
+ "SetOptions",
6342
+ "Copies the game options from the given options struct to OPTIONS.\n\nr0: options struct pointer to copy from.",
6343
+ None,
6344
+ )
6345
+
6346
+ SaveOptionsToCtx = Symbol(
6347
+ [0x4ABB8],
6348
+ [0x204ABB8],
6349
+ None,
6350
+ "SaveOptionsToCtx",
6351
+ "Saves the game options to the save file.\n\nr0: save file pointer to save the game options to.",
6352
+ None,
6353
+ )
6354
+
6355
+ LoadOptionsFromCtx = Symbol(
6356
+ [0x4ACDC],
6357
+ [0x204ACDC],
6358
+ None,
6359
+ "LoadOptionsFromCtx",
6360
+ "Loads the game options from the save file.\n\nr0: save file pointer to load the game options from.",
6361
+ None,
6362
+ )
6363
+
6364
+ IsTouchScreenNotOff = Symbol(
6365
+ [0x4AE60],
6366
+ [0x204AE60],
6367
+ None,
6368
+ "IsTouchScreenNotOff",
6369
+ "Returns false if the 'Touch Screen' option is set to 'Off', and true otherwise.\n\nreturn: bool",
6370
+ None,
6371
+ )
6372
+
6373
+ IsTouchScreenUseAnywhere = Symbol(
6374
+ [0x4AE80],
6375
+ [0x204AE80],
6376
+ None,
6377
+ "IsTouchScreenUseAnywhere",
6378
+ "Returns whether the 'Touch Screen' option is set to 'Use anywhere'.\n\nreturn: bool",
6379
+ None,
6380
+ )
6381
+
6382
+ GetTopScreenOption = Symbol(
6383
+ [0x4AEA0],
6384
+ [0x204AEA0],
6385
+ None,
6386
+ "GetTopScreenOption",
6387
+ "Returns the value of the 'Top screen' option.\n\nreturn: uint8_t",
6388
+ None,
6389
+ )
6390
+
6391
+ SetTopScreenOption = Symbol(
6392
+ [0x4AEB0],
6393
+ [0x204AEB0],
6394
+ None,
6395
+ "SetTopScreenOption",
6396
+ "Sets the value of the 'Top screen' option.\n\nr0: value to set 'Top screen' option to.",
6397
+ None,
6398
+ )
6399
+
6400
+ GetBottomScreenOption = Symbol(
6401
+ [0x4AEC0],
6402
+ [0x204AEC0],
6403
+ None,
6404
+ "GetBottomScreenOption",
6405
+ "Returns the value of the 'Bottom screen' option.\n\nreturn: uint8_t",
6406
+ None,
6407
+ )
6408
+
6409
+ GetGridsOption = Symbol(
6410
+ [0x4AED0],
6411
+ [0x204AED0],
6412
+ None,
6413
+ "GetGridsOption",
6414
+ "Returns whether the 'Grids' option is enabled.\n\nreturn: bool",
6415
+ None,
6416
+ )
6417
+
6418
+ GetSpeedOption = Symbol(
6419
+ [0x4AEE0],
6420
+ [0x204AEE0],
6421
+ None,
6422
+ "GetSpeedOption",
6423
+ "Returns the value of the 'Speed' option.\n\nreturn: uint8_t",
6424
+ None,
6425
+ )
6426
+
6427
+ GetFarOffPalsOption = Symbol(
6428
+ [0x4AEF0],
6429
+ [0x204AEF0],
6430
+ None,
6431
+ "GetFarOffPalsOption",
6432
+ "Returns the value of the 'Far-off pals' option.\n\nreturn: uint8_t",
6433
+ None,
6434
+ )
6435
+
6436
+ GetDamageTurnOption = Symbol(
6437
+ [0x4AF00],
6438
+ [0x204AF00],
6439
+ None,
6440
+ "GetDamageTurnOption",
6441
+ "Returns whether the 'Damage turn' option is enabled.\n\nreturn: bool",
6442
+ None,
6443
+ )
6444
+
6445
+ GetDPadAttackOption = Symbol(
6446
+ [0x4AF10],
6447
+ [0x204AF10],
6448
+ None,
6449
+ "GetDPadAttackOption",
6450
+ "Returns whether the 'D-pad attack' option is enabled.\n\nreturn: bool",
6451
+ None,
6452
+ )
6453
+
6454
+ GetCheckDirectionOption = Symbol(
6455
+ [0x4AF20],
6456
+ [0x204AF20],
6457
+ None,
6458
+ "GetCheckDirectionOption",
6459
+ "Returns whether the 'Check direction' option is enabled.\n\nreturn: bool",
6460
+ None,
6461
+ )
6462
+
6463
+ IsMapShownOnEitherScreen = Symbol(
6464
+ [0x4AF30],
6465
+ [0x204AF30],
6466
+ None,
6467
+ "IsMapShownOnEitherScreen",
6468
+ "Returns true if the map is configured in the options to show on either the top or bottom screen.\nThis includes 'Clear map' or 'Shaded map' on the bottom screen, and 'Map and team' on the top screen.\n\nreturn: bool",
6469
+ None,
6470
+ )
6471
+
6472
+ IsTeamStatsOnTopScreen = Symbol(
6473
+ [0x4AF58],
6474
+ [0x204AF58],
6475
+ None,
6476
+ "IsTeamStatsOnTopScreen",
6477
+ "Returns true if the top screen is configured in the options to show 'Team stats'.\n\nreturn: bool",
6478
+ None,
6479
+ )
6480
+
6481
+ IsTextLogOnTopScreen = Symbol(
6482
+ [0x4AF78],
6483
+ [0x204AF78],
6484
+ None,
6485
+ "IsTextLogOnTopScreen",
6486
+ "Returns true if the top screen is configured in the options to show 'Text log'.\n\nreturn: bool",
6487
+ None,
6488
+ )
6489
+
6490
+ CopyFrameTypeOption = Symbol(
6491
+ [0x4AF98],
6492
+ [0x204AF98],
6493
+ None,
6494
+ "CopyFrameTypeOption",
6495
+ "Copies the 'Frame Type' option from OPTIONS to the given pointer.\n\nr0: destination pointer for the 'Frame Type' option.",
6496
+ None,
6497
+ )
6498
+
6499
+ SetFrameTypeOption = Symbol(
6500
+ [0x4AFAC],
6501
+ [0x204AFAC],
6502
+ None,
6503
+ "SetFrameTypeOption",
6504
+ "Copies the 'Frame Type' option from the given pointer to OPTIONS.\n\nr0: source pointer for the 'Frame Type' option.",
6505
+ None,
6506
+ )
6507
+
6310
6508
  GetGameMode = Symbol(
6311
6509
  [0x4AFC0],
6312
6510
  [0x204AFC0],
@@ -6325,6 +6523,24 @@ class NaArm9Functions:
6325
6523
  None,
6326
6524
  )
6327
6525
 
6526
+ SetGameMode = Symbol(
6527
+ [0x4B018],
6528
+ [0x204B018],
6529
+ None,
6530
+ "SetGameMode",
6531
+ "Sets the value of GAME_MODE.\n\nr0: value to set GAME_MODE to.",
6532
+ None,
6533
+ )
6534
+
6535
+ DebugPrintEventFlagSize = Symbol(
6536
+ [0x4B028],
6537
+ [0x204B028],
6538
+ None,
6539
+ "DebugPrintEventFlagSize",
6540
+ "Prints a debug message with values related to event flag size.\n\nNo params.",
6541
+ None,
6542
+ )
6543
+
6328
6544
  InitScriptVariableValues = Symbol(
6329
6545
  [0x4B04C],
6330
6546
  [0x204B04C],
@@ -6343,6 +6559,15 @@ class NaArm9Functions:
6343
6559
  None,
6344
6560
  )
6345
6561
 
6562
+ DefaultInitScriptVariable = Symbol(
6563
+ [0x4B3D0],
6564
+ [0x204B3D0],
6565
+ None,
6566
+ "DefaultInitScriptVariable",
6567
+ "Initialize the values of the given script variable to the variable's default value, as defined in SCRIPT_VARS.\n\nr0: pointer to the local variable table (only needed if id >= VAR_LOCAL0)\nr1: script variable ID",
6568
+ None,
6569
+ )
6570
+
6346
6571
  ZinitScriptVariable = Symbol(
6347
6572
  [0x4B434],
6348
6573
  [0x204B434],
@@ -6766,6 +6991,15 @@ class NaArm9Functions:
6766
6991
  None,
6767
6992
  )
6768
6993
 
6994
+ ScenarioFlagRestore = Symbol(
6995
+ [0x4CBE8],
6996
+ [0x204CBE8],
6997
+ None,
6998
+ "ScenarioFlagRestore",
6999
+ "Loads scenario flag script variables (SCENARIO_SELECT, SCENARIO_MAIN_BIT_FLAG) from their respective BACKUP script variables, but only in certain game modes.\n\nThis function prints the debug string 'ScenarioFlag ResumeGameMode %d' with the game mode.\n\nNo params.",
7000
+ None,
7001
+ )
7002
+
6769
7003
  ScenarioFlagBackup = Symbol(
6770
7004
  [0x4CCB8],
6771
7005
  [0x204CCB8],
@@ -9769,6 +10003,8 @@ class NaArm9Functions:
9769
10003
 
9770
10004
  IsMoveRangeString19 = _Deprecated("IsMoveRangeString19", IsMoveRangeStringUser)
9771
10005
 
10006
+ ZeroInitScriptVariable = _Deprecated("ZeroInitScriptVariable", ZinitScriptVariable)
10007
+
9772
10008
  InitScenarioProgressScriptVars = _Deprecated(
9773
10009
  "InitScenarioProgressScriptVars", InitScenarioScriptVars
9774
10010
  )
@@ -10029,6 +10265,42 @@ class NaArm9Data:
10029
10265
  "struct baby_exclusive_item_pair[16]",
10030
10266
  )
10031
10267
 
10268
+ ITEM_NAME_FORMAT_YELLOW = Symbol(
10269
+ [0x9808C],
10270
+ [0x209808C],
10271
+ 0x10,
10272
+ "ITEM_NAME_FORMAT_YELLOW",
10273
+ "Format string for items with a yellow name, like boxes",
10274
+ "char[16]",
10275
+ )
10276
+
10277
+ ITEM_NAME_FORMAT_INDIGO = Symbol(
10278
+ [0x9809C],
10279
+ [0x209809C],
10280
+ 0x10,
10281
+ "ITEM_NAME_FORMAT_INDIGO",
10282
+ "Format string for items with an indigo name, like exclusive items",
10283
+ "char[16]",
10284
+ )
10285
+
10286
+ ITEM_NAME_FORMAT_PLAIN = Symbol(
10287
+ [0x980AC],
10288
+ [0x20980AC],
10289
+ 0x4,
10290
+ "ITEM_NAME_FORMAT_PLAIN",
10291
+ "Format string for items with no color formatting",
10292
+ "char[4]",
10293
+ )
10294
+
10295
+ ITEM_NAME_FORMAT_CREAM = Symbol(
10296
+ [0x980B0],
10297
+ [0x20980B0],
10298
+ 0x10,
10299
+ "ITEM_NAME_FORMAT_CREAM",
10300
+ "Format string for items with a cream pink name, the usual text color for items",
10301
+ "char[16]",
10302
+ )
10303
+
10032
10304
  KECLEON_SHOP_ITEM_TABLE_LISTS_1 = Symbol(
10033
10305
  [0x980C0],
10034
10306
  [0x20980C0],
@@ -10344,6 +10616,15 @@ class NaArm9Data:
10344
10616
  "struct script_local_var_table",
10345
10617
  )
10346
10618
 
10619
+ EVENT_FLAG_SIZE_DEBUG_MSG = Symbol(
10620
+ [0x9CF0C],
10621
+ [0x209CF0C],
10622
+ 0x1C,
10623
+ "EVENT_FLAG_SIZE_DEBUG_MSG",
10624
+ "Debug log message that says 'EventFlagSize'",
10625
+ "",
10626
+ )
10627
+
10347
10628
  EVENT_FLAG_CALC_SCRIPT_VARIABLES_ERROR = Symbol(
10348
10629
  [0x9CF28],
10349
10630
  [0x209CF28],
@@ -10380,6 +10661,28 @@ class NaArm9Data:
10380
10661
  "",
10381
10662
  )
10382
10663
 
10664
+ SUM_MSG = Symbol(
10665
+ [0x9CFA4], [0x209CFA4], 0x4, "SUM_MSG", "Debug log message that says 'SUM'", ""
10666
+ )
10667
+
10668
+ SUB30_PROJECTP_MSG = Symbol(
10669
+ [0x9D198],
10670
+ [0x209D198],
10671
+ 0x10,
10672
+ "SUB30_PROJECTP_MSG",
10673
+ "Debug log message that says 'SUB30_PROJECTP'",
10674
+ "",
10675
+ )
10676
+
10677
+ NOTE_MODIFY_FLAG_MSG = Symbol(
10678
+ [0x9D2CC],
10679
+ [0x209D2CC],
10680
+ 0x14,
10681
+ "NOTE_MODIFY_FLAG_MSG",
10682
+ "Debug log message that says 'NOTE_MODIFY_FLAG'",
10683
+ "",
10684
+ )
10685
+
10383
10686
  SCRIPT_VARS = Symbol(
10384
10687
  [0x9D870],
10385
10688
  [0x209D870],
@@ -10398,6 +10701,24 @@ class NaArm9Data:
10398
10701
  "",
10399
10702
  )
10400
10703
 
10704
+ SCENARIO_FLAG_RESUME_DEBUG_MSG = Symbol(
10705
+ [0x9DFC8],
10706
+ [0x209DFC8],
10707
+ 0x20,
10708
+ "SCENARIO_FLAG_RESUME_DEBUG_MSG",
10709
+ "Debug log message that prints the current game mode when ScenarioFlagRestore is invoked.",
10710
+ "",
10711
+ )
10712
+
10713
+ SCENARIO_FLAG_BACKUP_DEBUG_MSG = Symbol(
10714
+ [0x9DFE8],
10715
+ [0x209DFE8],
10716
+ 0x20,
10717
+ "SCENARIO_FLAG_BACKUP_DEBUG_MSG",
10718
+ "Debug log message that prints the current game mode when ScenarioFlagBackup is invoked.",
10719
+ "",
10720
+ )
10721
+
10401
10722
  PORTRAIT_LAYOUTS = Symbol(
10402
10723
  [0x9E014],
10403
10724
  [0x209E014],
@@ -11019,6 +11340,168 @@ class NaArm9Data:
11019
11340
  "struct guest_monster[18]",
11020
11341
  )
11021
11342
 
11343
+ GUEST_MONSTER_BANETTE = Symbol(
11344
+ [0xA28BC],
11345
+ [0x20A28BC],
11346
+ 0x24,
11347
+ "GUEST_MONSTER_BANETTE",
11348
+ "Guest monster data for Banette in Murky Cave during Igglybuff the Prodigy.",
11349
+ "struct guest_monster",
11350
+ )
11351
+
11352
+ GUEST_MONSTER_SKORUPI = Symbol(
11353
+ [0xA28E0],
11354
+ [0x20A28E0],
11355
+ 0x24,
11356
+ "GUEST_MONSTER_SKORUPI",
11357
+ "Guest monster data for Skorupi in Murky Cave during Igglybuff the Prodigy.",
11358
+ "struct guest_monster",
11359
+ )
11360
+
11361
+ GUEST_MONSTER_BIDOOF = Symbol(
11362
+ [0xA2904],
11363
+ [0x20A2904],
11364
+ 0x24,
11365
+ "GUEST_MONSTER_BIDOOF",
11366
+ "Guest monster data for Bidoof in Craggy Coast during the main story.",
11367
+ "struct guest_monster",
11368
+ )
11369
+
11370
+ GUEST_MONSTER_SNOVER = Symbol(
11371
+ [0xA2928],
11372
+ [0x20A2928],
11373
+ 0x24,
11374
+ "GUEST_MONSTER_SNOVER",
11375
+ "Guest monster data for Snover in Deep Star Cave during Bidoof's Wish.",
11376
+ "struct guest_monster",
11377
+ )
11378
+
11379
+ GUEST_MONSTER_BIDOOF_2 = Symbol(
11380
+ [0xA294C],
11381
+ [0x20A294C],
11382
+ None,
11383
+ "GUEST_MONSTER_BIDOOF_2",
11384
+ "Guest monster data for Bidoof in Rock Path during the main story.",
11385
+ "struct guest_monster",
11386
+ )
11387
+
11388
+ GUEST_MONSTER_GROVYLE = Symbol(
11389
+ [0xA2970],
11390
+ [0x20A2970],
11391
+ 0x24,
11392
+ "GUEST_MONSTER_GROVYLE",
11393
+ "Guest monster data for Grovyle in Dusk Forest during the main story.",
11394
+ "struct guest_monster",
11395
+ )
11396
+
11397
+ GUEST_MONSTER_LOUDRED = Symbol(
11398
+ [0xA2994],
11399
+ [0x20A2994],
11400
+ 0x24,
11401
+ "GUEST_MONSTER_LOUDRED",
11402
+ "Guest monster data for Loudred in Spring Cave Pit during Today's 'Oh My Gosh'.",
11403
+ "struct guest_monster",
11404
+ )
11405
+
11406
+ GUEST_MONSTER_DUSKNOIR = Symbol(
11407
+ [0xA29B8],
11408
+ [0x20A29B8],
11409
+ 0x24,
11410
+ "GUEST_MONSTER_DUSKNOIR",
11411
+ "Guest monster data for Dusknoir during In the Future of Darkness.",
11412
+ "struct guest_monster",
11413
+ )
11414
+
11415
+ GUEST_MONSTER_GROVYLE_2 = Symbol(
11416
+ [0xA29DC],
11417
+ [0x20A29DC],
11418
+ 0x24,
11419
+ "GUEST_MONSTER_GROVYLE_2",
11420
+ "Guest monster data for Grovyle in Treeshroud Forest during the main story.",
11421
+ "struct guest_monster",
11422
+ )
11423
+
11424
+ GUEST_MONSTER_CHATOT = Symbol(
11425
+ [0xA2A00],
11426
+ [0x20A2A00],
11427
+ 0x24,
11428
+ "GUEST_MONSTER_CHATOT",
11429
+ "Guest monster data for Chatot in Brine Cave during the main story.",
11430
+ "struct guest_monster",
11431
+ )
11432
+
11433
+ GUEST_MONSTER_SHINY_CELEBI = Symbol(
11434
+ [0xA2A24],
11435
+ [0x20A2A24],
11436
+ 0x24,
11437
+ "GUEST_MONSTER_SHINY_CELEBI",
11438
+ "Guest monster data for Celebi in Deep Dusk Forest during the main story.",
11439
+ "struct guest_monster",
11440
+ )
11441
+
11442
+ GUEST_MONSTER_GROVYLE_3 = Symbol(
11443
+ [0xA2A48],
11444
+ [0x20A2A48],
11445
+ None,
11446
+ "GUEST_MONSTER_GROVYLE_3",
11447
+ "Guest monster data for Grovyle in Deep Dusk Forest during the main story.",
11448
+ "struct guest_monster",
11449
+ )
11450
+
11451
+ GUEST_MONSTER_GROVYLE_4 = Symbol(
11452
+ [0xA2A6C],
11453
+ [0x20A2A6C],
11454
+ 0x24,
11455
+ "GUEST_MONSTER_GROVYLE_4",
11456
+ "Guest monster data for Grovyle in Hidden Land, Hidden Highland, and the Old Ruins during the main story.",
11457
+ "struct guest_monster",
11458
+ )
11459
+
11460
+ GUEST_MONSTER_CRESSELIA = Symbol(
11461
+ [0xA2A90],
11462
+ [0x20A2A90],
11463
+ 0x24,
11464
+ "GUEST_MONSTER_CRESSELIA",
11465
+ "Guest monster data for Cresselia in Dark Crater, Deep Dark Crater, and Dark Crater Pit during the postgame story.",
11466
+ "struct guest_monster",
11467
+ )
11468
+
11469
+ GUEST_MONSTER_BIDOOF_3 = Symbol(
11470
+ [0xA2AB4],
11471
+ [0x20A2AB4],
11472
+ 0x24,
11473
+ "GUEST_MONSTER_BIDOOF_3",
11474
+ "Guest monster data for Bidoof in Mt. Horn during the main story.",
11475
+ "struct guest_monster",
11476
+ )
11477
+
11478
+ GUEST_MONSTER_BIDOOF_4 = Symbol(
11479
+ [0xA2AD8],
11480
+ [0x20A2AD8],
11481
+ 0x24,
11482
+ "GUEST_MONSTER_BIDOOF_4",
11483
+ "Guest monster data for Bidoof in Side Path during the main story.",
11484
+ "struct guest_monster",
11485
+ )
11486
+
11487
+ GUEST_MONSTER_SHAYMIN_LAND = Symbol(
11488
+ [0xA2AFC],
11489
+ [0x20A2AFC],
11490
+ 0x24,
11491
+ "GUEST_MONSTER_SHAYMIN_LAND",
11492
+ "Guest monster data for Shaymin in Sky Peak during the postgame story.",
11493
+ "struct guest_monster",
11494
+ )
11495
+
11496
+ GUEST_MONSTER_SNOVER_2 = Symbol(
11497
+ [0xA2B20],
11498
+ [0x20A2B20],
11499
+ 0x24,
11500
+ "GUEST_MONSTER_SNOVER_2",
11501
+ "Guest monster data for Snover in Star Cave during Bidoof's Wish.",
11502
+ "struct guest_monster",
11503
+ )
11504
+
11022
11505
  RANK_UP_TABLE = Symbol(
11023
11506
  [0xA2B44],
11024
11507
  [0x20A2B44],