pmdsky-debug-py 10.2.23__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/jp.py CHANGED
@@ -6307,6 +6307,204 @@ class JpArm9Functions:
6307
6307
  None,
6308
6308
  )
6309
6309
 
6310
+ InitOptionsVeneer = Symbol(
6311
+ [0x4AE80],
6312
+ [0x204AE80],
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
+ [0x4AE8C],
6321
+ [0x204AE8C],
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
+ [0x4AEE0],
6330
+ [0x204AEE0],
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
+ [0x4AF00],
6339
+ [0x204AF00],
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
+ [0x4AF20],
6348
+ [0x204AF20],
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
+ [0x4B044],
6357
+ [0x204B044],
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
+ [0x4B1C8],
6366
+ [0x204B1C8],
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
+ [0x4B1E8],
6375
+ [0x204B1E8],
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
+ [0x4B208],
6384
+ [0x204B208],
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
+ [0x4B218],
6393
+ [0x204B218],
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
+ [0x4B228],
6402
+ [0x204B228],
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
+ [0x4B238],
6411
+ [0x204B238],
6412
+ None,
6413
+ "GetGridsOption",
6414
+ "Returns whether the 'Grids' option is enabled.\n\nreturn: bool",
6415
+ None,
6416
+ )
6417
+
6418
+ GetSpeedOption = Symbol(
6419
+ [0x4B248],
6420
+ [0x204B248],
6421
+ None,
6422
+ "GetSpeedOption",
6423
+ "Returns the value of the 'Speed' option.\n\nreturn: uint8_t",
6424
+ None,
6425
+ )
6426
+
6427
+ GetFarOffPalsOption = Symbol(
6428
+ [0x4B258],
6429
+ [0x204B258],
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
+ [0x4B268],
6438
+ [0x204B268],
6439
+ None,
6440
+ "GetDamageTurnOption",
6441
+ "Returns whether the 'Damage turn' option is enabled.\n\nreturn: bool",
6442
+ None,
6443
+ )
6444
+
6445
+ GetDPadAttackOption = Symbol(
6446
+ [0x4B278],
6447
+ [0x204B278],
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
+ [0x4B288],
6456
+ [0x204B288],
6457
+ None,
6458
+ "GetCheckDirectionOption",
6459
+ "Returns whether the 'Check direction' option is enabled.\n\nreturn: bool",
6460
+ None,
6461
+ )
6462
+
6463
+ IsMapShownOnEitherScreen = Symbol(
6464
+ [0x4B298],
6465
+ [0x204B298],
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
+ [0x4B2C0],
6474
+ [0x204B2C0],
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
+ [0x4B2E0],
6483
+ [0x204B2E0],
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
+ [0x4B300],
6492
+ [0x204B300],
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
+ [0x4B314],
6501
+ [0x204B314],
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
  [0x4B328],
6312
6510
  [0x204B328],
@@ -6325,6 +6523,24 @@ class JpArm9Functions:
6325
6523
  None,
6326
6524
  )
6327
6525
 
6526
+ SetGameMode = Symbol(
6527
+ [0x4B380],
6528
+ [0x204B380],
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
+ [0x4B390],
6537
+ [0x204B390],
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
  [0x4B3B4],
6330
6546
  [0x204B3B4],
@@ -6343,6 +6559,15 @@ class JpArm9Functions:
6343
6559
  None,
6344
6560
  )
6345
6561
 
6562
+ DefaultInitScriptVariable = Symbol(
6563
+ [0x4B730],
6564
+ [0x204B730],
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
  [0x4B794],
6348
6573
  [0x204B794],
@@ -6766,6 +6991,15 @@ class JpArm9Functions:
6766
6991
  None,
6767
6992
  )
6768
6993
 
6994
+ ScenarioFlagRestore = Symbol(
6995
+ [0x4CF48],
6996
+ [0x204CF48],
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
  [0x4D018],
6771
7005
  [0x204D018],
@@ -9769,6 +10003,8 @@ class JpArm9Functions:
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
  )
@@ -10024,6 +10260,42 @@ class JpArm9Data:
10024
10260
  "struct baby_exclusive_item_pair[16]",
10025
10261
  )
10026
10262
 
10263
+ ITEM_NAME_FORMAT_YELLOW = Symbol(
10264
+ [0x98380],
10265
+ [0x2098380],
10266
+ 0x10,
10267
+ "ITEM_NAME_FORMAT_YELLOW",
10268
+ "Format string for items with a yellow name, like boxes",
10269
+ "char[16]",
10270
+ )
10271
+
10272
+ ITEM_NAME_FORMAT_INDIGO = Symbol(
10273
+ [0x98390],
10274
+ [0x2098390],
10275
+ 0x10,
10276
+ "ITEM_NAME_FORMAT_INDIGO",
10277
+ "Format string for items with an indigo name, like exclusive items",
10278
+ "char[16]",
10279
+ )
10280
+
10281
+ ITEM_NAME_FORMAT_PLAIN = Symbol(
10282
+ [0x983A0],
10283
+ [0x20983A0],
10284
+ 0x4,
10285
+ "ITEM_NAME_FORMAT_PLAIN",
10286
+ "Format string for items with no color formatting",
10287
+ "char[4]",
10288
+ )
10289
+
10290
+ ITEM_NAME_FORMAT_CREAM = Symbol(
10291
+ [0x983A4],
10292
+ [0x20983A4],
10293
+ 0x10,
10294
+ "ITEM_NAME_FORMAT_CREAM",
10295
+ "Format string for items with a cream pink name, the usual text color for items",
10296
+ "char[16]",
10297
+ )
10298
+
10027
10299
  KECLEON_SHOP_ITEM_TABLE_LISTS_1 = Symbol(
10028
10300
  [0x983B4],
10029
10301
  [0x20983B4],
@@ -10339,6 +10611,15 @@ class JpArm9Data:
10339
10611
  "struct script_local_var_table",
10340
10612
  )
10341
10613
 
10614
+ EVENT_FLAG_SIZE_DEBUG_MSG = Symbol(
10615
+ [0x9E2E0],
10616
+ [0x209E2E0],
10617
+ 0x1C,
10618
+ "EVENT_FLAG_SIZE_DEBUG_MSG",
10619
+ "Debug log message that says 'EventFlagSize'",
10620
+ "",
10621
+ )
10622
+
10342
10623
  EVENT_FLAG_CALC_SCRIPT_VARIABLES_ERROR = Symbol(
10343
10624
  [0x9E2FC],
10344
10625
  [0x209E2FC],
@@ -10375,6 +10656,28 @@ class JpArm9Data:
10375
10656
  "",
10376
10657
  )
10377
10658
 
10659
+ SUM_MSG = Symbol(
10660
+ [0x9E378], [0x209E378], 0x4, "SUM_MSG", "Debug log message that says 'SUM'", ""
10661
+ )
10662
+
10663
+ SUB30_PROJECTP_MSG = Symbol(
10664
+ [0x9E56C],
10665
+ [0x209E56C],
10666
+ 0x10,
10667
+ "SUB30_PROJECTP_MSG",
10668
+ "Debug log message that says 'SUB30_PROJECTP'",
10669
+ "",
10670
+ )
10671
+
10672
+ NOTE_MODIFY_FLAG_MSG = Symbol(
10673
+ [0x9E6A0],
10674
+ [0x209E6A0],
10675
+ 0x14,
10676
+ "NOTE_MODIFY_FLAG_MSG",
10677
+ "Debug log message that says 'NOTE_MODIFY_FLAG'",
10678
+ "",
10679
+ )
10680
+
10378
10681
  SCRIPT_VARS = Symbol(
10379
10682
  [0x9EC44],
10380
10683
  [0x209EC44],
@@ -10393,6 +10696,24 @@ class JpArm9Data:
10393
10696
  "",
10394
10697
  )
10395
10698
 
10699
+ SCENARIO_FLAG_RESUME_DEBUG_MSG = Symbol(
10700
+ [0x9F39C],
10701
+ [0x209F39C],
10702
+ 0x20,
10703
+ "SCENARIO_FLAG_RESUME_DEBUG_MSG",
10704
+ "Debug log message that prints the current game mode when ScenarioFlagRestore is invoked.",
10705
+ "",
10706
+ )
10707
+
10708
+ SCENARIO_FLAG_BACKUP_DEBUG_MSG = Symbol(
10709
+ [0x9F3BC],
10710
+ [0x209F3BC],
10711
+ 0x20,
10712
+ "SCENARIO_FLAG_BACKUP_DEBUG_MSG",
10713
+ "Debug log message that prints the current game mode when ScenarioFlagBackup is invoked.",
10714
+ "",
10715
+ )
10716
+
10396
10717
  PORTRAIT_LAYOUTS = Symbol(
10397
10718
  [0x9F3E8],
10398
10719
  [0x209F3E8],
@@ -11014,6 +11335,168 @@ class JpArm9Data:
11014
11335
  "struct guest_monster[18]",
11015
11336
  )
11016
11337
 
11338
+ GUEST_MONSTER_BANETTE = Symbol(
11339
+ [0xA3C90],
11340
+ [0x20A3C90],
11341
+ 0x24,
11342
+ "GUEST_MONSTER_BANETTE",
11343
+ "Guest monster data for Banette in Murky Cave during Igglybuff the Prodigy.",
11344
+ "struct guest_monster",
11345
+ )
11346
+
11347
+ GUEST_MONSTER_SKORUPI = Symbol(
11348
+ [0xA3CB4],
11349
+ [0x20A3CB4],
11350
+ 0x24,
11351
+ "GUEST_MONSTER_SKORUPI",
11352
+ "Guest monster data for Skorupi in Murky Cave during Igglybuff the Prodigy.",
11353
+ "struct guest_monster",
11354
+ )
11355
+
11356
+ GUEST_MONSTER_BIDOOF = Symbol(
11357
+ [0xA3CD8],
11358
+ [0x20A3CD8],
11359
+ 0x24,
11360
+ "GUEST_MONSTER_BIDOOF",
11361
+ "Guest monster data for Bidoof in Craggy Coast during the main story.",
11362
+ "struct guest_monster",
11363
+ )
11364
+
11365
+ GUEST_MONSTER_SNOVER = Symbol(
11366
+ [0xA3CFC],
11367
+ [0x20A3CFC],
11368
+ 0x24,
11369
+ "GUEST_MONSTER_SNOVER",
11370
+ "Guest monster data for Snover in Deep Star Cave during Bidoof's Wish.",
11371
+ "struct guest_monster",
11372
+ )
11373
+
11374
+ GUEST_MONSTER_BIDOOF_2 = Symbol(
11375
+ [0xA3D20],
11376
+ [0x20A3D20],
11377
+ None,
11378
+ "GUEST_MONSTER_BIDOOF_2",
11379
+ "Guest monster data for Bidoof in Rock Path during the main story.",
11380
+ "struct guest_monster",
11381
+ )
11382
+
11383
+ GUEST_MONSTER_GROVYLE = Symbol(
11384
+ [0xA3D44],
11385
+ [0x20A3D44],
11386
+ 0x24,
11387
+ "GUEST_MONSTER_GROVYLE",
11388
+ "Guest monster data for Grovyle in Dusk Forest during the main story.",
11389
+ "struct guest_monster",
11390
+ )
11391
+
11392
+ GUEST_MONSTER_LOUDRED = Symbol(
11393
+ [0xA3D68],
11394
+ [0x20A3D68],
11395
+ 0x24,
11396
+ "GUEST_MONSTER_LOUDRED",
11397
+ "Guest monster data for Loudred in Spring Cave Pit during Today's 'Oh My Gosh'.",
11398
+ "struct guest_monster",
11399
+ )
11400
+
11401
+ GUEST_MONSTER_DUSKNOIR = Symbol(
11402
+ [0xA3D8C],
11403
+ [0x20A3D8C],
11404
+ 0x24,
11405
+ "GUEST_MONSTER_DUSKNOIR",
11406
+ "Guest monster data for Dusknoir during In the Future of Darkness.",
11407
+ "struct guest_monster",
11408
+ )
11409
+
11410
+ GUEST_MONSTER_GROVYLE_2 = Symbol(
11411
+ [0xA3DB0],
11412
+ [0x20A3DB0],
11413
+ 0x24,
11414
+ "GUEST_MONSTER_GROVYLE_2",
11415
+ "Guest monster data for Grovyle in Treeshroud Forest during the main story.",
11416
+ "struct guest_monster",
11417
+ )
11418
+
11419
+ GUEST_MONSTER_CHATOT = Symbol(
11420
+ [0xA3DD4],
11421
+ [0x20A3DD4],
11422
+ 0x24,
11423
+ "GUEST_MONSTER_CHATOT",
11424
+ "Guest monster data for Chatot in Brine Cave during the main story.",
11425
+ "struct guest_monster",
11426
+ )
11427
+
11428
+ GUEST_MONSTER_SHINY_CELEBI = Symbol(
11429
+ [0xA3DF8],
11430
+ [0x20A3DF8],
11431
+ 0x24,
11432
+ "GUEST_MONSTER_SHINY_CELEBI",
11433
+ "Guest monster data for Celebi in Deep Dusk Forest during the main story.",
11434
+ "struct guest_monster",
11435
+ )
11436
+
11437
+ GUEST_MONSTER_GROVYLE_3 = Symbol(
11438
+ [0xA3E1C],
11439
+ [0x20A3E1C],
11440
+ None,
11441
+ "GUEST_MONSTER_GROVYLE_3",
11442
+ "Guest monster data for Grovyle in Deep Dusk Forest during the main story.",
11443
+ "struct guest_monster",
11444
+ )
11445
+
11446
+ GUEST_MONSTER_GROVYLE_4 = Symbol(
11447
+ [0xA3E40],
11448
+ [0x20A3E40],
11449
+ 0x24,
11450
+ "GUEST_MONSTER_GROVYLE_4",
11451
+ "Guest monster data for Grovyle in Hidden Land, Hidden Highland, and the Old Ruins during the main story.",
11452
+ "struct guest_monster",
11453
+ )
11454
+
11455
+ GUEST_MONSTER_CRESSELIA = Symbol(
11456
+ [0xA3E64],
11457
+ [0x20A3E64],
11458
+ 0x24,
11459
+ "GUEST_MONSTER_CRESSELIA",
11460
+ "Guest monster data for Cresselia in Dark Crater, Deep Dark Crater, and Dark Crater Pit during the postgame story.",
11461
+ "struct guest_monster",
11462
+ )
11463
+
11464
+ GUEST_MONSTER_BIDOOF_3 = Symbol(
11465
+ [0xA3E88],
11466
+ [0x20A3E88],
11467
+ 0x24,
11468
+ "GUEST_MONSTER_BIDOOF_3",
11469
+ "Guest monster data for Bidoof in Mt. Horn during the main story.",
11470
+ "struct guest_monster",
11471
+ )
11472
+
11473
+ GUEST_MONSTER_BIDOOF_4 = Symbol(
11474
+ [0xA3EAC],
11475
+ [0x20A3EAC],
11476
+ 0x24,
11477
+ "GUEST_MONSTER_BIDOOF_4",
11478
+ "Guest monster data for Bidoof in Side Path during the main story.",
11479
+ "struct guest_monster",
11480
+ )
11481
+
11482
+ GUEST_MONSTER_SHAYMIN_LAND = Symbol(
11483
+ [0xA3ED0],
11484
+ [0x20A3ED0],
11485
+ 0x24,
11486
+ "GUEST_MONSTER_SHAYMIN_LAND",
11487
+ "Guest monster data for Shaymin in Sky Peak during the postgame story.",
11488
+ "struct guest_monster",
11489
+ )
11490
+
11491
+ GUEST_MONSTER_SNOVER_2 = Symbol(
11492
+ [0xA3EF4],
11493
+ [0x20A3EF4],
11494
+ 0x24,
11495
+ "GUEST_MONSTER_SNOVER_2",
11496
+ "Guest monster data for Snover in Star Cave during Bidoof's Wish.",
11497
+ "struct guest_monster",
11498
+ )
11499
+
11017
11500
  RANK_UP_TABLE = Symbol(
11018
11501
  [0xA3F18],
11019
11502
  [0x20A3F18],