pmdsky-debug-py 10.0.7__py3-none-any.whl → 10.0.9__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.0+85ec0bba18"
1
+ RELEASE = "v0.10.0+71542670fc"
pmdsky_debug_py/eu.py CHANGED
@@ -13565,11 +13565,18 @@ class EuOverlay11Functions:
13565
13565
 
13566
13566
  SsbLoad2 = Symbol([0x84BC], [0x22E503C], None, "")
13567
13567
 
13568
- ProcessScriptParam = Symbol(
13568
+ ScriptParamToInt = Symbol(
13569
13569
  [0x866C],
13570
13570
  [0x22E51EC],
13571
13571
  None,
13572
- "Checks if the two most significant bits (0x8000 and 0x4000) are set on a given script opcode parameter, and modifies the value if so.\n\nr0: On input, the parameter. On output, the modified parameter if either of the two bits listed above is set, same parameter otherwise.",
13572
+ "Converts the given opcode parameter to a signed integer.\n\nThe parameter will be returned unchanged unless one of its two most significant bits (0x8000 and 0x4000) are set, in which case both bits will be cleared and the original value will be modified according to the following two rules:\n- If the 0x4000 bit is set (sign bit), the value will be set to -16384 + value.\n- If the 0x8000 bit is set (fixed-point flag), the value will be set to value / 256, rounded down.\nBoth rules can be applied, in the same order as listed, if both conditions are met.\n\nr0: Parameter to convert\nreturn: The input parameter, as a signed integer",
13573
+ )
13574
+
13575
+ ScriptParamToFixedPoint16 = Symbol(
13576
+ [0x86A0],
13577
+ [0x22E5220],
13578
+ None,
13579
+ "Converts the given opcode parameter to a 16-bit signed fixed-point number with 8 fraction bits.\n\nThe resulting number is encoded as (value) * 256, with the last byte acting as a fraction byte capable of representing multiples of 1/256.\n\nThe parameter will either be returned unchanged or modified depending on which of its two most significant bits (0x8000 and 0x4000) are set. Both bits are unset before running the operations listed below:\n- If the 0x4000 bit is set (sign bit), the value will be set to -16384 + value.\n- If the 0x8000 bit is set (fixed-point flag), the raw value is interpreted as being fixed-point already, and nothing else happens. Otherwise, it's assumed to be a normal integer and is converted to fixed-point by left-shifting it by 8 (moving the integer part to its proper place).\nBoth rules can be applied, in the same order as listed, if both conditions are met.\n\nr0: Parameter to convert\nreturn: The input parameter, as a 16-bit signed fixed-point number with 8 fraction bits",
13573
13580
  )
13574
13581
 
13575
13582
  StationLoadHanger = Symbol([0x8994], [0x22E5514], None, "")
@@ -22463,6 +22470,13 @@ class EuRamData:
22463
22470
  "Starts at 0 when the game is first launched, and continuously ticks up once per frame while the game is running.",
22464
22471
  )
22465
22472
 
22473
+ TOUCHSCREEN_STATUS = Symbol(
22474
+ [0x2A3F1C],
22475
+ [0x22A3F1C],
22476
+ 0x104,
22477
+ "Status of the touchscreen, including the coordinates of the currently pressed position in pixels.",
22478
+ )
22479
+
22466
22480
  BAG_ITEMS = Symbol(
22467
22481
  [0x2A4164],
22468
22482
  [0x22A4164],
@@ -13217,11 +13217,18 @@ class EuItcmOverlay11Functions:
13217
13217
 
13218
13218
  SsbLoad2 = Symbol(None, None, None, "")
13219
13219
 
13220
- ProcessScriptParam = Symbol(
13220
+ ScriptParamToInt = Symbol(
13221
13221
  None,
13222
13222
  None,
13223
13223
  None,
13224
- "Checks if the two most significant bits (0x8000 and 0x4000) are set on a given script opcode parameter, and modifies the value if so.\n\nr0: On input, the parameter. On output, the modified parameter if either of the two bits listed above is set, same parameter otherwise.",
13224
+ "Converts the given opcode parameter to a signed integer.\n\nThe parameter will be returned unchanged unless one of its two most significant bits (0x8000 and 0x4000) are set, in which case both bits will be cleared and the original value will be modified according to the following two rules:\n- If the 0x4000 bit is set (sign bit), the value will be set to -16384 + value.\n- If the 0x8000 bit is set (fixed-point flag), the value will be set to value / 256, rounded down.\nBoth rules can be applied, in the same order as listed, if both conditions are met.\n\nr0: Parameter to convert\nreturn: The input parameter, as a signed integer",
13225
+ )
13226
+
13227
+ ScriptParamToFixedPoint16 = Symbol(
13228
+ None,
13229
+ None,
13230
+ None,
13231
+ "Converts the given opcode parameter to a 16-bit signed fixed-point number with 8 fraction bits.\n\nThe resulting number is encoded as (value) * 256, with the last byte acting as a fraction byte capable of representing multiples of 1/256.\n\nThe parameter will either be returned unchanged or modified depending on which of its two most significant bits (0x8000 and 0x4000) are set. Both bits are unset before running the operations listed below:\n- If the 0x4000 bit is set (sign bit), the value will be set to -16384 + value.\n- If the 0x8000 bit is set (fixed-point flag), the raw value is interpreted as being fixed-point already, and nothing else happens. Otherwise, it's assumed to be a normal integer and is converted to fixed-point by left-shifting it by 8 (moving the integer part to its proper place).\nBoth rules can be applied, in the same order as listed, if both conditions are met.\n\nr0: Parameter to convert\nreturn: The input parameter, as a 16-bit signed fixed-point number with 8 fraction bits",
13225
13232
  )
13226
13233
 
13227
13234
  StationLoadHanger = Symbol(None, None, None, "")
@@ -21767,6 +21774,13 @@ class EuItcmRamData:
21767
21774
  "Starts at 0 when the game is first launched, and continuously ticks up once per frame while the game is running.",
21768
21775
  )
21769
21776
 
21777
+ TOUCHSCREEN_STATUS = Symbol(
21778
+ None,
21779
+ None,
21780
+ None,
21781
+ "Status of the touchscreen, including the coordinates of the currently pressed position in pixels.",
21782
+ )
21783
+
21770
21784
  BAG_ITEMS = Symbol(
21771
21785
  None,
21772
21786
  None,
pmdsky_debug_py/jp.py CHANGED
@@ -8264,64 +8264,64 @@ class JpItcmSection:
8264
8264
 
8265
8265
  class JpLibsFunctions:
8266
8266
 
8267
- DseDriver_LoadDefaultSettings = Symbol(None, None, None, "")
8267
+ DseDriver_LoadDefaultSettings = Symbol([0xE8], [0x206C4A8], None, "")
8268
8268
 
8269
8269
  DseDriver_IsSettingsValid = Symbol(
8270
- None,
8271
- None,
8270
+ [0x180],
8271
+ [0x206C540],
8272
8272
  None,
8273
8273
  "r0: DSE driver settings\nreturn: Flags specifying what settings are invalid.",
8274
8274
  )
8275
8275
 
8276
- DseDriver_ConfigureHeap = Symbol(None, None, None, "")
8276
+ DseDriver_ConfigureHeap = Symbol([0x264], [0x206C624], None, "")
8277
8277
 
8278
- DseDriver_Init = Symbol(None, None, None, "")
8278
+ DseDriver_Init = Symbol([0x308], [0x206C6C8], None, "")
8279
8279
 
8280
- Dse_SetError = Symbol(None, None, None, "")
8280
+ Dse_SetError = Symbol([0x77C], [0x206CB3C], None, "")
8281
8281
 
8282
- Dse_SetError2 = Symbol(None, None, None, "")
8282
+ Dse_SetError2 = Symbol([0x7B0], [0x206CB70], None, "")
8283
8283
 
8284
- DseUtil_ByteSwap32 = Symbol(None, None, None, "")
8284
+ DseUtil_ByteSwap32 = Symbol([0x7EC], [0x206CBAC], None, "")
8285
8285
 
8286
8286
  SoundUtil_GetRandomNumber = Symbol(
8287
8287
  [0x81C], [0x206CBDC], None, "return: random number in the range [0, 32767]"
8288
8288
  )
8289
8289
 
8290
- DseMem_Init = Symbol(None, None, None, "")
8290
+ DseMem_Init = Symbol([0x844], [0x206CC04], None, "")
8291
8291
 
8292
- DseMem_Quit = Symbol(None, None, None, "")
8292
+ DseMem_Quit = Symbol([0x8B4], [0x206CC74], None, "")
8293
8293
 
8294
8294
  DseMem_AllocateUser = Symbol(None, None, None, "")
8295
8295
 
8296
- DseMem_Allocate = Symbol(None, None, None, "")
8296
+ DseMem_Allocate = Symbol([0x8E4], [0x206CCA4], None, "")
8297
8297
 
8298
- DseMem_AllocateThreadStack = Symbol(None, None, None, "")
8298
+ DseMem_AllocateThreadStack = Symbol([0x9F4], [0x206CDB4], None, "")
8299
8299
 
8300
- DseMem_Free = Symbol(None, None, None, "")
8300
+ DseMem_Free = Symbol([0xB3C], [0x206CEFC], None, "")
8301
8301
 
8302
- DseMem_Clear = Symbol(None, None, None, "")
8302
+ DseMem_Clear = Symbol([0xBE4], [0x206CFA4], None, "")
8303
8303
 
8304
- DseFile_CheckHeader = Symbol(None, None, None, "")
8304
+ DseFile_CheckHeader = Symbol([0xC44], [0x206D004], None, "")
8305
8305
 
8306
- DseSwd_SysInit = Symbol(None, None, None, "")
8306
+ DseSwd_SysInit = Symbol([0xCC4], [0x206D084], None, "")
8307
8307
 
8308
- DseSwd_SysQuit = Symbol(None, None, None, "")
8308
+ DseSwd_SysQuit = Symbol([0xD50], [0x206D110], None, "")
8309
8309
 
8310
- DseSwd_SampleLoaderMain = Symbol(None, None, None, "")
8310
+ DseSwd_SampleLoaderMain = Symbol([0xD90], [0x206D150], None, "")
8311
8311
 
8312
- DseSwd_MainBankDummyCallback = Symbol(None, None, None, "")
8312
+ DseSwd_MainBankDummyCallback = Symbol([0xDF0], [0x206D1B0], None, "")
8313
8313
 
8314
- DseSwd_LoadMainBank = Symbol(None, None, None, "")
8314
+ DseSwd_LoadMainBank = Symbol([0xDF8], [0x206D1B8], None, "")
8315
8315
 
8316
- DseSwd_LoadBank = Symbol(None, None, None, "")
8316
+ DseSwd_LoadBank = Symbol([0x1030], [0x206D3F0], None, "")
8317
8317
 
8318
- DseSwd_IsBankLoading = Symbol(None, None, None, "")
8318
+ DseSwd_IsBankLoading = Symbol([0x1234], [0x206D5F4], None, "")
8319
8319
 
8320
- DseSwd_LoadWaves = Symbol(None, None, None, "")
8320
+ DseSwd_LoadWaves = Symbol([0x1250], [0x206D610], None, "")
8321
8321
 
8322
- DseSwd_LoadWavesInternal = Symbol(None, None, None, "")
8322
+ DseSwd_LoadWavesInternal = Symbol([0x1300], [0x206D6C0], None, "")
8323
8323
 
8324
- DseSwd_Unload = Symbol(None, None, None, "")
8324
+ DseSwd_Unload = Symbol([0x140C], [0x206D7CC], None, "")
8325
8325
 
8326
8326
  ReadWaviEntry = Symbol(
8327
8327
  [0x1480],
@@ -8330,31 +8330,31 @@ class JpLibsFunctions:
8330
8330
  "Reads an entry from the pointer table of a wavi container and returns a pointer to the data of said entry, which contains information about a particular sample.\n\nr0: Wavi data struct\nr1: Entry index\nreturn: Pointer to the entry's data",
8331
8331
  )
8332
8332
 
8333
- DseSwd_GetInstrument = Symbol(None, None, None, "")
8333
+ DseSwd_GetInstrument = Symbol([0x14B8], [0x206D878], None, "")
8334
8334
 
8335
- DseSwd_GetNextSplitInRange = Symbol(None, None, None, "")
8335
+ DseSwd_GetNextSplitInRange = Symbol([0x14F0], [0x206D8B0], None, "")
8336
8336
 
8337
- DseSwd_GetMainBankById = Symbol(None, None, None, "")
8337
+ DseSwd_GetMainBankById = Symbol([0x1578], [0x206D938], None, "")
8338
8338
 
8339
- DseSwd_GetBankById = Symbol(None, None, None, "")
8339
+ DseSwd_GetBankById = Symbol([0x15C8], [0x206D988], None, "")
8340
8340
 
8341
- DseSwd_InitMainBankFileReader = Symbol(None, None, None, "")
8341
+ DseSwd_InitMainBankFileReader = Symbol([0x1618], [0x206D9D8], None, "")
8342
8342
 
8343
- DseSwd_OpenMainBankFileReader = Symbol(None, None, None, "")
8343
+ DseSwd_OpenMainBankFileReader = Symbol([0x1628], [0x206D9E8], None, "")
8344
8344
 
8345
- DseSwd_CloseMainBankFileReader = Symbol(None, None, None, "")
8345
+ DseSwd_CloseMainBankFileReader = Symbol([0x1654], [0x206DA14], None, "")
8346
8346
 
8347
- DseSwd_ReadMainBank = Symbol(None, None, None, "")
8347
+ DseSwd_ReadMainBank = Symbol([0x1664], [0x206DA24], None, "")
8348
8348
 
8349
- DseBgm_DefaultSignalCallback = Symbol(None, None, None, "")
8349
+ DseBgm_DefaultSignalCallback = Symbol([0x1728], [0x206DAE8], None, "")
8350
8350
 
8351
- DseBgm_Load = Symbol(None, None, None, "")
8351
+ DseBgm_Load = Symbol([0x1730], [0x206DAF0], None, "")
8352
8352
 
8353
- DseBgm_Unload = Symbol(None, None, None, "")
8353
+ DseBgm_Unload = Symbol([0x1834], [0x206DBF4], None, "")
8354
8354
 
8355
- DseBgm_SetSignalCallback = Symbol(None, None, None, "")
8355
+ DseBgm_SetSignalCallback = Symbol([0x186C], [0x206DC2C], None, "")
8356
8356
 
8357
- DseBgm_IsPlaying = Symbol(None, None, None, "")
8357
+ DseBgm_IsPlaying = Symbol([0x18CC], [0x206DC8C], None, "")
8358
8358
 
8359
8359
  ResumeBgm = Symbol(
8360
8360
  [0x18E4],
@@ -8363,25 +8363,25 @@ class JpLibsFunctions:
8363
8363
  "Uncertain.\n\nNote: unverified, ported from Irdkwia's notes",
8364
8364
  )
8365
8365
 
8366
- DseBgm_Stop = Symbol(None, None, None, "")
8366
+ DseBgm_Stop = Symbol([0x19C4], [0x206DD84], None, "")
8367
8367
 
8368
- DseBgm_StopAll = Symbol(None, None, None, "")
8368
+ DseBgm_StopAll = Symbol([0x1A04], [0x206DDC4], None, "")
8369
8369
 
8370
- DseBgm_SetFades = Symbol(None, None, None, "")
8370
+ DseBgm_SetFades = Symbol([0x1A64], [0x206DE24], None, "")
8371
8371
 
8372
- DseSequence_Start = Symbol(None, None, None, "")
8372
+ DseSequence_Start = Symbol([0x1AA4], [0x206DE64], None, "")
8373
8373
 
8374
- DseSequence_PauseList = Symbol(None, None, None, "")
8374
+ DseSequence_PauseList = Symbol([0x1B34], [0x206DEF4], None, "")
8375
8375
 
8376
- DseSequence_SetFades = Symbol(None, None, None, "")
8376
+ DseSequence_SetFades = Symbol([0x1C98], [0x206E058], None, "")
8377
8377
 
8378
- DseSequence_GetParameter = Symbol(None, None, None, "")
8378
+ DseSequence_GetParameter = Symbol([0x1F8C], [0x206E34C], None, "")
8379
8379
 
8380
- DseSequence_GetSmallestNumLoops = Symbol(None, None, None, "")
8380
+ DseSequence_GetSmallestNumLoops = Symbol([0x2140], [0x206E500], None, "")
8381
8381
 
8382
- DseSequence_Reset = Symbol(None, None, None, "")
8382
+ DseSequence_Reset = Symbol([0x2194], [0x206E554], None, "")
8383
8383
 
8384
- DseSequence_Stop = Symbol(None, None, None, "")
8384
+ DseSequence_Stop = Symbol([0x22EC], [0x206E6AC], None, "")
8385
8385
 
8386
8386
  FindSmdlSongChunk = Symbol(
8387
8387
  [0x2410],
@@ -8390,59 +8390,59 @@ class JpLibsFunctions:
8390
8390
  "Finds the first song chunk within an SMDL file that has the specified value on its 0x10 field.\n\nSee https://projectpokemon.org/home/docs/mystery-dungeon-nds/dse-smdl-format-r13/.\n\nr0: Pointer to the start of the SMDL file\nr1: Value to search for\nreturn: Pointer to the first chunk that has the specified value + 0x10, or null if no chunk was found.",
8391
8391
  )
8392
8392
 
8393
- DseSequence_LoadSong = Symbol(None, None, None, "")
8393
+ DseSequence_LoadSong = Symbol([0x247C], [0x206E83C], None, "")
8394
8394
 
8395
- DseSequence_GetById = Symbol(None, None, None, "")
8395
+ DseSequence_GetById = Symbol([0x257C], [0x206E93C], None, "")
8396
8396
 
8397
- DseSequence_AllocateNew = Symbol(None, None, None, "")
8397
+ DseSequence_AllocateNew = Symbol([0x25C8], [0x206E988], None, "")
8398
8398
 
8399
- DseSequence_Unload = Symbol(None, None, None, "")
8399
+ DseSequence_Unload = Symbol([0x2700], [0x206EAC0], None, "")
8400
8400
 
8401
- DseSequence_InitTracks = Symbol(None, None, None, "")
8401
+ DseSequence_InitTracks = Symbol([0x2784], [0x206EB44], None, "")
8402
8402
 
8403
- DseBgm_SysSetupNoteList = Symbol(None, None, None, "")
8403
+ DseBgm_SysSetupNoteList = Symbol([0x27D4], [0x206EB94], None, "")
8404
8404
 
8405
- DseSe_SysReset = Symbol(None, None, None, "")
8405
+ DseSe_SysReset = Symbol([0x2848], [0x206EC08], None, "")
8406
8406
 
8407
- DseSe_Load = Symbol(None, None, None, "")
8407
+ DseSe_Load = Symbol([0x2940], [0x206ED00], None, "")
8408
8408
 
8409
- DseSe_Unload = Symbol(None, None, None, "")
8409
+ DseSe_Unload = Symbol([0x2AF4], [0x206EEB4], None, "")
8410
8410
 
8411
- DseSe_GetUsedBankIDs = Symbol(None, None, None, "")
8411
+ DseSe_GetUsedBankIDs = Symbol([0x2B84], [0x206EF44], None, "")
8412
8412
 
8413
- DseSe_HasPlayingInstances = Symbol(None, None, None, "")
8413
+ DseSe_HasPlayingInstances = Symbol([0x2C58], [0x206F018], None, "")
8414
8414
 
8415
- DseSe_Play = Symbol(None, None, None, "")
8415
+ DseSe_Play = Symbol([0x2D24], [0x206F0E4], None, "")
8416
8416
 
8417
- DseSe_GetEffectSong = Symbol(None, None, None, "")
8417
+ DseSe_GetEffectSong = Symbol([0x2ED8], [0x206F298], None, "")
8418
8418
 
8419
- DseSe_CheckTooManyInstances = Symbol(None, None, None, "")
8419
+ DseSe_CheckTooManyInstances = Symbol([0x2F20], [0x206F2E0], None, "")
8420
8420
 
8421
- DseSe_CheckTooManyInstancesInGroup = Symbol(None, None, None, "")
8421
+ DseSe_CheckTooManyInstancesInGroup = Symbol([0x3028], [0x206F3E8], None, "")
8422
8422
 
8423
- DseSe_GetBestSeqAllocation = Symbol(None, None, None, "")
8423
+ DseSe_GetBestSeqAllocation = Symbol([0x31EC], [0x206F5AC], None, "")
8424
8424
 
8425
- DseSe_GetById = Symbol(None, None, None, "")
8425
+ DseSe_GetById = Symbol([0x3268], [0x206F628], None, "")
8426
8426
 
8427
- DseSe_Stop = Symbol(None, None, None, "")
8427
+ DseSe_Stop = Symbol([0x32B4], [0x206F674], None, "")
8428
8428
 
8429
- DseSe_StopAll = Symbol(None, None, None, "")
8429
+ DseSe_StopAll = Symbol([0x3408], [0x206F7C8], None, "")
8430
8430
 
8431
- DseSe_StopSeq = Symbol(None, None, None, "")
8431
+ DseSe_StopSeq = Symbol([0x3474], [0x206F834], None, "")
8432
8432
 
8433
8433
  FlushChannels = Symbol(
8434
8434
  [0x459C], [0x207095C], None, "Note: unverified, ported from Irdkwia's notes"
8435
8435
  )
8436
8436
 
8437
- DseDriver_StartMainThread = Symbol(None, None, None, "")
8437
+ DseDriver_StartMainThread = Symbol([0x4D34], [0x20710F4], None, "")
8438
8438
 
8439
- DseDriver_StartTickTimer = Symbol(None, None, None, "")
8439
+ DseDriver_StartTickTimer = Symbol([0x4E04], [0x20711C4], None, "")
8440
8440
 
8441
- DseDriver_NotifyTick = Symbol(None, None, None, "")
8441
+ DseDriver_NotifyTick = Symbol([0x4EFC], [0x20712BC], None, "")
8442
8442
 
8443
- DseDriver_Main = Symbol(None, None, None, "")
8443
+ DseDriver_Main = Symbol([0x4F3C], [0x20712FC], None, "")
8444
8444
 
8445
- DseSequence_TickNotes = Symbol(None, None, None, "")
8445
+ DseSequence_TickNotes = Symbol([0x5088], [0x2071448], None, "")
8446
8446
 
8447
8447
  ParseDseEvent = Symbol(
8448
8448
  [0x514C],
@@ -8458,199 +8458,201 @@ class JpLibsFunctions:
8458
8458
  "From https://projectpokemon.org/docs/mystery-dungeon-nds/procyon-studios-digital-sound-elements-r12/",
8459
8459
  )
8460
8460
 
8461
- DseSequence_TickFades = Symbol(None, None, None, "")
8461
+ DseSequence_TickFades = Symbol([0x56AC], [0x2071A6C], None, "")
8462
8462
 
8463
- DseTrackEvent_Invalid = Symbol(None, None, None, "")
8463
+ DseTrackEvent_Invalid = Symbol([0x5844], [0x2071C04], None, "")
8464
8464
 
8465
- DseTrackEvent_WaitSame = Symbol(None, None, None, "")
8465
+ DseTrackEvent_WaitSame = Symbol([0x5850], [0x2071C10], None, "")
8466
8466
 
8467
- DseTrackEvent_WaitDelta = Symbol(None, None, None, "")
8467
+ DseTrackEvent_WaitDelta = Symbol([0x585C], [0x2071C1C], None, "")
8468
8468
 
8469
- DseTrackEvent_Wait8 = Symbol(None, None, None, "")
8469
+ DseTrackEvent_Wait8 = Symbol([0x5874], [0x2071C34], None, "")
8470
8470
 
8471
- DseTrackEvent_Wait16 = Symbol(None, None, None, "")
8471
+ DseTrackEvent_Wait16 = Symbol([0x5884], [0x2071C44], None, "")
8472
8472
 
8473
- DseTrackEvent_Wait24 = Symbol(None, None, None, "")
8473
+ DseTrackEvent_Wait24 = Symbol([0x58A0], [0x2071C60], None, "")
8474
8474
 
8475
- DseTrackEvent_WaitUntilFadeout = Symbol(None, None, None, "")
8475
+ DseTrackEvent_WaitUntilFadeout = Symbol([0x58C4], [0x2071C84], None, "")
8476
8476
 
8477
- DseTrackEvent_EndTrack = Symbol(None, None, None, "")
8477
+ DseTrackEvent_EndTrack = Symbol([0x58F0], [0x2071CB0], None, "")
8478
8478
 
8479
- DseTrackEvent_MainLoopBegin = Symbol(None, None, None, "")
8479
+ DseTrackEvent_MainLoopBegin = Symbol([0x593C], [0x2071CFC], None, "")
8480
8480
 
8481
- DseTrackEvent_SubLoopBegin = Symbol(None, None, None, "")
8481
+ DseTrackEvent_SubLoopBegin = Symbol([0x5944], [0x2071D04], None, "")
8482
8482
 
8483
- DseTrackEvent_SubLoopEnd = Symbol(None, None, None, "")
8483
+ DseTrackEvent_SubLoopEnd = Symbol([0x5984], [0x2071D44], None, "")
8484
8484
 
8485
- DseTrackEvent_SubLoopBreakOnLastIteration = Symbol(None, None, None, "")
8485
+ DseTrackEvent_SubLoopBreakOnLastIteration = Symbol([0x59C0], [0x2071D80], None, "")
8486
8486
 
8487
- DseTrackEvent_SetOctave = Symbol(None, None, None, "")
8487
+ DseTrackEvent_SetOctave = Symbol([0x59E8], [0x2071DA8], None, "")
8488
8488
 
8489
- DseTrackEvent_OctaveDelta = Symbol(None, None, None, "")
8489
+ DseTrackEvent_OctaveDelta = Symbol([0x59F4], [0x2071DB4], None, "")
8490
8490
 
8491
- DseTrackEvent_SetBpm = Symbol(None, None, None, "")
8491
+ DseTrackEvent_SetBpm = Symbol([0x5A08], [0x2071DC8], None, "")
8492
8492
 
8493
- DseTrackEvent_SetBpm2 = Symbol(None, None, None, "")
8493
+ DseTrackEvent_SetBpm2 = Symbol([0x5A48], [0x2071E08], None, "")
8494
8494
 
8495
- DseTrackEvent_SetBank = Symbol(None, None, None, "")
8495
+ DseTrackEvent_SetBank = Symbol([0x5A88], [0x2071E48], None, "")
8496
8496
 
8497
- DseTrackEvent_SetBankMsb = Symbol(None, None, None, "")
8497
+ DseTrackEvent_SetBankMsb = Symbol([0x5AB4], [0x2071E74], None, "")
8498
8498
 
8499
- DseTrackEvent_SetBankLsb = Symbol(None, None, None, "")
8499
+ DseTrackEvent_SetBankLsb = Symbol([0x5AE4], [0x2071EA4], None, "")
8500
8500
 
8501
- DseTrackEvent_Dummy1Byte = Symbol(None, None, None, "")
8501
+ DseTrackEvent_Dummy1Byte = Symbol([0x5B14], [0x2071ED4], None, "")
8502
8502
 
8503
- DseTrackEvent_SetInstrument = Symbol(None, None, None, "")
8503
+ DseTrackEvent_SetInstrument = Symbol([0x5B1C], [0x2071EDC], None, "")
8504
8504
 
8505
- DseTrackEvent_SongVolumeFade = Symbol(None, None, None, "")
8505
+ DseTrackEvent_SongVolumeFade = Symbol([0x5B64], [0x2071F24], None, "")
8506
8506
 
8507
- DseTrackEvent_RestoreEnvelopeDefaults = Symbol(None, None, None, "")
8507
+ DseTrackEvent_RestoreEnvelopeDefaults = Symbol([0x5BF0], [0x2071FB0], None, "")
8508
8508
 
8509
- DseTrackEvent_SetEnvelopeAttackBegin = Symbol(None, None, None, "")
8509
+ DseTrackEvent_SetEnvelopeAttackBegin = Symbol([0x5C08], [0x2071FC8], None, "")
8510
8510
 
8511
- DseTrackEvent_SetEnvelopeAttackTime = Symbol(None, None, None, "")
8511
+ DseTrackEvent_SetEnvelopeAttackTime = Symbol([0x5C28], [0x2071FE8], None, "")
8512
8512
 
8513
- DseTrackEvent_SetEnvelopeHoldTime = Symbol(None, None, None, "")
8513
+ DseTrackEvent_SetEnvelopeHoldTime = Symbol([0x5C48], [0x2072008], None, "")
8514
8514
 
8515
- DseTrackEvent_SetEnvelopeDecayTimeAndSustainLevel = Symbol(None, None, None, "")
8515
+ DseTrackEvent_SetEnvelopeDecayTimeAndSustainLevel = Symbol(
8516
+ [0x5C68], [0x2072028], None, ""
8517
+ )
8516
8518
 
8517
- DseTrackEvent_SetEnvelopeSustainTime = Symbol(None, None, None, "")
8519
+ DseTrackEvent_SetEnvelopeSustainTime = Symbol([0x5C98], [0x2072058], None, "")
8518
8520
 
8519
- DseTrackEvent_SetEnvelopeReleaseTime = Symbol(None, None, None, "")
8521
+ DseTrackEvent_SetEnvelopeReleaseTime = Symbol([0x5CB8], [0x2072078], None, "")
8520
8522
 
8521
- DseTrackEvent_SetNoteDurationMultiplier = Symbol(None, None, None, "")
8523
+ DseTrackEvent_SetNoteDurationMultiplier = Symbol([0x5CD8], [0x2072098], None, "")
8522
8524
 
8523
- DseTrackEvent_ForceLfoEnvelopeLevel = Symbol(None, None, None, "")
8525
+ DseTrackEvent_ForceLfoEnvelopeLevel = Symbol([0x5CE4], [0x20720A4], None, "")
8524
8526
 
8525
- DseTrackEvent_SetHoldNotes = Symbol(None, None, None, "")
8527
+ DseTrackEvent_SetHoldNotes = Symbol([0x5D00], [0x20720C0], None, "")
8526
8528
 
8527
- DseTrackEvent_SetFlagBit1Unknown = Symbol(None, None, None, "")
8529
+ DseTrackEvent_SetFlagBit1Unknown = Symbol([0x5D38], [0x20720F8], None, "")
8528
8530
 
8529
- DseTrackEvent_SetOptionalVolume = Symbol(None, None, None, "")
8531
+ DseTrackEvent_SetOptionalVolume = Symbol([0x5D48], [0x2072108], None, "")
8530
8532
 
8531
- DseTrackEvent_Dummy2Bytes = Symbol(None, None, None, "")
8533
+ DseTrackEvent_Dummy2Bytes = Symbol([0x5D54], [0x2072114], None, "")
8532
8534
 
8533
- DseTrackEvent_SetTuning = Symbol(None, None, None, "")
8535
+ DseTrackEvent_SetTuning = Symbol([0x5D5C], [0x207211C], None, "")
8534
8536
 
8535
- DseTrackEvent_TuningDeltaCoarse = Symbol(None, None, None, "")
8537
+ DseTrackEvent_TuningDeltaCoarse = Symbol([0x5DDC], [0x207219C], None, "")
8536
8538
 
8537
- DseTrackEvent_TuningDeltaFine = Symbol(None, None, None, "")
8539
+ DseTrackEvent_TuningDeltaFine = Symbol([0x5E64], [0x2072224], None, "")
8538
8540
 
8539
- DseTrackEvent_TuningDeltaFull = Symbol(None, None, None, "")
8541
+ DseTrackEvent_TuningDeltaFull = Symbol([0x5EEC], [0x20722AC], None, "")
8540
8542
 
8541
- DseTrackEvent_TuningFade = Symbol(None, None, None, "")
8543
+ DseTrackEvent_TuningFade = Symbol([0x5F7C], [0x207233C], None, "")
8542
8544
 
8543
- DseTrackEvent_SetNoteRandomRegion = Symbol(None, None, None, "")
8545
+ DseTrackEvent_SetNoteRandomRegion = Symbol([0x606C], [0x207242C], None, "")
8544
8546
 
8545
- DseTrackEvent_SetTuningJitterAmplitude = Symbol(None, None, None, "")
8547
+ DseTrackEvent_SetTuningJitterAmplitude = Symbol([0x6094], [0x2072454], None, "")
8546
8548
 
8547
- DseTrackEvent_SetKeyBend = Symbol(None, None, None, "")
8549
+ DseTrackEvent_SetKeyBend = Symbol([0x60AC], [0x207246C], None, "")
8548
8550
 
8549
- DseTrackEvent_SetUnknown2 = Symbol(None, None, None, "")
8551
+ DseTrackEvent_SetUnknown2 = Symbol([0x60D8], [0x2072498], None, "")
8550
8552
 
8551
- DseTrackEvent_SetKeyBendRange = Symbol(None, None, None, "")
8553
+ DseTrackEvent_SetKeyBendRange = Symbol([0x60F0], [0x20724B0], None, "")
8552
8554
 
8553
- DseTrackEvent_SetupKeyBendLfo = Symbol(None, None, None, "")
8555
+ DseTrackEvent_SetupKeyBendLfo = Symbol([0x60FC], [0x20724BC], None, "")
8554
8556
 
8555
- DseTrackEvent_SetupKeyBendLfoEnvelope = Symbol(None, None, None, "")
8557
+ DseTrackEvent_SetupKeyBendLfoEnvelope = Symbol([0x6154], [0x2072514], None, "")
8556
8558
 
8557
- DseTrackEvent_UseKeyBendLfo = Symbol(None, None, None, "")
8559
+ DseTrackEvent_UseKeyBendLfo = Symbol([0x617C], [0x207253C], None, "")
8558
8560
 
8559
- DseTrackEvent_SetVolume = Symbol(None, None, None, "")
8561
+ DseTrackEvent_SetVolume = Symbol([0x61A4], [0x2072564], None, "")
8560
8562
 
8561
- DseTrackEvent_VolumeDelta = Symbol(None, None, None, "")
8563
+ DseTrackEvent_VolumeDelta = Symbol([0x6238], [0x20725F8], None, "")
8562
8564
 
8563
- DseTrackEvent_VolumeFade = Symbol(None, None, None, "")
8565
+ DseTrackEvent_VolumeFade = Symbol([0x62E8], [0x20726A8], None, "")
8564
8566
 
8565
- DseTrackEvent_SetExpression = Symbol(None, None, None, "")
8567
+ DseTrackEvent_SetExpression = Symbol([0x6344], [0x2072704], None, "")
8566
8568
 
8567
- DseTrackEvent_SetupVolumeLfo = Symbol(None, None, None, "")
8569
+ DseTrackEvent_SetupVolumeLfo = Symbol([0x63D0], [0x2072790], None, "")
8568
8570
 
8569
- DseTrackEvent_SetupVolumeLfoEnvelope = Symbol(None, None, None, "")
8571
+ DseTrackEvent_SetupVolumeLfoEnvelope = Symbol([0x642C], [0x20727EC], None, "")
8570
8572
 
8571
- DseTrackEvent_UseVolumeLfo = Symbol(None, None, None, "")
8573
+ DseTrackEvent_UseVolumeLfo = Symbol([0x6454], [0x2072814], None, "")
8572
8574
 
8573
- DseTrackEvent_SetPan = Symbol(None, None, None, "")
8575
+ DseTrackEvent_SetPan = Symbol([0x647C], [0x207283C], None, "")
8574
8576
 
8575
- DseTrackEvent_PanDelta = Symbol(None, None, None, "")
8577
+ DseTrackEvent_PanDelta = Symbol([0x64FC], [0x20728BC], None, "")
8576
8578
 
8577
- DseTrackEvent_PanFade = Symbol(None, None, None, "")
8579
+ DseTrackEvent_PanFade = Symbol([0x6590], [0x2072950], None, "")
8578
8580
 
8579
- DseTrackEvent_SetupPanLfo = Symbol(None, None, None, "")
8581
+ DseTrackEvent_SetupPanLfo = Symbol([0x65EC], [0x20729AC], None, "")
8580
8582
 
8581
- DseTrackEvent_SetupPanLfoEnvelope = Symbol(None, None, None, "")
8583
+ DseTrackEvent_SetupPanLfoEnvelope = Symbol([0x6648], [0x2072A08], None, "")
8582
8584
 
8583
- DseTrackEvent_UsePanLfo = Symbol(None, None, None, "")
8585
+ DseTrackEvent_UsePanLfo = Symbol([0x6670], [0x2072A30], None, "")
8584
8586
 
8585
- DseTrackEvent_SetupLfo = Symbol(None, None, None, "")
8587
+ DseTrackEvent_SetupLfo = Symbol([0x6698], [0x2072A58], None, "")
8586
8588
 
8587
- DseTrackEvent_SetupLfoEnvelope = Symbol(None, None, None, "")
8589
+ DseTrackEvent_SetupLfoEnvelope = Symbol([0x66F0], [0x2072AB0], None, "")
8588
8590
 
8589
- DseTrackEvent_SetLfoParameter = Symbol(None, None, None, "")
8591
+ DseTrackEvent_SetLfoParameter = Symbol([0x6724], [0x2072AE4], None, "")
8590
8592
 
8591
- DseTrackEvent_UseLfo = Symbol(None, None, None, "")
8593
+ DseTrackEvent_UseLfo = Symbol([0x6860], [0x2072C20], None, "")
8592
8594
 
8593
- DseTrackEvent_Signal = Symbol(None, None, None, "")
8595
+ DseTrackEvent_Signal = Symbol([0x6894], [0x2072C54], None, "")
8594
8596
 
8595
- DseTrackEvent_Dummy2Bytes2 = Symbol(None, None, None, "")
8597
+ DseTrackEvent_Dummy2Bytes2 = Symbol([0x68C4], [0x2072C84], None, "")
8596
8598
 
8597
- DseSynth_Reset = Symbol(None, None, None, "")
8599
+ DseSynth_Reset = Symbol([0x7130], [0x20734F0], None, "")
8598
8600
 
8599
- DseSynth_AllocateNew = Symbol(None, None, None, "")
8601
+ DseSynth_AllocateNew = Symbol([0x71A8], [0x2073568], None, "")
8600
8602
 
8601
- DseSynth_Unload = Symbol(None, None, None, "")
8603
+ DseSynth_Unload = Symbol([0x7278], [0x2073638], None, "")
8602
8604
 
8603
- DseSynth_ClearHeldNotes = Symbol(None, None, None, "")
8605
+ DseSynth_ClearHeldNotes = Symbol([0x72E4], [0x20736A4], None, "")
8604
8606
 
8605
- DseSynth_ResetAndSetBankAndSequence = Symbol(None, None, None, "")
8607
+ DseSynth_ResetAndSetBankAndSequence = Symbol([0x7380], [0x2073740], None, "")
8606
8608
 
8607
- DseSynth_StopChannels = Symbol(None, None, None, "")
8609
+ DseSynth_StopChannels = Symbol([0x73A8], [0x2073768], None, "")
8608
8610
 
8609
- DseSynth_ResetAllVoiceTimersAndVolumes = Symbol(None, None, None, "")
8611
+ DseSynth_ResetAllVoiceTimersAndVolumes = Symbol([0x73D4], [0x2073794], None, "")
8610
8612
 
8611
- DseSynth_RestoreHeldNotes = Symbol(None, None, None, "")
8613
+ DseSynth_RestoreHeldNotes = Symbol([0x742C], [0x20737EC], None, "")
8612
8614
 
8613
- DseSynth_SetGlobalVolumeIndex = Symbol(None, None, None, "")
8615
+ DseSynth_SetGlobalVolumeIndex = Symbol([0x7494], [0x2073854], None, "")
8614
8616
 
8615
- DseSynth_SetBend = Symbol(None, None, None, "")
8617
+ DseSynth_SetBend = Symbol([0x757C], [0x207393C], None, "")
8616
8618
 
8617
- DseSynth_SetVolume = Symbol(None, None, None, "")
8619
+ DseSynth_SetVolume = Symbol([0x7610], [0x20739D0], None, "")
8618
8620
 
8619
- DseSynth_SetPan = Symbol(None, None, None, "")
8621
+ DseSynth_SetPan = Symbol([0x76E0], [0x2073AA0], None, "")
8620
8622
 
8621
- DseSynth_SetBankAndSequence = Symbol(None, None, None, "")
8623
+ DseSynth_SetBankAndSequence = Symbol([0x7774], [0x2073B34], None, "")
8622
8624
 
8623
- DseChannel_Init = Symbol(None, None, None, "")
8625
+ DseChannel_Init = Symbol([0x7804], [0x2073BC4], None, "")
8624
8626
 
8625
- DseChannel_DeallocateVoices = Symbol(None, None, None, "")
8627
+ DseChannel_DeallocateVoices = Symbol([0x79B8], [0x2073D78], None, "")
8626
8628
 
8627
- DseChannel_ResetTimerAndVolumeForVoices = Symbol(None, None, None, "")
8629
+ DseChannel_ResetTimerAndVolumeForVoices = Symbol([0x7A3C], [0x2073DFC], None, "")
8628
8630
 
8629
- DseChannel_SetBank = Symbol(None, None, None, "")
8631
+ DseChannel_SetBank = Symbol([0x7AB8], [0x2073E78], None, "")
8630
8632
 
8631
- DseChannel_SetInstrument = Symbol(None, None, None, "")
8633
+ DseChannel_SetInstrument = Symbol([0x7AF0], [0x2073EB0], None, "")
8632
8634
 
8633
- DseChannel_SetLfoConstEnvelopeLevel = Symbol(None, None, None, "")
8635
+ DseChannel_SetLfoConstEnvelopeLevel = Symbol([0x7B84], [0x2073F44], None, "")
8634
8636
 
8635
- DseChannel_SetKeyBend = Symbol(None, None, None, "")
8637
+ DseChannel_SetKeyBend = Symbol([0x7BB8], [0x2073F78], None, "")
8636
8638
 
8637
- DseChannel_AllocateNote = Symbol(None, None, None, "")
8639
+ DseChannel_AllocateNote = Symbol([0x7C00], [0x2073FC0], None, "")
8638
8640
 
8639
- DseChannel_ReleaseNoteInternal = Symbol(None, None, None, "")
8641
+ DseChannel_ReleaseNoteInternal = Symbol([0x7C90], [0x2074050], None, "")
8640
8642
 
8641
- DseChannel_ChangeNote = Symbol(None, None, None, "")
8643
+ DseChannel_ChangeNote = Symbol([0x7D38], [0x20740F8], None, "")
8642
8644
 
8643
- DseChannel_ReleaseNote = Symbol(None, None, None, "")
8645
+ DseChannel_ReleaseNote = Symbol([0x7DC8], [0x2074188], None, "")
8644
8646
 
8645
- DseVoice_PlayNote = Symbol(None, None, None, "")
8647
+ DseVoice_PlayNote = Symbol([0x7E04], [0x20741C4], None, "")
8646
8648
 
8647
- DseVoice_ReleaseNote = Symbol(None, None, None, "")
8649
+ DseVoice_ReleaseNote = Symbol([0x8078], [0x2074438], None, "")
8648
8650
 
8649
- DseVoice_UpdateParameters = Symbol(None, None, None, "")
8651
+ DseVoice_UpdateParameters = Symbol([0x80BC], [0x207447C], None, "")
8650
8652
 
8651
- DseVoice_ResetAll = Symbol(None, None, None, "")
8653
+ DseVoice_ResetAll = Symbol([0x8260], [0x2074620], None, "")
8652
8654
 
8653
- DseVoice_ResetHW = Symbol(None, None, None, "")
8655
+ DseVoice_ResetHW = Symbol([0x8304], [0x20746C4], None, "")
8654
8656
 
8655
8657
  UpdateChannels = Symbol(
8656
8658
  [0x83B4],
@@ -8659,25 +8661,25 @@ class JpLibsFunctions:
8659
8661
  "From https://projectpokemon.org/docs/mystery-dungeon-nds/procyon-studios-digital-sound-elements-r12/ and Irdkwia's notes.\n\nNo params.",
8660
8662
  )
8661
8663
 
8662
- DseVoice_Cleanup = Symbol(None, None, None, "")
8664
+ DseVoice_Cleanup = Symbol([0x84A4], [0x2074864], None, "")
8663
8665
 
8664
- DseVoice_Allocate = Symbol(None, None, None, "")
8666
+ DseVoice_Allocate = Symbol([0x8540], [0x2074900], None, "")
8665
8667
 
8666
- DseVoice_Start = Symbol(None, None, None, "")
8668
+ DseVoice_Start = Symbol([0x86A8], [0x2074A68], None, "")
8667
8669
 
8668
- DseVoice_ReleaseHeld = Symbol(None, None, None, "")
8670
+ DseVoice_ReleaseHeld = Symbol([0x8704], [0x2074AC4], None, "")
8669
8671
 
8670
- DseVoice_Release = Symbol(None, None, None, "")
8672
+ DseVoice_Release = Symbol([0x8784], [0x2074B44], None, "")
8671
8673
 
8672
- DseVoice_Deallocate = Symbol(None, None, None, "")
8674
+ DseVoice_Deallocate = Symbol([0x87C8], [0x2074B88], None, "")
8673
8675
 
8674
- DseVoice_FlagForActivation = Symbol(None, None, None, "")
8676
+ DseVoice_FlagForActivation = Symbol([0x88CC], [0x2074C8C], None, "")
8675
8677
 
8676
- DseVoice_FlagForDeactivation = Symbol(None, None, None, "")
8678
+ DseVoice_FlagForDeactivation = Symbol([0x891C], [0x2074CDC], None, "")
8677
8679
 
8678
- DseVoice_CountNumActiveInChannel = Symbol(None, None, None, "")
8680
+ DseVoice_CountNumActiveInChannel = Symbol([0x8954], [0x2074D14], None, "")
8679
8681
 
8680
- DseVoice_UpdateHardware = Symbol(None, None, None, "")
8682
+ DseVoice_UpdateHardware = Symbol([0x8980], [0x2074D40], None, "")
8681
8683
 
8682
8684
  SoundEnvelope_Reset = Symbol(
8683
8685
  [0x8B98], [0x2074F58], None, "r0: Sound envelope pointer"
@@ -13536,11 +13538,18 @@ class JpOverlay11Functions:
13536
13538
 
13537
13539
  SsbLoad2 = Symbol([0x8448], [0x22E5D28], None, "")
13538
13540
 
13539
- ProcessScriptParam = Symbol(
13541
+ ScriptParamToInt = Symbol(
13540
13542
  [0x85F8],
13541
13543
  [0x22E5ED8],
13542
13544
  None,
13543
- "Checks if the two most significant bits (0x8000 and 0x4000) are set on a given script opcode parameter, and modifies the value if so.\n\nr0: On input, the parameter. On output, the modified parameter if either of the two bits listed above is set, same parameter otherwise.",
13545
+ "Converts the given opcode parameter to a signed integer.\n\nThe parameter will be returned unchanged unless one of its two most significant bits (0x8000 and 0x4000) are set, in which case both bits will be cleared and the original value will be modified according to the following two rules:\n- If the 0x4000 bit is set (sign bit), the value will be set to -16384 + value.\n- If the 0x8000 bit is set (fixed-point flag), the value will be set to value / 256, rounded down.\nBoth rules can be applied, in the same order as listed, if both conditions are met.\n\nr0: Parameter to convert\nreturn: The input parameter, as a signed integer",
13546
+ )
13547
+
13548
+ ScriptParamToFixedPoint16 = Symbol(
13549
+ [0x862C],
13550
+ [0x22E5F0C],
13551
+ None,
13552
+ "Converts the given opcode parameter to a 16-bit signed fixed-point number with 8 fraction bits.\n\nThe resulting number is encoded as (value) * 256, with the last byte acting as a fraction byte capable of representing multiples of 1/256.\n\nThe parameter will either be returned unchanged or modified depending on which of its two most significant bits (0x8000 and 0x4000) are set. Both bits are unset before running the operations listed below:\n- If the 0x4000 bit is set (sign bit), the value will be set to -16384 + value.\n- If the 0x8000 bit is set (fixed-point flag), the raw value is interpreted as being fixed-point already, and nothing else happens. Otherwise, it's assumed to be a normal integer and is converted to fixed-point by left-shifting it by 8 (moving the integer part to its proper place).\nBoth rules can be applied, in the same order as listed, if both conditions are met.\n\nr0: Parameter to convert\nreturn: The input parameter, as a 16-bit signed fixed-point number with 8 fraction bits",
13544
13553
  )
13545
13554
 
13546
13555
  StationLoadHanger = Symbol([0x8920], [0x22E6200], None, "")
@@ -17528,8 +17537,8 @@ class JpOverlay29Functions:
17528
17537
  )
17529
17538
 
17530
17539
  ChangeMonsterAnimation = Symbol(
17531
- None,
17532
- None,
17540
+ [0x28618],
17541
+ [0x2305EF8],
17533
17542
  None,
17534
17543
  "Changes the animation a monster is currently playing. Optionally changes their direction as well.\n\nDoes nothing if the provided entity is not a monster.\n\nr0: Entity pointer\nr1: ID of the animation to set\nr2: Direction to turn the monster in, or DIR_NONE to keep the current direction",
17535
17544
  )
@@ -20601,15 +20610,15 @@ class JpOverlay29Functions:
20601
20610
  )
20602
20611
 
20603
20612
  DisplayFloorTip = Symbol(
20604
- None,
20605
- None,
20613
+ [0x7050C],
20614
+ [0x234DDEC],
20606
20615
  None,
20607
20616
  "Display the dungeon tip that displays on floor change, based on which tips have already been displayed.\n\nNo params.\n\nreturn: 1 if a tip has been displayed, 0 otherwise",
20608
20617
  )
20609
20618
 
20610
20619
  DisplayItemTip = Symbol(
20611
- None,
20612
- None,
20620
+ [0x70638],
20621
+ [0x234DF18],
20613
20622
  None,
20614
20623
  "Display the dungeon tip if not already displayed matching the (presumably newly acquired) item\n\nr0: item id\nreturn: 1 if a tip has been displayed, 0 otherwise",
20615
20624
  )
@@ -22135,6 +22144,13 @@ class JpRamData:
22135
22144
  "Starts at 0 when the game is first launched, and continuously ticks up once per frame while the game is running.",
22136
22145
  )
22137
22146
 
22147
+ TOUCHSCREEN_STATUS = Symbol(
22148
+ None,
22149
+ None,
22150
+ None,
22151
+ "Status of the touchscreen, including the coordinates of the currently pressed position in pixels.",
22152
+ )
22153
+
22138
22154
  BAG_ITEMS = Symbol(
22139
22155
  None,
22140
22156
  None,
@@ -13217,11 +13217,18 @@ class JpItcmOverlay11Functions:
13217
13217
 
13218
13218
  SsbLoad2 = Symbol(None, None, None, "")
13219
13219
 
13220
- ProcessScriptParam = Symbol(
13220
+ ScriptParamToInt = Symbol(
13221
13221
  None,
13222
13222
  None,
13223
13223
  None,
13224
- "Checks if the two most significant bits (0x8000 and 0x4000) are set on a given script opcode parameter, and modifies the value if so.\n\nr0: On input, the parameter. On output, the modified parameter if either of the two bits listed above is set, same parameter otherwise.",
13224
+ "Converts the given opcode parameter to a signed integer.\n\nThe parameter will be returned unchanged unless one of its two most significant bits (0x8000 and 0x4000) are set, in which case both bits will be cleared and the original value will be modified according to the following two rules:\n- If the 0x4000 bit is set (sign bit), the value will be set to -16384 + value.\n- If the 0x8000 bit is set (fixed-point flag), the value will be set to value / 256, rounded down.\nBoth rules can be applied, in the same order as listed, if both conditions are met.\n\nr0: Parameter to convert\nreturn: The input parameter, as a signed integer",
13225
+ )
13226
+
13227
+ ScriptParamToFixedPoint16 = Symbol(
13228
+ None,
13229
+ None,
13230
+ None,
13231
+ "Converts the given opcode parameter to a 16-bit signed fixed-point number with 8 fraction bits.\n\nThe resulting number is encoded as (value) * 256, with the last byte acting as a fraction byte capable of representing multiples of 1/256.\n\nThe parameter will either be returned unchanged or modified depending on which of its two most significant bits (0x8000 and 0x4000) are set. Both bits are unset before running the operations listed below:\n- If the 0x4000 bit is set (sign bit), the value will be set to -16384 + value.\n- If the 0x8000 bit is set (fixed-point flag), the raw value is interpreted as being fixed-point already, and nothing else happens. Otherwise, it's assumed to be a normal integer and is converted to fixed-point by left-shifting it by 8 (moving the integer part to its proper place).\nBoth rules can be applied, in the same order as listed, if both conditions are met.\n\nr0: Parameter to convert\nreturn: The input parameter, as a 16-bit signed fixed-point number with 8 fraction bits",
13225
13232
  )
13226
13233
 
13227
13234
  StationLoadHanger = Symbol(None, None, None, "")
@@ -21767,6 +21774,13 @@ class JpItcmRamData:
21767
21774
  "Starts at 0 when the game is first launched, and continuously ticks up once per frame while the game is running.",
21768
21775
  )
21769
21776
 
21777
+ TOUCHSCREEN_STATUS = Symbol(
21778
+ None,
21779
+ None,
21780
+ None,
21781
+ "Status of the touchscreen, including the coordinates of the currently pressed position in pixels.",
21782
+ )
21783
+
21770
21784
  BAG_ITEMS = Symbol(
21771
21785
  None,
21772
21786
  None,
pmdsky_debug_py/na.py CHANGED
@@ -13572,11 +13572,18 @@ class NaOverlay11Functions:
13572
13572
 
13573
13573
  SsbLoad2 = Symbol([0x84BC], [0x22E46FC], None, "")
13574
13574
 
13575
- ProcessScriptParam = Symbol(
13575
+ ScriptParamToInt = Symbol(
13576
13576
  [0x866C],
13577
13577
  [0x22E48AC],
13578
13578
  None,
13579
- "Checks if the two most significant bits (0x8000 and 0x4000) are set on a given script opcode parameter, and modifies the value if so.\n\nr0: On input, the parameter. On output, the modified parameter if either of the two bits listed above is set, same parameter otherwise.",
13579
+ "Converts the given opcode parameter to a signed integer.\n\nThe parameter will be returned unchanged unless one of its two most significant bits (0x8000 and 0x4000) are set, in which case both bits will be cleared and the original value will be modified according to the following two rules:\n- If the 0x4000 bit is set (sign bit), the value will be set to -16384 + value.\n- If the 0x8000 bit is set (fixed-point flag), the value will be set to value / 256, rounded down.\nBoth rules can be applied, in the same order as listed, if both conditions are met.\n\nr0: Parameter to convert\nreturn: The input parameter, as a signed integer",
13580
+ )
13581
+
13582
+ ScriptParamToFixedPoint16 = Symbol(
13583
+ [0x86A0],
13584
+ [0x22E48E0],
13585
+ None,
13586
+ "Converts the given opcode parameter to a 16-bit signed fixed-point number with 8 fraction bits.\n\nThe resulting number is encoded as (value) * 256, with the last byte acting as a fraction byte capable of representing multiples of 1/256.\n\nThe parameter will either be returned unchanged or modified depending on which of its two most significant bits (0x8000 and 0x4000) are set. Both bits are unset before running the operations listed below:\n- If the 0x4000 bit is set (sign bit), the value will be set to -16384 + value.\n- If the 0x8000 bit is set (fixed-point flag), the raw value is interpreted as being fixed-point already, and nothing else happens. Otherwise, it's assumed to be a normal integer and is converted to fixed-point by left-shifting it by 8 (moving the integer part to its proper place).\nBoth rules can be applied, in the same order as listed, if both conditions are met.\n\nr0: Parameter to convert\nreturn: The input parameter, as a 16-bit signed fixed-point number with 8 fraction bits",
13580
13587
  )
13581
13588
 
13582
13589
  StationLoadHanger = Symbol([0x8994], [0x22E4BD4], None, "")
@@ -22489,6 +22496,13 @@ class NaRamData:
22489
22496
  "Starts at 0 when the game is first launched, and continuously ticks up once per frame while the game is running.",
22490
22497
  )
22491
22498
 
22499
+ TOUCHSCREEN_STATUS = Symbol(
22500
+ [0x2A35DC],
22501
+ [0x22A35DC],
22502
+ 0x104,
22503
+ "Status of the touchscreen, including the coordinates of the currently pressed position in pixels.",
22504
+ )
22505
+
22492
22506
  BAG_ITEMS = Symbol(
22493
22507
  [0x2A3824],
22494
22508
  [0x22A3824],
@@ -13217,11 +13217,18 @@ class NaItcmOverlay11Functions:
13217
13217
 
13218
13218
  SsbLoad2 = Symbol(None, None, None, "")
13219
13219
 
13220
- ProcessScriptParam = Symbol(
13220
+ ScriptParamToInt = Symbol(
13221
13221
  None,
13222
13222
  None,
13223
13223
  None,
13224
- "Checks if the two most significant bits (0x8000 and 0x4000) are set on a given script opcode parameter, and modifies the value if so.\n\nr0: On input, the parameter. On output, the modified parameter if either of the two bits listed above is set, same parameter otherwise.",
13224
+ "Converts the given opcode parameter to a signed integer.\n\nThe parameter will be returned unchanged unless one of its two most significant bits (0x8000 and 0x4000) are set, in which case both bits will be cleared and the original value will be modified according to the following two rules:\n- If the 0x4000 bit is set (sign bit), the value will be set to -16384 + value.\n- If the 0x8000 bit is set (fixed-point flag), the value will be set to value / 256, rounded down.\nBoth rules can be applied, in the same order as listed, if both conditions are met.\n\nr0: Parameter to convert\nreturn: The input parameter, as a signed integer",
13225
+ )
13226
+
13227
+ ScriptParamToFixedPoint16 = Symbol(
13228
+ None,
13229
+ None,
13230
+ None,
13231
+ "Converts the given opcode parameter to a 16-bit signed fixed-point number with 8 fraction bits.\n\nThe resulting number is encoded as (value) * 256, with the last byte acting as a fraction byte capable of representing multiples of 1/256.\n\nThe parameter will either be returned unchanged or modified depending on which of its two most significant bits (0x8000 and 0x4000) are set. Both bits are unset before running the operations listed below:\n- If the 0x4000 bit is set (sign bit), the value will be set to -16384 + value.\n- If the 0x8000 bit is set (fixed-point flag), the raw value is interpreted as being fixed-point already, and nothing else happens. Otherwise, it's assumed to be a normal integer and is converted to fixed-point by left-shifting it by 8 (moving the integer part to its proper place).\nBoth rules can be applied, in the same order as listed, if both conditions are met.\n\nr0: Parameter to convert\nreturn: The input parameter, as a 16-bit signed fixed-point number with 8 fraction bits",
13225
13232
  )
13226
13233
 
13227
13234
  StationLoadHanger = Symbol(None, None, None, "")
@@ -21767,6 +21774,13 @@ class NaItcmRamData:
21767
21774
  "Starts at 0 when the game is first launched, and continuously ticks up once per frame while the game is running.",
21768
21775
  )
21769
21776
 
21777
+ TOUCHSCREEN_STATUS = Symbol(
21778
+ None,
21779
+ None,
21780
+ None,
21781
+ "Status of the touchscreen, including the coordinates of the currently pressed position in pixels.",
21782
+ )
21783
+
21770
21784
  BAG_ITEMS = Symbol(
21771
21785
  None,
21772
21786
  None,
@@ -11299,7 +11299,12 @@ class Overlay11FunctionsProtocol(Protocol):
11299
11299
  None,
11300
11300
  ]
11301
11301
 
11302
- ProcessScriptParam: Symbol[
11302
+ ScriptParamToInt: Symbol[
11303
+ Optional[list[int]],
11304
+ None,
11305
+ ]
11306
+
11307
+ ScriptParamToFixedPoint16: Symbol[
11303
11308
  Optional[list[int]],
11304
11309
  None,
11305
11310
  ]
@@ -18475,6 +18480,11 @@ class RamDataProtocol(Protocol):
18475
18480
  Optional[int],
18476
18481
  ]
18477
18482
 
18483
+ TOUCHSCREEN_STATUS: Symbol[
18484
+ Optional[list[int]],
18485
+ Optional[int],
18486
+ ]
18487
+
18478
18488
  BAG_ITEMS: Symbol[
18479
18489
  Optional[list[int]],
18480
18490
  Optional[int],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pmdsky-debug-py
3
- Version: 10.0.7
3
+ Version: 10.0.9
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=S0sUv3Moh7wSb6_Qdg3b-saamVTc96ANP44Zkyr2MQU,31
3
+ pmdsky_debug_py/eu.py,sha256=_2ERRptVVIM54re1CBTbQW7iAunsKCMfYp3o8MueYjU,903808
4
+ pmdsky_debug_py/eu_itcm.py,sha256=W_g5V0SHJivPSCerRgRxXxXrojJ6K991GDoZ2n9QN98,854008
5
+ pmdsky_debug_py/jp.py,sha256=uFvVGlSTnEGfQ85cN_30rf6W9MCdQLaDQFYPc5AoIa8,890612
6
+ pmdsky_debug_py/jp_itcm.py,sha256=xW4xkQZoft7gBS9KRAYfbX3v4A8w5cN2TBHWCwqkBnU,853998
7
+ pmdsky_debug_py/na.py,sha256=IvdMXCD74Pr1nnfpzLFipQOZkRjho1oncpYW4nW3umM,905020
8
+ pmdsky_debug_py/na_itcm.py,sha256=I8zP_YvmTtdbARbQKegk29xL1MlJZpjexEHMXaqRcDI,854028
9
+ pmdsky_debug_py/protocol.py,sha256=JrjZgrepsucNPZBdMSEscAyXzExrIlwvTUAsdhOi4cg,324587
10
+ pmdsky_debug_py/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
+ pmdsky_debug_py-10.0.9.dist-info/METADATA,sha256=4rh0fp530O7MZQjPBEbKbJvUNAde3T6_MaowqHJiI04,1373
12
+ pmdsky_debug_py-10.0.9.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
13
+ pmdsky_debug_py-10.0.9.dist-info/top_level.txt,sha256=cqvpcJbud2s8IyBAc1MfCySwniko_6qO5LWSSxNIoXI,16
14
+ pmdsky_debug_py-10.0.9.dist-info/RECORD,,
@@ -1,14 +0,0 @@
1
- pmdsky_debug_py/__init__.py,sha256=xvXjdxEqeoQaaS6ssZYVI9jARzv5M4q6FNwA3Z6fOw4,1831
2
- pmdsky_debug_py/_release.py,sha256=3589vy4JsHUTMNLLbIX-VzrTWQX2w3zTlVWwwz3JAzA,31
3
- pmdsky_debug_py/eu.py,sha256=wPn20c_Im-aeSlBwSSGGW5aCVvsY55DvWMgZbtB-cpk,902118
4
- pmdsky_debug_py/eu_itcm.py,sha256=ZK4ds41SZvGZNNWjk4DyVvb-G1My3KSw5MNSvP2FFwQ,852343
5
- pmdsky_debug_py/jp.py,sha256=_J-qlj9wUxSPcK7zUj75PCwr04SgR2gO0LuXGENS4so,886937
6
- pmdsky_debug_py/jp_itcm.py,sha256=-6EDrdMh6YdYb-u3oGJDWnBXxTCXCImuJRrJu1VwSsg,852333
7
- pmdsky_debug_py/na.py,sha256=zTbqUsmp5k7pqec1qMAxWM_f-YH-fn4pPFRlI9sUpDk,903330
8
- pmdsky_debug_py/na_itcm.py,sha256=QcqAKLmA7B5EMK2MOr2Ktsb3zns4zPpUzmn9Mv26oAU,852363
9
- pmdsky_debug_py/protocol.py,sha256=feQSpx7AQXTX8MecPpwKzWsfveh-AvXdbxIIU9uV_ZE,324409
10
- pmdsky_debug_py/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- pmdsky_debug_py-10.0.7.dist-info/METADATA,sha256=Er5BEKcY7nu5i8ElPyO0fk8o5QARuKixYmPzqjf_Tng,1373
12
- pmdsky_debug_py-10.0.7.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
13
- pmdsky_debug_py-10.0.7.dist-info/top_level.txt,sha256=cqvpcJbud2s8IyBAc1MfCySwniko_6qO5LWSSxNIoXI,16
14
- pmdsky_debug_py-10.0.7.dist-info/RECORD,,