pmdsky-debug-py 10.0.44__py3-none-any.whl → 10.0.46__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/_release.py +1 -1
- pmdsky_debug_py/eu.py +41 -5
- pmdsky_debug_py/eu_itcm.py +41 -5
- pmdsky_debug_py/jp.py +41 -5
- pmdsky_debug_py/jp_itcm.py +41 -5
- pmdsky_debug_py/na.py +41 -5
- pmdsky_debug_py/na_itcm.py +37 -1
- pmdsky_debug_py/protocol.py +22 -2
- {pmdsky_debug_py-10.0.44.dist-info → pmdsky_debug_py-10.0.46.dist-info}/METADATA +1 -1
- pmdsky_debug_py-10.0.46.dist-info/RECORD +14 -0
- pmdsky_debug_py-10.0.44.dist-info/RECORD +0 -14
- {pmdsky_debug_py-10.0.44.dist-info → pmdsky_debug_py-10.0.46.dist-info}/WHEEL +0 -0
- {pmdsky_debug_py-10.0.44.dist-info → pmdsky_debug_py-10.0.46.dist-info}/top_level.txt +0 -0
pmdsky_debug_py/_release.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
RELEASE = "v0.10.0+
|
|
1
|
+
RELEASE = "v0.10.0+d562c4b8ff"
|
pmdsky_debug_py/eu.py
CHANGED
|
@@ -4417,6 +4417,15 @@ class EuArm9Functions:
|
|
|
4417
4417
|
None,
|
|
4418
4418
|
)
|
|
4419
4419
|
|
|
4420
|
+
GetColorCodePaletteOffset = Symbol(
|
|
4421
|
+
[0x268A8],
|
|
4422
|
+
[0x20268A8],
|
|
4423
|
+
None,
|
|
4424
|
+
"GetColorCodePaletteOffset",
|
|
4425
|
+
"Gets the offset of a text color symbol's 2-byte RGB5 color in the palette stored in VRAM at 0x6882000.\n\nThe offset minus 0x10 will also be the corresponding 4-byte RGBX color's position in FONT/text_pal.pal.\n\nr0: char\nreturn: offset",
|
|
4426
|
+
None,
|
|
4427
|
+
)
|
|
4428
|
+
|
|
4420
4429
|
GetWindow = Symbol(
|
|
4421
4430
|
[0x278EC],
|
|
4422
4431
|
[0x20278EC],
|
|
@@ -10944,6 +10953,15 @@ class EuArm9Section:
|
|
|
10944
10953
|
|
|
10945
10954
|
class EuItcmFunctions:
|
|
10946
10955
|
|
|
10956
|
+
CopyAndInterleave = Symbol(
|
|
10957
|
+
[0x0],
|
|
10958
|
+
[0x20B3CC0],
|
|
10959
|
+
None,
|
|
10960
|
+
"CopyAndInterleave",
|
|
10961
|
+
"Copies data from src to dst, placing the last 4 bits of val after every 4 bits copied.\n\nIn total, the number of bytes copied from src will be 2 * len, while the number of bytes pasted will be 4 * len.\n\nr0: [output] dst\nr1: src\nr2: len (in words)\nr3: val",
|
|
10962
|
+
None,
|
|
10963
|
+
)
|
|
10964
|
+
|
|
10947
10965
|
Render3dSetTextureParams = Symbol(
|
|
10948
10966
|
[0x130],
|
|
10949
10967
|
[0x20B3DF0],
|
|
@@ -10999,8 +11017,8 @@ class EuItcmFunctions:
|
|
|
10999
11017
|
)
|
|
11000
11018
|
|
|
11001
11019
|
Render3dTextureInternal = Symbol(
|
|
11002
|
-
|
|
11003
|
-
|
|
11020
|
+
[0xA10],
|
|
11021
|
+
[0x20B46D0],
|
|
11004
11022
|
None,
|
|
11005
11023
|
"Render3dTextureInternal",
|
|
11006
11024
|
"Implements most of the rendering logic for Render3dTexture.\n\nr0: render_3d_texture",
|
|
@@ -11017,8 +11035,8 @@ class EuItcmFunctions:
|
|
|
11017
11035
|
)
|
|
11018
11036
|
|
|
11019
11037
|
Render3dTextureNoSetup = Symbol(
|
|
11020
|
-
|
|
11021
|
-
|
|
11038
|
+
[0xC60],
|
|
11039
|
+
[0x20B4920],
|
|
11022
11040
|
None,
|
|
11023
11041
|
"Render3dTextureNoSetup",
|
|
11024
11042
|
"Same as Render3dTexture except without calls to Render3dSetTextureParams and Render3dSetPaletteBase to set up geometry engine parameters.\n\nPresumably used to render multiple texture tiles with the same parameters without the extra setup overhead? But this function doesn't actually seem to be referenced anywhere.\n\nr0: render_3d_texture",
|
|
@@ -11169,6 +11187,15 @@ class EuItcmFunctions:
|
|
|
11169
11187
|
None,
|
|
11170
11188
|
)
|
|
11171
11189
|
|
|
11190
|
+
InitDmaTransfer_Standard = Symbol(
|
|
11191
|
+
[0x1A68],
|
|
11192
|
+
[0x20B5728],
|
|
11193
|
+
None,
|
|
11194
|
+
"InitDmaTransfer_Standard",
|
|
11195
|
+
"Initiates a DMA transfer.\n\nSee https://problemkaputt.de/gbatek-gba-dma-transfers.htm and https://en.wikipedia.org/wiki/Direct_memory_access\n\nr0: channel id\nr1: source address\nr2: destination address\nr3: word count",
|
|
11196
|
+
None,
|
|
11197
|
+
)
|
|
11198
|
+
|
|
11172
11199
|
ShouldMonsterRunAwayVariationOutlawCheck = Symbol(
|
|
11173
11200
|
[0x2390],
|
|
11174
11201
|
[0x20B6050],
|
|
@@ -23161,6 +23188,15 @@ class EuOverlay29Functions:
|
|
|
23161
23188
|
None,
|
|
23162
23189
|
)
|
|
23163
23190
|
|
|
23191
|
+
GetRandomTile = Symbol(
|
|
23192
|
+
[0xD458],
|
|
23193
|
+
[0x22E9FD8],
|
|
23194
|
+
None,
|
|
23195
|
+
"GetRandomTile",
|
|
23196
|
+
"Gets a random valid tile. Used for warping as well as several other things.\n\nThe selection algorithm is as follows:\nFirst, try to randomly select a valid tile that is not a hallway and is at least 6 tiles away from the leader in either direction.\nIf none are found, try to randomly select a valid tile that is not a hallway.\nIf none are found, try to randomly select a valid tile.\nIf none are found, return 0.\n\nA valid tile is defined as a floor tile that has no object or monster on it and also does not have a key door (if r1 is true).\n\nr0: [output] position\nr1: boolean indicating whether or not to exclude key doors\nreturn: whether a tile was successfully found",
|
|
23197
|
+
None,
|
|
23198
|
+
)
|
|
23199
|
+
|
|
23164
23200
|
FindNearbyUnoccupiedTile = Symbol(
|
|
23165
23201
|
[0xD674],
|
|
23166
23202
|
[0x22EA1F4],
|
|
@@ -32172,7 +32208,7 @@ class EuRamData:
|
|
|
32172
32208
|
[0x238AEC4],
|
|
32173
32209
|
0x4,
|
|
32174
32210
|
"STAIRS_MENU_PTR",
|
|
32175
|
-
"Pointer to the stairs_menu struct.",
|
|
32211
|
+
"Pointer to the stairs_menu struct during dungeon mode.",
|
|
32176
32212
|
"struct stairs_menu*",
|
|
32177
32213
|
)
|
|
32178
32214
|
|
pmdsky_debug_py/eu_itcm.py
CHANGED
|
@@ -4371,6 +4371,15 @@ class EuItcmArm9Functions:
|
|
|
4371
4371
|
None,
|
|
4372
4372
|
)
|
|
4373
4373
|
|
|
4374
|
+
GetColorCodePaletteOffset = Symbol(
|
|
4375
|
+
None,
|
|
4376
|
+
None,
|
|
4377
|
+
None,
|
|
4378
|
+
"GetColorCodePaletteOffset",
|
|
4379
|
+
"Gets the offset of a text color symbol's 2-byte RGB5 color in the palette stored in VRAM at 0x6882000.\n\nThe offset minus 0x10 will also be the corresponding 4-byte RGBX color's position in FONT/text_pal.pal.\n\nr0: char\nreturn: offset",
|
|
4380
|
+
None,
|
|
4381
|
+
)
|
|
4382
|
+
|
|
4374
4383
|
GetWindow = Symbol(
|
|
4375
4384
|
None,
|
|
4376
4385
|
None,
|
|
@@ -10878,6 +10887,15 @@ class EuItcmArm9Section:
|
|
|
10878
10887
|
|
|
10879
10888
|
class EuItcmItcmFunctions:
|
|
10880
10889
|
|
|
10890
|
+
CopyAndInterleave = Symbol(
|
|
10891
|
+
[0x0],
|
|
10892
|
+
[0x1FF8000],
|
|
10893
|
+
None,
|
|
10894
|
+
"CopyAndInterleave",
|
|
10895
|
+
"Copies data from src to dst, placing the last 4 bits of val after every 4 bits copied.\n\nIn total, the number of bytes copied from src will be 2 * len, while the number of bytes pasted will be 4 * len.\n\nr0: [output] dst\nr1: src\nr2: len (in words)\nr3: val",
|
|
10896
|
+
None,
|
|
10897
|
+
)
|
|
10898
|
+
|
|
10881
10899
|
Render3dSetTextureParams = Symbol(
|
|
10882
10900
|
[0x130],
|
|
10883
10901
|
[0x1FF8130],
|
|
@@ -10933,8 +10951,8 @@ class EuItcmItcmFunctions:
|
|
|
10933
10951
|
)
|
|
10934
10952
|
|
|
10935
10953
|
Render3dTextureInternal = Symbol(
|
|
10936
|
-
|
|
10937
|
-
|
|
10954
|
+
[0xA10],
|
|
10955
|
+
[0x1FF8A10],
|
|
10938
10956
|
None,
|
|
10939
10957
|
"Render3dTextureInternal",
|
|
10940
10958
|
"Implements most of the rendering logic for Render3dTexture.\n\nr0: render_3d_texture",
|
|
@@ -10951,8 +10969,8 @@ class EuItcmItcmFunctions:
|
|
|
10951
10969
|
)
|
|
10952
10970
|
|
|
10953
10971
|
Render3dTextureNoSetup = Symbol(
|
|
10954
|
-
|
|
10955
|
-
|
|
10972
|
+
[0xC60],
|
|
10973
|
+
[0x1FF8C60],
|
|
10956
10974
|
None,
|
|
10957
10975
|
"Render3dTextureNoSetup",
|
|
10958
10976
|
"Same as Render3dTexture except without calls to Render3dSetTextureParams and Render3dSetPaletteBase to set up geometry engine parameters.\n\nPresumably used to render multiple texture tiles with the same parameters without the extra setup overhead? But this function doesn't actually seem to be referenced anywhere.\n\nr0: render_3d_texture",
|
|
@@ -11103,6 +11121,15 @@ class EuItcmItcmFunctions:
|
|
|
11103
11121
|
None,
|
|
11104
11122
|
)
|
|
11105
11123
|
|
|
11124
|
+
InitDmaTransfer_Standard = Symbol(
|
|
11125
|
+
[0x1A68],
|
|
11126
|
+
[0x1FF9A68],
|
|
11127
|
+
None,
|
|
11128
|
+
"InitDmaTransfer_Standard",
|
|
11129
|
+
"Initiates a DMA transfer.\n\nSee https://problemkaputt.de/gbatek-gba-dma-transfers.htm and https://en.wikipedia.org/wiki/Direct_memory_access\n\nr0: channel id\nr1: source address\nr2: destination address\nr3: word count",
|
|
11130
|
+
None,
|
|
11131
|
+
)
|
|
11132
|
+
|
|
11106
11133
|
ShouldMonsterRunAwayVariationOutlawCheck = Symbol(
|
|
11107
11134
|
[0x2390],
|
|
11108
11135
|
[0x1FFA390],
|
|
@@ -22632,6 +22659,15 @@ class EuItcmOverlay29Functions:
|
|
|
22632
22659
|
None,
|
|
22633
22660
|
)
|
|
22634
22661
|
|
|
22662
|
+
GetRandomTile = Symbol(
|
|
22663
|
+
None,
|
|
22664
|
+
None,
|
|
22665
|
+
None,
|
|
22666
|
+
"GetRandomTile",
|
|
22667
|
+
"Gets a random valid tile. Used for warping as well as several other things.\n\nThe selection algorithm is as follows:\nFirst, try to randomly select a valid tile that is not a hallway and is at least 6 tiles away from the leader in either direction.\nIf none are found, try to randomly select a valid tile that is not a hallway.\nIf none are found, try to randomly select a valid tile.\nIf none are found, return 0.\n\nA valid tile is defined as a floor tile that has no object or monster on it and also does not have a key door (if r1 is true).\n\nr0: [output] position\nr1: boolean indicating whether or not to exclude key doors\nreturn: whether a tile was successfully found",
|
|
22668
|
+
None,
|
|
22669
|
+
)
|
|
22670
|
+
|
|
22635
22671
|
FindNearbyUnoccupiedTile = Symbol(
|
|
22636
22672
|
None,
|
|
22637
22673
|
None,
|
|
@@ -31450,7 +31486,7 @@ class EuItcmRamData:
|
|
|
31450
31486
|
None,
|
|
31451
31487
|
None,
|
|
31452
31488
|
"STAIRS_MENU_PTR",
|
|
31453
|
-
"Pointer to the stairs_menu struct.",
|
|
31489
|
+
"Pointer to the stairs_menu struct during dungeon mode.",
|
|
31454
31490
|
"struct stairs_menu*",
|
|
31455
31491
|
)
|
|
31456
31492
|
|
pmdsky_debug_py/jp.py
CHANGED
|
@@ -4417,6 +4417,15 @@ class JpArm9Functions:
|
|
|
4417
4417
|
None,
|
|
4418
4418
|
)
|
|
4419
4419
|
|
|
4420
|
+
GetColorCodePaletteOffset = Symbol(
|
|
4421
|
+
[0x2669C],
|
|
4422
|
+
[0x202669C],
|
|
4423
|
+
None,
|
|
4424
|
+
"GetColorCodePaletteOffset",
|
|
4425
|
+
"Gets the offset of a text color symbol's 2-byte RGB5 color in the palette stored in VRAM at 0x6882000.\n\nThe offset minus 0x10 will also be the corresponding 4-byte RGBX color's position in FONT/text_pal.pal.\n\nr0: char\nreturn: offset",
|
|
4426
|
+
None,
|
|
4427
|
+
)
|
|
4428
|
+
|
|
4420
4429
|
GetWindow = Symbol(
|
|
4421
4430
|
[0x27940],
|
|
4422
4431
|
[0x2027940],
|
|
@@ -10939,6 +10948,15 @@ class JpArm9Section:
|
|
|
10939
10948
|
|
|
10940
10949
|
class JpItcmFunctions:
|
|
10941
10950
|
|
|
10951
|
+
CopyAndInterleave = Symbol(
|
|
10952
|
+
[0x0],
|
|
10953
|
+
[0x20B4BE0],
|
|
10954
|
+
None,
|
|
10955
|
+
"CopyAndInterleave",
|
|
10956
|
+
"Copies data from src to dst, placing the last 4 bits of val after every 4 bits copied.\n\nIn total, the number of bytes copied from src will be 2 * len, while the number of bytes pasted will be 4 * len.\n\nr0: [output] dst\nr1: src\nr2: len (in words)\nr3: val",
|
|
10957
|
+
None,
|
|
10958
|
+
)
|
|
10959
|
+
|
|
10942
10960
|
Render3dSetTextureParams = Symbol(
|
|
10943
10961
|
[0x130],
|
|
10944
10962
|
[0x20B4D10],
|
|
@@ -10994,8 +11012,8 @@ class JpItcmFunctions:
|
|
|
10994
11012
|
)
|
|
10995
11013
|
|
|
10996
11014
|
Render3dTextureInternal = Symbol(
|
|
10997
|
-
|
|
10998
|
-
|
|
11015
|
+
[0xA10],
|
|
11016
|
+
[0x20B55F0],
|
|
10999
11017
|
None,
|
|
11000
11018
|
"Render3dTextureInternal",
|
|
11001
11019
|
"Implements most of the rendering logic for Render3dTexture.\n\nr0: render_3d_texture",
|
|
@@ -11012,8 +11030,8 @@ class JpItcmFunctions:
|
|
|
11012
11030
|
)
|
|
11013
11031
|
|
|
11014
11032
|
Render3dTextureNoSetup = Symbol(
|
|
11015
|
-
|
|
11016
|
-
|
|
11033
|
+
[0xC60],
|
|
11034
|
+
[0x20B5840],
|
|
11017
11035
|
None,
|
|
11018
11036
|
"Render3dTextureNoSetup",
|
|
11019
11037
|
"Same as Render3dTexture except without calls to Render3dSetTextureParams and Render3dSetPaletteBase to set up geometry engine parameters.\n\nPresumably used to render multiple texture tiles with the same parameters without the extra setup overhead? But this function doesn't actually seem to be referenced anywhere.\n\nr0: render_3d_texture",
|
|
@@ -11164,6 +11182,15 @@ class JpItcmFunctions:
|
|
|
11164
11182
|
None,
|
|
11165
11183
|
)
|
|
11166
11184
|
|
|
11185
|
+
InitDmaTransfer_Standard = Symbol(
|
|
11186
|
+
[0x1AD0],
|
|
11187
|
+
[0x20B66B0],
|
|
11188
|
+
None,
|
|
11189
|
+
"InitDmaTransfer_Standard",
|
|
11190
|
+
"Initiates a DMA transfer.\n\nSee https://problemkaputt.de/gbatek-gba-dma-transfers.htm and https://en.wikipedia.org/wiki/Direct_memory_access\n\nr0: channel id\nr1: source address\nr2: destination address\nr3: word count",
|
|
11191
|
+
None,
|
|
11192
|
+
)
|
|
11193
|
+
|
|
11167
11194
|
ShouldMonsterRunAwayVariationOutlawCheck = Symbol(
|
|
11168
11195
|
[0x23F8],
|
|
11169
11196
|
[0x20B6FD8],
|
|
@@ -23152,6 +23179,15 @@ class JpOverlay29Functions:
|
|
|
23152
23179
|
None,
|
|
23153
23180
|
)
|
|
23154
23181
|
|
|
23182
|
+
GetRandomTile = Symbol(
|
|
23183
|
+
[0xD3B0],
|
|
23184
|
+
[0x22EAC90],
|
|
23185
|
+
None,
|
|
23186
|
+
"GetRandomTile",
|
|
23187
|
+
"Gets a random valid tile. Used for warping as well as several other things.\n\nThe selection algorithm is as follows:\nFirst, try to randomly select a valid tile that is not a hallway and is at least 6 tiles away from the leader in either direction.\nIf none are found, try to randomly select a valid tile that is not a hallway.\nIf none are found, try to randomly select a valid tile.\nIf none are found, return 0.\n\nA valid tile is defined as a floor tile that has no object or monster on it and also does not have a key door (if r1 is true).\n\nr0: [output] position\nr1: boolean indicating whether or not to exclude key doors\nreturn: whether a tile was successfully found",
|
|
23188
|
+
None,
|
|
23189
|
+
)
|
|
23190
|
+
|
|
23155
23191
|
FindNearbyUnoccupiedTile = Symbol(
|
|
23156
23192
|
[0xD5CC],
|
|
23157
23193
|
[0x22EAEAC],
|
|
@@ -32060,7 +32096,7 @@ class JpRamData:
|
|
|
32060
32096
|
None,
|
|
32061
32097
|
None,
|
|
32062
32098
|
"STAIRS_MENU_PTR",
|
|
32063
|
-
"Pointer to the stairs_menu struct.",
|
|
32099
|
+
"Pointer to the stairs_menu struct during dungeon mode.",
|
|
32064
32100
|
"struct stairs_menu*",
|
|
32065
32101
|
)
|
|
32066
32102
|
|
pmdsky_debug_py/jp_itcm.py
CHANGED
|
@@ -4371,6 +4371,15 @@ class JpItcmArm9Functions:
|
|
|
4371
4371
|
None,
|
|
4372
4372
|
)
|
|
4373
4373
|
|
|
4374
|
+
GetColorCodePaletteOffset = Symbol(
|
|
4375
|
+
None,
|
|
4376
|
+
None,
|
|
4377
|
+
None,
|
|
4378
|
+
"GetColorCodePaletteOffset",
|
|
4379
|
+
"Gets the offset of a text color symbol's 2-byte RGB5 color in the palette stored in VRAM at 0x6882000.\n\nThe offset minus 0x10 will also be the corresponding 4-byte RGBX color's position in FONT/text_pal.pal.\n\nr0: char\nreturn: offset",
|
|
4380
|
+
None,
|
|
4381
|
+
)
|
|
4382
|
+
|
|
4374
4383
|
GetWindow = Symbol(
|
|
4375
4384
|
None,
|
|
4376
4385
|
None,
|
|
@@ -10878,6 +10887,15 @@ class JpItcmArm9Section:
|
|
|
10878
10887
|
|
|
10879
10888
|
class JpItcmItcmFunctions:
|
|
10880
10889
|
|
|
10890
|
+
CopyAndInterleave = Symbol(
|
|
10891
|
+
[0x0],
|
|
10892
|
+
[0x1FF8000],
|
|
10893
|
+
None,
|
|
10894
|
+
"CopyAndInterleave",
|
|
10895
|
+
"Copies data from src to dst, placing the last 4 bits of val after every 4 bits copied.\n\nIn total, the number of bytes copied from src will be 2 * len, while the number of bytes pasted will be 4 * len.\n\nr0: [output] dst\nr1: src\nr2: len (in words)\nr3: val",
|
|
10896
|
+
None,
|
|
10897
|
+
)
|
|
10898
|
+
|
|
10881
10899
|
Render3dSetTextureParams = Symbol(
|
|
10882
10900
|
[0x130],
|
|
10883
10901
|
[0x1FF8130],
|
|
@@ -10933,8 +10951,8 @@ class JpItcmItcmFunctions:
|
|
|
10933
10951
|
)
|
|
10934
10952
|
|
|
10935
10953
|
Render3dTextureInternal = Symbol(
|
|
10936
|
-
|
|
10937
|
-
|
|
10954
|
+
[0xA10],
|
|
10955
|
+
[0x1FF8A10],
|
|
10938
10956
|
None,
|
|
10939
10957
|
"Render3dTextureInternal",
|
|
10940
10958
|
"Implements most of the rendering logic for Render3dTexture.\n\nr0: render_3d_texture",
|
|
@@ -10951,8 +10969,8 @@ class JpItcmItcmFunctions:
|
|
|
10951
10969
|
)
|
|
10952
10970
|
|
|
10953
10971
|
Render3dTextureNoSetup = Symbol(
|
|
10954
|
-
|
|
10955
|
-
|
|
10972
|
+
[0xC60],
|
|
10973
|
+
[0x1FF8C60],
|
|
10956
10974
|
None,
|
|
10957
10975
|
"Render3dTextureNoSetup",
|
|
10958
10976
|
"Same as Render3dTexture except without calls to Render3dSetTextureParams and Render3dSetPaletteBase to set up geometry engine parameters.\n\nPresumably used to render multiple texture tiles with the same parameters without the extra setup overhead? But this function doesn't actually seem to be referenced anywhere.\n\nr0: render_3d_texture",
|
|
@@ -11103,6 +11121,15 @@ class JpItcmItcmFunctions:
|
|
|
11103
11121
|
None,
|
|
11104
11122
|
)
|
|
11105
11123
|
|
|
11124
|
+
InitDmaTransfer_Standard = Symbol(
|
|
11125
|
+
[0x1AD0],
|
|
11126
|
+
[0x1FF9AD0],
|
|
11127
|
+
None,
|
|
11128
|
+
"InitDmaTransfer_Standard",
|
|
11129
|
+
"Initiates a DMA transfer.\n\nSee https://problemkaputt.de/gbatek-gba-dma-transfers.htm and https://en.wikipedia.org/wiki/Direct_memory_access\n\nr0: channel id\nr1: source address\nr2: destination address\nr3: word count",
|
|
11130
|
+
None,
|
|
11131
|
+
)
|
|
11132
|
+
|
|
11106
11133
|
ShouldMonsterRunAwayVariationOutlawCheck = Symbol(
|
|
11107
11134
|
[0x23F8],
|
|
11108
11135
|
[0x1FFA3F8],
|
|
@@ -22632,6 +22659,15 @@ class JpItcmOverlay29Functions:
|
|
|
22632
22659
|
None,
|
|
22633
22660
|
)
|
|
22634
22661
|
|
|
22662
|
+
GetRandomTile = Symbol(
|
|
22663
|
+
None,
|
|
22664
|
+
None,
|
|
22665
|
+
None,
|
|
22666
|
+
"GetRandomTile",
|
|
22667
|
+
"Gets a random valid tile. Used for warping as well as several other things.\n\nThe selection algorithm is as follows:\nFirst, try to randomly select a valid tile that is not a hallway and is at least 6 tiles away from the leader in either direction.\nIf none are found, try to randomly select a valid tile that is not a hallway.\nIf none are found, try to randomly select a valid tile.\nIf none are found, return 0.\n\nA valid tile is defined as a floor tile that has no object or monster on it and also does not have a key door (if r1 is true).\n\nr0: [output] position\nr1: boolean indicating whether or not to exclude key doors\nreturn: whether a tile was successfully found",
|
|
22668
|
+
None,
|
|
22669
|
+
)
|
|
22670
|
+
|
|
22635
22671
|
FindNearbyUnoccupiedTile = Symbol(
|
|
22636
22672
|
None,
|
|
22637
22673
|
None,
|
|
@@ -31450,7 +31486,7 @@ class JpItcmRamData:
|
|
|
31450
31486
|
None,
|
|
31451
31487
|
None,
|
|
31452
31488
|
"STAIRS_MENU_PTR",
|
|
31453
|
-
"Pointer to the stairs_menu struct.",
|
|
31489
|
+
"Pointer to the stairs_menu struct during dungeon mode.",
|
|
31454
31490
|
"struct stairs_menu*",
|
|
31455
31491
|
)
|
|
31456
31492
|
|
pmdsky_debug_py/na.py
CHANGED
|
@@ -4417,6 +4417,15 @@ class NaArm9Functions:
|
|
|
4417
4417
|
None,
|
|
4418
4418
|
)
|
|
4419
4419
|
|
|
4420
|
+
GetColorCodePaletteOffset = Symbol(
|
|
4421
|
+
[0x265C4],
|
|
4422
|
+
[0x20265C4],
|
|
4423
|
+
None,
|
|
4424
|
+
"GetColorCodePaletteOffset",
|
|
4425
|
+
"Gets the offset of a text color symbol's 2-byte RGB5 color in the palette stored in VRAM at 0x6882000.\n\nThe offset minus 0x10 will also be the corresponding 4-byte RGBX color's position in FONT/text_pal.pal.\n\nr0: char\nreturn: offset",
|
|
4426
|
+
None,
|
|
4427
|
+
)
|
|
4428
|
+
|
|
4420
4429
|
GetWindow = Symbol(
|
|
4421
4430
|
[0x275F8],
|
|
4422
4431
|
[0x20275F8],
|
|
@@ -10944,6 +10953,15 @@ class NaArm9Section:
|
|
|
10944
10953
|
|
|
10945
10954
|
class NaItcmFunctions:
|
|
10946
10955
|
|
|
10956
|
+
CopyAndInterleave = Symbol(
|
|
10957
|
+
[0x0],
|
|
10958
|
+
[0x20B3380],
|
|
10959
|
+
None,
|
|
10960
|
+
"CopyAndInterleave",
|
|
10961
|
+
"Copies data from src to dst, placing the last 4 bits of val after every 4 bits copied.\n\nIn total, the number of bytes copied from src will be 2 * len, while the number of bytes pasted will be 4 * len.\n\nr0: [output] dst\nr1: src\nr2: len (in words)\nr3: val",
|
|
10962
|
+
None,
|
|
10963
|
+
)
|
|
10964
|
+
|
|
10947
10965
|
Render3dSetTextureParams = Symbol(
|
|
10948
10966
|
[0x130],
|
|
10949
10967
|
[0x20B34B0],
|
|
@@ -10999,8 +11017,8 @@ class NaItcmFunctions:
|
|
|
10999
11017
|
)
|
|
11000
11018
|
|
|
11001
11019
|
Render3dTextureInternal = Symbol(
|
|
11002
|
-
|
|
11003
|
-
|
|
11020
|
+
[0xA10],
|
|
11021
|
+
[0x20B3D90],
|
|
11004
11022
|
None,
|
|
11005
11023
|
"Render3dTextureInternal",
|
|
11006
11024
|
"Implements most of the rendering logic for Render3dTexture.\n\nr0: render_3d_texture",
|
|
@@ -11017,8 +11035,8 @@ class NaItcmFunctions:
|
|
|
11017
11035
|
)
|
|
11018
11036
|
|
|
11019
11037
|
Render3dTextureNoSetup = Symbol(
|
|
11020
|
-
|
|
11021
|
-
|
|
11038
|
+
[0xC60],
|
|
11039
|
+
[0x20B3FE0],
|
|
11022
11040
|
None,
|
|
11023
11041
|
"Render3dTextureNoSetup",
|
|
11024
11042
|
"Same as Render3dTexture except without calls to Render3dSetTextureParams and Render3dSetPaletteBase to set up geometry engine parameters.\n\nPresumably used to render multiple texture tiles with the same parameters without the extra setup overhead? But this function doesn't actually seem to be referenced anywhere.\n\nr0: render_3d_texture",
|
|
@@ -11169,6 +11187,15 @@ class NaItcmFunctions:
|
|
|
11169
11187
|
None,
|
|
11170
11188
|
)
|
|
11171
11189
|
|
|
11190
|
+
InitDmaTransfer_Standard = Symbol(
|
|
11191
|
+
[0x1A68],
|
|
11192
|
+
[0x20B4DE8],
|
|
11193
|
+
None,
|
|
11194
|
+
"InitDmaTransfer_Standard",
|
|
11195
|
+
"Initiates a DMA transfer.\n\nSee https://problemkaputt.de/gbatek-gba-dma-transfers.htm and https://en.wikipedia.org/wiki/Direct_memory_access\n\nr0: channel id\nr1: source address\nr2: destination address\nr3: word count",
|
|
11196
|
+
None,
|
|
11197
|
+
)
|
|
11198
|
+
|
|
11172
11199
|
ShouldMonsterRunAwayVariationOutlawCheck = Symbol(
|
|
11173
11200
|
[0x2390],
|
|
11174
11201
|
[0x20B5710],
|
|
@@ -23159,6 +23186,15 @@ class NaOverlay29Functions:
|
|
|
23159
23186
|
None,
|
|
23160
23187
|
)
|
|
23161
23188
|
|
|
23189
|
+
GetRandomTile = Symbol(
|
|
23190
|
+
[0xD3E8],
|
|
23191
|
+
[0x22E9628],
|
|
23192
|
+
None,
|
|
23193
|
+
"GetRandomTile",
|
|
23194
|
+
"Gets a random valid tile. Used for warping as well as several other things.\n\nThe selection algorithm is as follows:\nFirst, try to randomly select a valid tile that is not a hallway and is at least 6 tiles away from the leader in either direction.\nIf none are found, try to randomly select a valid tile that is not a hallway.\nIf none are found, try to randomly select a valid tile.\nIf none are found, return 0.\n\nA valid tile is defined as a floor tile that has no object or monster on it and also does not have a key door (if r1 is true).\n\nr0: [output] position\nr1: boolean indicating whether or not to exclude key doors\nreturn: whether a tile was successfully found",
|
|
23195
|
+
None,
|
|
23196
|
+
)
|
|
23197
|
+
|
|
23162
23198
|
FindNearbyUnoccupiedTile = Symbol(
|
|
23163
23199
|
[0xD604],
|
|
23164
23200
|
[0x22E9844],
|
|
@@ -32170,7 +32206,7 @@ class NaRamData:
|
|
|
32170
32206
|
None,
|
|
32171
32207
|
None,
|
|
32172
32208
|
"STAIRS_MENU_PTR",
|
|
32173
|
-
"Pointer to the stairs_menu struct.",
|
|
32209
|
+
"Pointer to the stairs_menu struct during dungeon mode.",
|
|
32174
32210
|
"struct stairs_menu*",
|
|
32175
32211
|
)
|
|
32176
32212
|
|
pmdsky_debug_py/na_itcm.py
CHANGED
|
@@ -4371,6 +4371,15 @@ class NaItcmArm9Functions:
|
|
|
4371
4371
|
None,
|
|
4372
4372
|
)
|
|
4373
4373
|
|
|
4374
|
+
GetColorCodePaletteOffset = Symbol(
|
|
4375
|
+
None,
|
|
4376
|
+
None,
|
|
4377
|
+
None,
|
|
4378
|
+
"GetColorCodePaletteOffset",
|
|
4379
|
+
"Gets the offset of a text color symbol's 2-byte RGB5 color in the palette stored in VRAM at 0x6882000.\n\nThe offset minus 0x10 will also be the corresponding 4-byte RGBX color's position in FONT/text_pal.pal.\n\nr0: char\nreturn: offset",
|
|
4380
|
+
None,
|
|
4381
|
+
)
|
|
4382
|
+
|
|
4374
4383
|
GetWindow = Symbol(
|
|
4375
4384
|
None,
|
|
4376
4385
|
None,
|
|
@@ -10878,6 +10887,15 @@ class NaItcmArm9Section:
|
|
|
10878
10887
|
|
|
10879
10888
|
class NaItcmItcmFunctions:
|
|
10880
10889
|
|
|
10890
|
+
CopyAndInterleave = Symbol(
|
|
10891
|
+
[0x0],
|
|
10892
|
+
[0x1FF8000],
|
|
10893
|
+
None,
|
|
10894
|
+
"CopyAndInterleave",
|
|
10895
|
+
"Copies data from src to dst, placing the last 4 bits of val after every 4 bits copied.\n\nIn total, the number of bytes copied from src will be 2 * len, while the number of bytes pasted will be 4 * len.\n\nr0: [output] dst\nr1: src\nr2: len (in words)\nr3: val",
|
|
10896
|
+
None,
|
|
10897
|
+
)
|
|
10898
|
+
|
|
10881
10899
|
Render3dSetTextureParams = Symbol(
|
|
10882
10900
|
[0x130],
|
|
10883
10901
|
[0x1FF8130],
|
|
@@ -11103,6 +11121,15 @@ class NaItcmItcmFunctions:
|
|
|
11103
11121
|
None,
|
|
11104
11122
|
)
|
|
11105
11123
|
|
|
11124
|
+
InitDmaTransfer_Standard = Symbol(
|
|
11125
|
+
[0x1A68],
|
|
11126
|
+
[0x1FF9A68],
|
|
11127
|
+
None,
|
|
11128
|
+
"InitDmaTransfer_Standard",
|
|
11129
|
+
"Initiates a DMA transfer.\n\nSee https://problemkaputt.de/gbatek-gba-dma-transfers.htm and https://en.wikipedia.org/wiki/Direct_memory_access\n\nr0: channel id\nr1: source address\nr2: destination address\nr3: word count",
|
|
11130
|
+
None,
|
|
11131
|
+
)
|
|
11132
|
+
|
|
11106
11133
|
ShouldMonsterRunAwayVariationOutlawCheck = Symbol(
|
|
11107
11134
|
[0x2390],
|
|
11108
11135
|
[0x1FFA390],
|
|
@@ -22632,6 +22659,15 @@ class NaItcmOverlay29Functions:
|
|
|
22632
22659
|
None,
|
|
22633
22660
|
)
|
|
22634
22661
|
|
|
22662
|
+
GetRandomTile = Symbol(
|
|
22663
|
+
None,
|
|
22664
|
+
None,
|
|
22665
|
+
None,
|
|
22666
|
+
"GetRandomTile",
|
|
22667
|
+
"Gets a random valid tile. Used for warping as well as several other things.\n\nThe selection algorithm is as follows:\nFirst, try to randomly select a valid tile that is not a hallway and is at least 6 tiles away from the leader in either direction.\nIf none are found, try to randomly select a valid tile that is not a hallway.\nIf none are found, try to randomly select a valid tile.\nIf none are found, return 0.\n\nA valid tile is defined as a floor tile that has no object or monster on it and also does not have a key door (if r1 is true).\n\nr0: [output] position\nr1: boolean indicating whether or not to exclude key doors\nreturn: whether a tile was successfully found",
|
|
22668
|
+
None,
|
|
22669
|
+
)
|
|
22670
|
+
|
|
22635
22671
|
FindNearbyUnoccupiedTile = Symbol(
|
|
22636
22672
|
None,
|
|
22637
22673
|
None,
|
|
@@ -31450,7 +31486,7 @@ class NaItcmRamData:
|
|
|
31450
31486
|
None,
|
|
31451
31487
|
None,
|
|
31452
31488
|
"STAIRS_MENU_PTR",
|
|
31453
|
-
"Pointer to the stairs_menu struct.",
|
|
31489
|
+
"Pointer to the stairs_menu struct during dungeon mode.",
|
|
31454
31490
|
"struct stairs_menu*",
|
|
31455
31491
|
)
|
|
31456
31492
|
|
pmdsky_debug_py/protocol.py
CHANGED
|
@@ -2497,6 +2497,11 @@ class Arm9FunctionsProtocol(Protocol):
|
|
|
2497
2497
|
None,
|
|
2498
2498
|
]
|
|
2499
2499
|
|
|
2500
|
+
GetColorCodePaletteOffset: Symbol[
|
|
2501
|
+
Optional[list[int]],
|
|
2502
|
+
None,
|
|
2503
|
+
]
|
|
2504
|
+
|
|
2500
2505
|
GetWindow: Symbol[
|
|
2501
2506
|
Optional[list[int]],
|
|
2502
2507
|
None,
|
|
@@ -6145,6 +6150,11 @@ Arm9Protocol = SectionProtocol[
|
|
|
6145
6150
|
|
|
6146
6151
|
class ItcmFunctionsProtocol(Protocol):
|
|
6147
6152
|
|
|
6153
|
+
CopyAndInterleave: Symbol[
|
|
6154
|
+
list[int],
|
|
6155
|
+
None,
|
|
6156
|
+
]
|
|
6157
|
+
|
|
6148
6158
|
Render3dSetTextureParams: Symbol[
|
|
6149
6159
|
list[int],
|
|
6150
6160
|
None,
|
|
@@ -6176,7 +6186,7 @@ class ItcmFunctionsProtocol(Protocol):
|
|
|
6176
6186
|
]
|
|
6177
6187
|
|
|
6178
6188
|
Render3dTextureInternal: Symbol[
|
|
6179
|
-
|
|
6189
|
+
list[int],
|
|
6180
6190
|
None,
|
|
6181
6191
|
]
|
|
6182
6192
|
|
|
@@ -6186,7 +6196,7 @@ class ItcmFunctionsProtocol(Protocol):
|
|
|
6186
6196
|
]
|
|
6187
6197
|
|
|
6188
6198
|
Render3dTextureNoSetup: Symbol[
|
|
6189
|
-
|
|
6199
|
+
list[int],
|
|
6190
6200
|
None,
|
|
6191
6201
|
]
|
|
6192
6202
|
|
|
@@ -6270,6 +6280,11 @@ class ItcmFunctionsProtocol(Protocol):
|
|
|
6270
6280
|
None,
|
|
6271
6281
|
]
|
|
6272
6282
|
|
|
6283
|
+
InitDmaTransfer_Standard: Symbol[
|
|
6284
|
+
list[int],
|
|
6285
|
+
None,
|
|
6286
|
+
]
|
|
6287
|
+
|
|
6273
6288
|
ShouldMonsterRunAwayVariationOutlawCheck: Symbol[
|
|
6274
6289
|
list[int],
|
|
6275
6290
|
None,
|
|
@@ -14010,6 +14025,11 @@ class Overlay29FunctionsProtocol(Protocol):
|
|
|
14010
14025
|
None,
|
|
14011
14026
|
]
|
|
14012
14027
|
|
|
14028
|
+
GetRandomTile: Symbol[
|
|
14029
|
+
Optional[list[int]],
|
|
14030
|
+
None,
|
|
14031
|
+
]
|
|
14032
|
+
|
|
14013
14033
|
FindNearbyUnoccupiedTile: Symbol[
|
|
14014
14034
|
Optional[list[int]],
|
|
14015
14035
|
None,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
pmdsky_debug_py/__init__.py,sha256=xvXjdxEqeoQaaS6ssZYVI9jARzv5M4q6FNwA3Z6fOw4,1831
|
|
2
|
+
pmdsky_debug_py/_release.py,sha256=oz0M5jann6aatrveo9uh7DVgorPBL3nh1vXW7L6KZM4,31
|
|
3
|
+
pmdsky_debug_py/eu.py,sha256=k4qKcikrjhhDtjXaijHz3w-6MSwphwsL0DZPzx-xZYk,1120429
|
|
4
|
+
pmdsky_debug_py/eu_itcm.py,sha256=1FTK7w0QYfHxEvQbLeL0tZMQkloGDWEWlm_FTtwHNO8,1070076
|
|
5
|
+
pmdsky_debug_py/jp.py,sha256=8W2RnV0W6UuCjahYBfnA-jAzHK-OTgm_yzik3yhM1SE,1116840
|
|
6
|
+
pmdsky_debug_py/jp_itcm.py,sha256=nRXpdXZE4k2gY4p-sUNqpkZ2wHXls3cLWUiAqGdcPlg,1070066
|
|
7
|
+
pmdsky_debug_py/na.py,sha256=0D_Fk6mknbMHV4W2ldKrTnjHYZQ_0mhoqQBOVKKy86U,1121373
|
|
8
|
+
pmdsky_debug_py/na_itcm.py,sha256=6O5IHYMFAVo0tC7X4qJxzv3WKdHsQGa5e5O9_RSkme0,1070076
|
|
9
|
+
pmdsky_debug_py/protocol.py,sha256=UGuZd9vsuEL8FKU8yxvhVDAlBDejHmek8oBTIRKQtCU,329578
|
|
10
|
+
pmdsky_debug_py/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
+
pmdsky_debug_py-10.0.46.dist-info/METADATA,sha256=VEdlfUBR8VrHf6s2LAEPiu-hxjn3Ki-Ic-IJNAFMYN8,1374
|
|
12
|
+
pmdsky_debug_py-10.0.46.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
13
|
+
pmdsky_debug_py-10.0.46.dist-info/top_level.txt,sha256=cqvpcJbud2s8IyBAc1MfCySwniko_6qO5LWSSxNIoXI,16
|
|
14
|
+
pmdsky_debug_py-10.0.46.dist-info/RECORD,,
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
pmdsky_debug_py/__init__.py,sha256=xvXjdxEqeoQaaS6ssZYVI9jARzv5M4q6FNwA3Z6fOw4,1831
|
|
2
|
-
pmdsky_debug_py/_release.py,sha256=0WROUe6cWKuYGX1jVAfzDemsuVIANPTV9LQjd0II_8I,31
|
|
3
|
-
pmdsky_debug_py/eu.py,sha256=cphXru0UH-b2gTusq4bnGBv2Bzro81pP3XLOe-DwX8A,1118387
|
|
4
|
-
pmdsky_debug_py/eu_itcm.py,sha256=EvCv8Dyz7esS13inHsPnFmZWalAqcLYPi74QVzTvKns,1068057
|
|
5
|
-
pmdsky_debug_py/jp.py,sha256=xEqd1_ASfiwYJ99uOU01VNHNRq-EJxg47ow7ahmT5b8,1114798
|
|
6
|
-
pmdsky_debug_py/jp_itcm.py,sha256=j6iAswFy4MStzgHO5X3oOy_eqxjr7oXOLcOybrpF_pk,1068047
|
|
7
|
-
pmdsky_debug_py/na.py,sha256=28BTltbIgMnmfpFQguBgozl98YKx27Tf40g7Hje7aUE,1119331
|
|
8
|
-
pmdsky_debug_py/na_itcm.py,sha256=VTGmPtSOnz9rXbxbbpDnnwf_ofG4gQmq0a3IxgI8mPQ,1068077
|
|
9
|
-
pmdsky_debug_py/protocol.py,sha256=hrFOE7a1tmR644j3uRKkcfXsbRrZuPzoa0w0ysfxqDs,329283
|
|
10
|
-
pmdsky_debug_py/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
pmdsky_debug_py-10.0.44.dist-info/METADATA,sha256=6UqOV9nZUCg1nJcKN5U8O6nMXc23ZoTzDQNaK_CiKik,1374
|
|
12
|
-
pmdsky_debug_py-10.0.44.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
13
|
-
pmdsky_debug_py-10.0.44.dist-info/top_level.txt,sha256=cqvpcJbud2s8IyBAc1MfCySwniko_6qO5LWSSxNIoXI,16
|
|
14
|
-
pmdsky_debug_py-10.0.44.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|