pmdsky-debug-py 10.0.7__py3-none-any.whl → 10.0.8__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+b64a9fa281"
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
@@ -13536,11 +13536,18 @@ class JpOverlay11Functions:
13536
13536
 
13537
13537
  SsbLoad2 = Symbol([0x8448], [0x22E5D28], None, "")
13538
13538
 
13539
- ProcessScriptParam = Symbol(
13539
+ ScriptParamToInt = Symbol(
13540
13540
  [0x85F8],
13541
13541
  [0x22E5ED8],
13542
13542
  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.",
13543
+ "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",
13544
+ )
13545
+
13546
+ ScriptParamToFixedPoint16 = Symbol(
13547
+ None,
13548
+ None,
13549
+ None,
13550
+ "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
13551
  )
13545
13552
 
13546
13553
  StationLoadHanger = Symbol([0x8920], [0x22E6200], None, "")
@@ -22135,6 +22142,13 @@ class JpRamData:
22135
22142
  "Starts at 0 when the game is first launched, and continuously ticks up once per frame while the game is running.",
22136
22143
  )
22137
22144
 
22145
+ TOUCHSCREEN_STATUS = Symbol(
22146
+ None,
22147
+ None,
22148
+ None,
22149
+ "Status of the touchscreen, including the coordinates of the currently pressed position in pixels.",
22150
+ )
22151
+
22138
22152
  BAG_ITEMS = Symbol(
22139
22153
  None,
22140
22154
  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.8
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=eBJlo1bkuLv2B7ifSsgs5jKccgy9uKqn24HR49j5uro,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=ontZuxBqpm1zZBFZsrsWA4zjyddXwmUpzOYVmdKg8Uo,888602
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.8.dist-info/METADATA,sha256=ONiezLq-JnaZDKvC4BqXj9bcacWQbVm7xFvXcer5P_k,1373
12
+ pmdsky_debug_py-10.0.8.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
13
+ pmdsky_debug_py-10.0.8.dist-info/top_level.txt,sha256=cqvpcJbud2s8IyBAc1MfCySwniko_6qO5LWSSxNIoXI,16
14
+ pmdsky_debug_py-10.0.8.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,,