pmdsky-debug-py 10.0.48__py3-none-any.whl → 10.0.50__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 +103 -58
- pmdsky_debug_py/eu_itcm.py +74 -29
- pmdsky_debug_py/jp.py +167 -122
- pmdsky_debug_py/jp_itcm.py +74 -29
- pmdsky_debug_py/na.py +103 -58
- pmdsky_debug_py/na_itcm.py +74 -29
- pmdsky_debug_py/protocol.py +36 -11
- {pmdsky_debug_py-10.0.48.dist-info → pmdsky_debug_py-10.0.50.dist-info}/METADATA +1 -1
- pmdsky_debug_py-10.0.50.dist-info/RECORD +14 -0
- pmdsky_debug_py-10.0.48.dist-info/RECORD +0 -14
- {pmdsky_debug_py-10.0.48.dist-info → pmdsky_debug_py-10.0.50.dist-info}/WHEEL +0 -0
- {pmdsky_debug_py-10.0.48.dist-info → pmdsky_debug_py-10.0.50.dist-info}/top_level.txt +0 -0
pmdsky_debug_py/jp_itcm.py
CHANGED
|
@@ -3615,6 +3615,15 @@ class JpItcmArm9Functions:
|
|
|
3615
3615
|
None,
|
|
3616
3616
|
)
|
|
3617
3617
|
|
|
3618
|
+
CopyAndInterleaveWrapper = Symbol(
|
|
3619
|
+
None,
|
|
3620
|
+
None,
|
|
3621
|
+
None,
|
|
3622
|
+
"CopyAndInterleaveWrapper",
|
|
3623
|
+
"Calls CopyAndInterleave with the passed len divided by 2.\n\nr0: dst\nr1: src\nr2: len (in bytes, will be divided by 2 in the call to CopyAndInterleave)\nr3: val",
|
|
3624
|
+
None,
|
|
3625
|
+
)
|
|
3626
|
+
|
|
3618
3627
|
InitAnimationControl = Symbol(
|
|
3619
3628
|
None,
|
|
3620
3629
|
None,
|
|
@@ -4205,7 +4214,7 @@ class JpItcmArm9Functions:
|
|
|
4205
4214
|
None,
|
|
4206
4215
|
None,
|
|
4207
4216
|
"GetRankString",
|
|
4208
|
-
"Gets the string corresponding to the player's current explorer rank.\n\nr0: [output] Pointer to the buffer where the string will be written\nr1: First 16 bits contain the rank, next 4 are some sort of bitflags\nreturn: r0 if flags are 0, pointer to some static address otherwise",
|
|
4217
|
+
"Gets the string corresponding to the player's current explorer rank.\n\nr0: [output] Pointer to the buffer where the string will be written (if flags are 0)\nr1: First 16 bits contain the rank, next 4 are some sort of bitflags\nreturn: r0 if flags are 0, pointer to some static address otherwise",
|
|
4209
4218
|
None,
|
|
4210
4219
|
)
|
|
4211
4220
|
|
|
@@ -10964,7 +10973,7 @@ class JpItcmItcmFunctions:
|
|
|
10964
10973
|
[0x1FF8000],
|
|
10965
10974
|
None,
|
|
10966
10975
|
"CopyAndInterleave",
|
|
10967
|
-
"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
|
|
10976
|
+
"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 len, while the number of bytes pasted will be 2 * len.\n\nr0: [output] dst\nr1: src\nr2: len (in bytes)\nr3: val",
|
|
10968
10977
|
None,
|
|
10969
10978
|
)
|
|
10970
10979
|
|
|
@@ -27411,6 +27420,24 @@ class JpItcmOverlay29Functions:
|
|
|
27411
27420
|
None,
|
|
27412
27421
|
)
|
|
27413
27422
|
|
|
27423
|
+
LoadWeather3DFiles = Symbol(
|
|
27424
|
+
None,
|
|
27425
|
+
None,
|
|
27426
|
+
None,
|
|
27427
|
+
"LoadWeather3DFiles",
|
|
27428
|
+
"Loads the 1001.wte, 1005.wte, and 1031.wte files in dungeon.bin, which are used for the 3D effects for the tileset weather as well as the Sandstorm/Fog weather conditions.\n\nNo params.",
|
|
27429
|
+
None,
|
|
27430
|
+
)
|
|
27431
|
+
|
|
27432
|
+
RenderWeather3D = Symbol(
|
|
27433
|
+
None,
|
|
27434
|
+
None,
|
|
27435
|
+
None,
|
|
27436
|
+
"RenderWeather3D",
|
|
27437
|
+
"Renders the 3D effects for the tileset weather as well as the Sandstorm/Fog weather conditions.\n\nNo params.",
|
|
27438
|
+
None,
|
|
27439
|
+
)
|
|
27440
|
+
|
|
27414
27441
|
GetMinimapData = Symbol(
|
|
27415
27442
|
None,
|
|
27416
27443
|
None,
|
|
@@ -27429,6 +27456,15 @@ class JpItcmOverlay29Functions:
|
|
|
27429
27456
|
None,
|
|
27430
27457
|
)
|
|
27431
27458
|
|
|
27459
|
+
FlashLeaderIcon = Symbol(
|
|
27460
|
+
None,
|
|
27461
|
+
None,
|
|
27462
|
+
None,
|
|
27463
|
+
"FlashLeaderIcon",
|
|
27464
|
+
"Seems to control flashing the leader's icon on the minimap when r0 = 0? Doesn't seem to ever be called when r0 = 1.\n\nr0: ?",
|
|
27465
|
+
None,
|
|
27466
|
+
)
|
|
27467
|
+
|
|
27432
27468
|
UpdateMinimap = Symbol(
|
|
27433
27469
|
None,
|
|
27434
27470
|
None,
|
|
@@ -29542,6 +29578,15 @@ class JpItcmOverlay29Data:
|
|
|
29542
29578
|
"struct damage_negating_exclusive_eff_entry[28]",
|
|
29543
29579
|
)
|
|
29544
29580
|
|
|
29581
|
+
TWO_TURN_STATUSES = Symbol(
|
|
29582
|
+
None,
|
|
29583
|
+
None,
|
|
29584
|
+
None,
|
|
29585
|
+
"TWO_TURN_STATUSES",
|
|
29586
|
+
"Lists all status IDs that are for two-turn moves. The last entry is null.",
|
|
29587
|
+
"struct status_two_turn_id_8[11]",
|
|
29588
|
+
)
|
|
29589
|
+
|
|
29545
29590
|
TWO_TURN_MOVES_AND_STATUSES = Symbol(
|
|
29546
29591
|
None,
|
|
29547
29592
|
None,
|
|
@@ -31152,6 +31197,24 @@ class JpItcmRamData:
|
|
|
31152
31197
|
"struct audio_command[16]",
|
|
31153
31198
|
)
|
|
31154
31199
|
|
|
31200
|
+
SOUND_MEMORY_ARENA_PTR = Symbol(
|
|
31201
|
+
None,
|
|
31202
|
+
None,
|
|
31203
|
+
None,
|
|
31204
|
+
"SOUND_MEMORY_ARENA_PTR",
|
|
31205
|
+
"Pointer to SOUND_MEMORY_ARENA.",
|
|
31206
|
+
"struct mem_arena*",
|
|
31207
|
+
)
|
|
31208
|
+
|
|
31209
|
+
WINDOW_LIST = Symbol(
|
|
31210
|
+
None,
|
|
31211
|
+
None,
|
|
31212
|
+
None,
|
|
31213
|
+
"WINDOW_LIST",
|
|
31214
|
+
"Array of all window structs. Newly created window structs are taken from slots in this array.\n\nNote that this array isn't strictly ordered in any way. A newly created window will occupy the first available slot. If a window in an early slot is destroyed, windows that are still active in later slots won't be shifted back unless destroyed and recreated.\n\ntype: struct window_list",
|
|
31215
|
+
"struct window_list",
|
|
31216
|
+
)
|
|
31217
|
+
|
|
31155
31218
|
CURSOR_16_SPRITE_ID = Symbol(
|
|
31156
31219
|
None,
|
|
31157
31220
|
None,
|
|
@@ -31206,24 +31269,6 @@ class JpItcmRamData:
|
|
|
31206
31269
|
"struct animation_control*",
|
|
31207
31270
|
)
|
|
31208
31271
|
|
|
31209
|
-
SOUND_MEMORY_ARENA_PTR = Symbol(
|
|
31210
|
-
None,
|
|
31211
|
-
None,
|
|
31212
|
-
None,
|
|
31213
|
-
"SOUND_MEMORY_ARENA_PTR",
|
|
31214
|
-
"Pointer to SOUND_MEMORY_ARENA.",
|
|
31215
|
-
"struct mem_arena*",
|
|
31216
|
-
)
|
|
31217
|
-
|
|
31218
|
-
WINDOW_LIST = Symbol(
|
|
31219
|
-
None,
|
|
31220
|
-
None,
|
|
31221
|
-
None,
|
|
31222
|
-
"WINDOW_LIST",
|
|
31223
|
-
"Array of all window structs. Newly created window structs are taken from slots in this array.\n\nNote that this array isn't strictly ordered in any way. A newly created window will occupy the first available slot. If a window in an early slot is destroyed, windows that are still active in later slots won't be shifted back unless destroyed and recreated.\n\ntype: struct window_list",
|
|
31224
|
-
"struct window_list",
|
|
31225
|
-
)
|
|
31226
|
-
|
|
31227
31272
|
LAST_NEW_MOVE = Symbol(
|
|
31228
31273
|
None,
|
|
31229
31274
|
None,
|
|
@@ -31310,8 +31355,8 @@ class JpItcmRamData:
|
|
|
31310
31355
|
None,
|
|
31311
31356
|
None,
|
|
31312
31357
|
"TEAM_NAME",
|
|
31313
|
-
"The team name.\n\nA null-terminated string, with a maximum length of 10. Presumably encoded with the ANSI/Shift JIS encoding the game typically uses.\n\nThis is presumably part of a larger struct, together with other nearby data.",
|
|
31314
|
-
"
|
|
31358
|
+
"The team name.\n\nA null-terminated string, with a maximum length of 10 (or 5 in JP). Presumably encoded with the ANSI/Shift JIS encoding the game typically uses.\n\nThis is presumably part of a larger struct, together with other nearby data.",
|
|
31359
|
+
"",
|
|
31315
31360
|
)
|
|
31316
31361
|
|
|
31317
31362
|
LEVEL_UP_DATA_MONSTER_ID = Symbol(
|
|
@@ -31401,7 +31446,7 @@ class JpItcmRamData:
|
|
|
31401
31446
|
None,
|
|
31402
31447
|
None,
|
|
31403
31448
|
"LOCK_NOTIFY_ARRAY",
|
|
31404
|
-
"Used to notify scripts waiting for a certain lock to unlock so they can resume their execution.\n\n1 byte per lock.
|
|
31449
|
+
"Used to notify scripts waiting for a certain lock to unlock so they can resume their execution.\n\n1 byte per lock.",
|
|
31405
31450
|
"bool[20]",
|
|
31406
31451
|
)
|
|
31407
31452
|
|
|
@@ -31463,21 +31508,21 @@ class JpItcmRamData:
|
|
|
31463
31508
|
"bool[8]",
|
|
31464
31509
|
)
|
|
31465
31510
|
|
|
31466
|
-
|
|
31511
|
+
AI_THROWN_ITEM_PROBABILITIES = Symbol(
|
|
31467
31512
|
None,
|
|
31468
31513
|
None,
|
|
31469
31514
|
None,
|
|
31470
|
-
"
|
|
31471
|
-
"[Runtime] Used to store the directions
|
|
31515
|
+
"AI_THROWN_ITEM_PROBABILITIES",
|
|
31516
|
+
"[Runtime] Used to store the probabilities matching the directions in THROWN_ITEM_DIRECTIONS.",
|
|
31472
31517
|
"uint32_t[8]",
|
|
31473
31518
|
)
|
|
31474
31519
|
|
|
31475
|
-
|
|
31520
|
+
AI_THROWN_ITEM_DIRECTIONS = Symbol(
|
|
31476
31521
|
None,
|
|
31477
31522
|
None,
|
|
31478
31523
|
None,
|
|
31479
|
-
"
|
|
31480
|
-
"[Runtime] Used to store the
|
|
31524
|
+
"AI_THROWN_ITEM_DIRECTIONS",
|
|
31525
|
+
"[Runtime] Used to store the directions output by GetPossibleAiThrownItemDirections.",
|
|
31481
31526
|
"uint32_t[8]",
|
|
31482
31527
|
)
|
|
31483
31528
|
|
pmdsky_debug_py/na.py
CHANGED
|
@@ -3661,6 +3661,15 @@ class NaArm9Functions:
|
|
|
3661
3661
|
None,
|
|
3662
3662
|
)
|
|
3663
3663
|
|
|
3664
|
+
CopyAndInterleaveWrapper = Symbol(
|
|
3665
|
+
[0x1BFF0],
|
|
3666
|
+
[0x201BFF0],
|
|
3667
|
+
None,
|
|
3668
|
+
"CopyAndInterleaveWrapper",
|
|
3669
|
+
"Calls CopyAndInterleave with the passed len divided by 2.\n\nr0: dst\nr1: src\nr2: len (in bytes, will be divided by 2 in the call to CopyAndInterleave)\nr3: val",
|
|
3670
|
+
None,
|
|
3671
|
+
)
|
|
3672
|
+
|
|
3664
3673
|
InitAnimationControl = Symbol(
|
|
3665
3674
|
[0x1C050],
|
|
3666
3675
|
[0x201C050],
|
|
@@ -4251,7 +4260,7 @@ class NaArm9Functions:
|
|
|
4251
4260
|
[0x2024AF4],
|
|
4252
4261
|
None,
|
|
4253
4262
|
"GetRankString",
|
|
4254
|
-
"Gets the string corresponding to the player's current explorer rank.\n\nr0: [output] Pointer to the buffer where the string will be written\nr1: First 16 bits contain the rank, next 4 are some sort of bitflags\nreturn: r0 if flags are 0, pointer to some static address otherwise",
|
|
4263
|
+
"Gets the string corresponding to the player's current explorer rank.\n\nr0: [output] Pointer to the buffer where the string will be written (if flags are 0)\nr1: First 16 bits contain the rank, next 4 are some sort of bitflags\nreturn: r0 if flags are 0, pointer to some static address otherwise",
|
|
4255
4264
|
None,
|
|
4256
4265
|
)
|
|
4257
4266
|
|
|
@@ -11030,7 +11039,7 @@ class NaItcmFunctions:
|
|
|
11030
11039
|
[0x20B3380],
|
|
11031
11040
|
None,
|
|
11032
11041
|
"CopyAndInterleave",
|
|
11033
|
-
"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
|
|
11042
|
+
"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 len, while the number of bytes pasted will be 2 * len.\n\nr0: [output] dst\nr1: src\nr2: len (in bytes)\nr3: val",
|
|
11034
11043
|
None,
|
|
11035
11044
|
)
|
|
11036
11045
|
|
|
@@ -27984,6 +27993,24 @@ class NaOverlay29Functions:
|
|
|
27984
27993
|
None,
|
|
27985
27994
|
)
|
|
27986
27995
|
|
|
27996
|
+
LoadWeather3DFiles = Symbol(
|
|
27997
|
+
[0x5C670],
|
|
27998
|
+
[0x23388B0],
|
|
27999
|
+
None,
|
|
28000
|
+
"LoadWeather3DFiles",
|
|
28001
|
+
"Loads the 1001.wte, 1005.wte, and 1031.wte files in dungeon.bin, which are used for the 3D effects for the tileset weather as well as the Sandstorm/Fog weather conditions.\n\nNo params.",
|
|
28002
|
+
None,
|
|
28003
|
+
)
|
|
28004
|
+
|
|
28005
|
+
RenderWeather3D = Symbol(
|
|
28006
|
+
[0x5C884],
|
|
28007
|
+
[0x2338AC4],
|
|
28008
|
+
None,
|
|
28009
|
+
"RenderWeather3D",
|
|
28010
|
+
"Renders the 3D effects for the tileset weather as well as the Sandstorm/Fog weather conditions.\n\nNo params.",
|
|
28011
|
+
None,
|
|
28012
|
+
)
|
|
28013
|
+
|
|
27987
28014
|
GetMinimapData = Symbol(
|
|
27988
28015
|
[0x5CED8],
|
|
27989
28016
|
[0x2339118],
|
|
@@ -28002,6 +28029,15 @@ class NaOverlay29Functions:
|
|
|
28002
28029
|
None,
|
|
28003
28030
|
)
|
|
28004
28031
|
|
|
28032
|
+
FlashLeaderIcon = Symbol(
|
|
28033
|
+
[0x5D7E4],
|
|
28034
|
+
[0x2339A24],
|
|
28035
|
+
None,
|
|
28036
|
+
"FlashLeaderIcon",
|
|
28037
|
+
"Seems to control flashing the leader's icon on the minimap when r0 = 0? Doesn't seem to ever be called when r0 = 1.\n\nr0: ?",
|
|
28038
|
+
None,
|
|
28039
|
+
)
|
|
28040
|
+
|
|
28005
28041
|
UpdateMinimap = Symbol(
|
|
28006
28042
|
[0x5DAA8],
|
|
28007
28043
|
[0x2339CE8],
|
|
@@ -30218,6 +30254,15 @@ class NaOverlay29Data:
|
|
|
30218
30254
|
"struct damage_negating_exclusive_eff_entry[28]",
|
|
30219
30255
|
)
|
|
30220
30256
|
|
|
30257
|
+
TWO_TURN_STATUSES = Symbol(
|
|
30258
|
+
[0x76820],
|
|
30259
|
+
[0x2352A60],
|
|
30260
|
+
0xB,
|
|
30261
|
+
"TWO_TURN_STATUSES",
|
|
30262
|
+
"Lists all status IDs that are for two-turn moves. The last entry is null.",
|
|
30263
|
+
"struct status_two_turn_id_8[11]",
|
|
30264
|
+
)
|
|
30265
|
+
|
|
30221
30266
|
TWO_TURN_MOVES_AND_STATUSES = Symbol(
|
|
30222
30267
|
[0x7686C],
|
|
30223
30268
|
[0x2352AAC],
|
|
@@ -31868,10 +31913,28 @@ class NaRamData:
|
|
|
31868
31913
|
"struct audio_command[16]",
|
|
31869
31914
|
)
|
|
31870
31915
|
|
|
31916
|
+
SOUND_MEMORY_ARENA_PTR = Symbol(
|
|
31917
|
+
[0x2A4E54],
|
|
31918
|
+
[0x22A4E54],
|
|
31919
|
+
0x4,
|
|
31920
|
+
"SOUND_MEMORY_ARENA_PTR",
|
|
31921
|
+
"Pointer to SOUND_MEMORY_ARENA.",
|
|
31922
|
+
"struct mem_arena*",
|
|
31923
|
+
)
|
|
31924
|
+
|
|
31925
|
+
WINDOW_LIST = Symbol(
|
|
31926
|
+
[0x2A88DC],
|
|
31927
|
+
[0x22A88DC],
|
|
31928
|
+
0x1180,
|
|
31929
|
+
"WINDOW_LIST",
|
|
31930
|
+
"Array of all window structs. Newly created window structs are taken from slots in this array.\n\nNote that this array isn't strictly ordered in any way. A newly created window will occupy the first available slot. If a window in an early slot is destroyed, windows that are still active in later slots won't be shifted back unless destroyed and recreated.\n\ntype: struct window_list",
|
|
31931
|
+
"struct window_list",
|
|
31932
|
+
)
|
|
31933
|
+
|
|
31871
31934
|
CURSOR_16_SPRITE_ID = Symbol(
|
|
31872
|
-
|
|
31873
|
-
|
|
31874
|
-
|
|
31935
|
+
[0x2AAC64],
|
|
31936
|
+
[0x22AAC64],
|
|
31937
|
+
0x2,
|
|
31875
31938
|
"CURSOR_16_SPRITE_ID",
|
|
31876
31939
|
"Id of the 'FONT/cursor_16.wan' sprite loaded in WAN_TABLE",
|
|
31877
31940
|
"uint16_t",
|
|
@@ -31887,59 +31950,41 @@ class NaRamData:
|
|
|
31887
31950
|
)
|
|
31888
31951
|
|
|
31889
31952
|
CURSOR_ANIMATION_CONTROL = Symbol(
|
|
31890
|
-
|
|
31891
|
-
|
|
31892
|
-
|
|
31953
|
+
[0x2AAC80],
|
|
31954
|
+
[0x22AAC80],
|
|
31955
|
+
0x7C,
|
|
31893
31956
|
"CURSOR_ANIMATION_CONTROL",
|
|
31894
31957
|
"animation_control of 'FONT/cursor.wan'",
|
|
31895
31958
|
"struct animation_control*",
|
|
31896
31959
|
)
|
|
31897
31960
|
|
|
31898
31961
|
CURSOR_16_ANIMATION_CONTROL = Symbol(
|
|
31899
|
-
|
|
31900
|
-
|
|
31901
|
-
|
|
31962
|
+
[0x2AACFC],
|
|
31963
|
+
[0x22AACFC],
|
|
31964
|
+
0x7C,
|
|
31902
31965
|
"CURSOR_16_ANIMATION_CONTROL",
|
|
31903
31966
|
"animation_control of 'FONT/cursor_16.wan'",
|
|
31904
31967
|
"struct animation_control*",
|
|
31905
31968
|
)
|
|
31906
31969
|
|
|
31907
31970
|
ALERT_SPRITE_ID = Symbol(
|
|
31908
|
-
|
|
31909
|
-
|
|
31910
|
-
|
|
31971
|
+
[0x2AAD78],
|
|
31972
|
+
[0x22AAD78],
|
|
31973
|
+
0x2,
|
|
31911
31974
|
"ALERT_SPRITE_ID",
|
|
31912
31975
|
"Id of the 'FONT/alert.wan' sprite loaded in WAN_TABLE",
|
|
31913
31976
|
"uint16_t",
|
|
31914
31977
|
)
|
|
31915
31978
|
|
|
31916
31979
|
ALERT_ANIMATION_CONTROL = Symbol(
|
|
31917
|
-
|
|
31918
|
-
|
|
31919
|
-
|
|
31980
|
+
[0x2AAD7C],
|
|
31981
|
+
[0x22AAD7C],
|
|
31982
|
+
0x7C,
|
|
31920
31983
|
"ALERT_ANIMATION_CONTROL",
|
|
31921
31984
|
"animation_control of 'FONT/alter.wan'",
|
|
31922
31985
|
"struct animation_control*",
|
|
31923
31986
|
)
|
|
31924
31987
|
|
|
31925
|
-
SOUND_MEMORY_ARENA_PTR = Symbol(
|
|
31926
|
-
[0x2A4E54],
|
|
31927
|
-
[0x22A4E54],
|
|
31928
|
-
0x4,
|
|
31929
|
-
"SOUND_MEMORY_ARENA_PTR",
|
|
31930
|
-
"Pointer to SOUND_MEMORY_ARENA.",
|
|
31931
|
-
"struct mem_arena*",
|
|
31932
|
-
)
|
|
31933
|
-
|
|
31934
|
-
WINDOW_LIST = Symbol(
|
|
31935
|
-
[0x2A88DC],
|
|
31936
|
-
[0x22A88DC],
|
|
31937
|
-
None,
|
|
31938
|
-
"WINDOW_LIST",
|
|
31939
|
-
"Array of all window structs. Newly created window structs are taken from slots in this array.\n\nNote that this array isn't strictly ordered in any way. A newly created window will occupy the first available slot. If a window in an early slot is destroyed, windows that are still active in later slots won't be shifted back unless destroyed and recreated.\n\ntype: struct window_list",
|
|
31940
|
-
"struct window_list",
|
|
31941
|
-
)
|
|
31942
|
-
|
|
31943
31988
|
LAST_NEW_MOVE = Symbol(
|
|
31944
31989
|
[0x2AAE4C],
|
|
31945
31990
|
[0x22AAE4C],
|
|
@@ -32024,10 +32069,10 @@ class NaRamData:
|
|
|
32024
32069
|
TEAM_NAME = Symbol(
|
|
32025
32070
|
[0x2AB918],
|
|
32026
32071
|
[0x22AB918],
|
|
32027
|
-
|
|
32072
|
+
0xA,
|
|
32028
32073
|
"TEAM_NAME",
|
|
32029
|
-
"The team name.\n\nA null-terminated string, with a maximum length of 10. Presumably encoded with the ANSI/Shift JIS encoding the game typically uses.\n\nThis is presumably part of a larger struct, together with other nearby data.",
|
|
32030
|
-
"
|
|
32074
|
+
"The team name.\n\nA null-terminated string, with a maximum length of 10 (or 5 in JP). Presumably encoded with the ANSI/Shift JIS encoding the game typically uses.\n\nThis is presumably part of a larger struct, together with other nearby data.",
|
|
32075
|
+
"",
|
|
32031
32076
|
)
|
|
32032
32077
|
|
|
32033
32078
|
LEVEL_UP_DATA_MONSTER_ID = Symbol(
|
|
@@ -32119,9 +32164,9 @@ class NaRamData:
|
|
|
32119
32164
|
LOCK_NOTIFY_ARRAY = Symbol(
|
|
32120
32165
|
[0x324EB4],
|
|
32121
32166
|
[0x2324EB4],
|
|
32122
|
-
|
|
32167
|
+
0x18,
|
|
32123
32168
|
"LOCK_NOTIFY_ARRAY",
|
|
32124
|
-
"Used to notify scripts waiting for a certain lock to unlock so they can resume their execution.\n\n1 byte per lock.
|
|
32169
|
+
"Used to notify scripts waiting for a certain lock to unlock so they can resume their execution.\n\n1 byte per lock.",
|
|
32125
32170
|
"bool[20]",
|
|
32126
32171
|
)
|
|
32127
32172
|
|
|
@@ -32166,41 +32211,41 @@ class NaRamData:
|
|
|
32166
32211
|
)
|
|
32167
32212
|
|
|
32168
32213
|
LOADED_ATTACK_SPRITE_DATA = Symbol(
|
|
32169
|
-
|
|
32170
|
-
|
|
32171
|
-
|
|
32214
|
+
[0x37C9AC],
|
|
32215
|
+
[0x237C9AC],
|
|
32216
|
+
0x4,
|
|
32172
32217
|
"LOADED_ATTACK_SPRITE_DATA",
|
|
32173
32218
|
"[Runtime] Pointer to the dynamically allocated structure relating to the currently loaded attack sprite, in dungeon mode.\n\ntype: struct loaded_attack_sprite_data*",
|
|
32174
32219
|
"struct loaded_attack_sprite_data*",
|
|
32175
32220
|
)
|
|
32176
32221
|
|
|
32177
32222
|
AI_THROWN_ITEM_DIRECTION_IS_USED = Symbol(
|
|
32178
|
-
|
|
32179
|
-
|
|
32180
|
-
|
|
32223
|
+
[0x37C9D0],
|
|
32224
|
+
[0x237C9D0],
|
|
32225
|
+
0x8,
|
|
32181
32226
|
"AI_THROWN_ITEM_DIRECTION_IS_USED",
|
|
32182
32227
|
"[Runtime] Used in GetPossibleAiThrownItemDirections to indicate whether a certain direction enum value is already being used or not.",
|
|
32183
32228
|
"bool[8]",
|
|
32184
32229
|
)
|
|
32185
32230
|
|
|
32186
|
-
AI_THROWN_ITEM_DIRECTIONS = Symbol(
|
|
32187
|
-
None,
|
|
32188
|
-
None,
|
|
32189
|
-
None,
|
|
32190
|
-
"AI_THROWN_ITEM_DIRECTIONS",
|
|
32191
|
-
"[Runtime] Used to store the directions output by GetPossibleAiThrownItemDirections.",
|
|
32192
|
-
"uint32_t[8]",
|
|
32193
|
-
)
|
|
32194
|
-
|
|
32195
32231
|
AI_THROWN_ITEM_PROBABILITIES = Symbol(
|
|
32196
|
-
|
|
32197
|
-
|
|
32198
|
-
|
|
32232
|
+
[0x37C9D8],
|
|
32233
|
+
[0x237C9D8],
|
|
32234
|
+
0x20,
|
|
32199
32235
|
"AI_THROWN_ITEM_PROBABILITIES",
|
|
32200
32236
|
"[Runtime] Used to store the probabilities matching the directions in THROWN_ITEM_DIRECTIONS.",
|
|
32201
32237
|
"uint32_t[8]",
|
|
32202
32238
|
)
|
|
32203
32239
|
|
|
32240
|
+
AI_THROWN_ITEM_DIRECTIONS = Symbol(
|
|
32241
|
+
[0x37C9F8],
|
|
32242
|
+
[0x237C9F8],
|
|
32243
|
+
0x20,
|
|
32244
|
+
"AI_THROWN_ITEM_DIRECTIONS",
|
|
32245
|
+
"[Runtime] Used to store the directions output by GetPossibleAiThrownItemDirections.",
|
|
32246
|
+
"uint32_t[8]",
|
|
32247
|
+
)
|
|
32248
|
+
|
|
32204
32249
|
ROLLOUT_ICE_BALL_MISSED = Symbol(
|
|
32205
32250
|
[0x37CA69],
|
|
32206
32251
|
[0x237CA69],
|
pmdsky_debug_py/na_itcm.py
CHANGED
|
@@ -3615,6 +3615,15 @@ class NaItcmArm9Functions:
|
|
|
3615
3615
|
None,
|
|
3616
3616
|
)
|
|
3617
3617
|
|
|
3618
|
+
CopyAndInterleaveWrapper = Symbol(
|
|
3619
|
+
None,
|
|
3620
|
+
None,
|
|
3621
|
+
None,
|
|
3622
|
+
"CopyAndInterleaveWrapper",
|
|
3623
|
+
"Calls CopyAndInterleave with the passed len divided by 2.\n\nr0: dst\nr1: src\nr2: len (in bytes, will be divided by 2 in the call to CopyAndInterleave)\nr3: val",
|
|
3624
|
+
None,
|
|
3625
|
+
)
|
|
3626
|
+
|
|
3618
3627
|
InitAnimationControl = Symbol(
|
|
3619
3628
|
None,
|
|
3620
3629
|
None,
|
|
@@ -4205,7 +4214,7 @@ class NaItcmArm9Functions:
|
|
|
4205
4214
|
None,
|
|
4206
4215
|
None,
|
|
4207
4216
|
"GetRankString",
|
|
4208
|
-
"Gets the string corresponding to the player's current explorer rank.\n\nr0: [output] Pointer to the buffer where the string will be written\nr1: First 16 bits contain the rank, next 4 are some sort of bitflags\nreturn: r0 if flags are 0, pointer to some static address otherwise",
|
|
4217
|
+
"Gets the string corresponding to the player's current explorer rank.\n\nr0: [output] Pointer to the buffer where the string will be written (if flags are 0)\nr1: First 16 bits contain the rank, next 4 are some sort of bitflags\nreturn: r0 if flags are 0, pointer to some static address otherwise",
|
|
4209
4218
|
None,
|
|
4210
4219
|
)
|
|
4211
4220
|
|
|
@@ -10964,7 +10973,7 @@ class NaItcmItcmFunctions:
|
|
|
10964
10973
|
[0x1FF8000],
|
|
10965
10974
|
None,
|
|
10966
10975
|
"CopyAndInterleave",
|
|
10967
|
-
"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
|
|
10976
|
+
"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 len, while the number of bytes pasted will be 2 * len.\n\nr0: [output] dst\nr1: src\nr2: len (in bytes)\nr3: val",
|
|
10968
10977
|
None,
|
|
10969
10978
|
)
|
|
10970
10979
|
|
|
@@ -27411,6 +27420,24 @@ class NaItcmOverlay29Functions:
|
|
|
27411
27420
|
None,
|
|
27412
27421
|
)
|
|
27413
27422
|
|
|
27423
|
+
LoadWeather3DFiles = Symbol(
|
|
27424
|
+
None,
|
|
27425
|
+
None,
|
|
27426
|
+
None,
|
|
27427
|
+
"LoadWeather3DFiles",
|
|
27428
|
+
"Loads the 1001.wte, 1005.wte, and 1031.wte files in dungeon.bin, which are used for the 3D effects for the tileset weather as well as the Sandstorm/Fog weather conditions.\n\nNo params.",
|
|
27429
|
+
None,
|
|
27430
|
+
)
|
|
27431
|
+
|
|
27432
|
+
RenderWeather3D = Symbol(
|
|
27433
|
+
None,
|
|
27434
|
+
None,
|
|
27435
|
+
None,
|
|
27436
|
+
"RenderWeather3D",
|
|
27437
|
+
"Renders the 3D effects for the tileset weather as well as the Sandstorm/Fog weather conditions.\n\nNo params.",
|
|
27438
|
+
None,
|
|
27439
|
+
)
|
|
27440
|
+
|
|
27414
27441
|
GetMinimapData = Symbol(
|
|
27415
27442
|
None,
|
|
27416
27443
|
None,
|
|
@@ -27429,6 +27456,15 @@ class NaItcmOverlay29Functions:
|
|
|
27429
27456
|
None,
|
|
27430
27457
|
)
|
|
27431
27458
|
|
|
27459
|
+
FlashLeaderIcon = Symbol(
|
|
27460
|
+
None,
|
|
27461
|
+
None,
|
|
27462
|
+
None,
|
|
27463
|
+
"FlashLeaderIcon",
|
|
27464
|
+
"Seems to control flashing the leader's icon on the minimap when r0 = 0? Doesn't seem to ever be called when r0 = 1.\n\nr0: ?",
|
|
27465
|
+
None,
|
|
27466
|
+
)
|
|
27467
|
+
|
|
27432
27468
|
UpdateMinimap = Symbol(
|
|
27433
27469
|
None,
|
|
27434
27470
|
None,
|
|
@@ -29542,6 +29578,15 @@ class NaItcmOverlay29Data:
|
|
|
29542
29578
|
"struct damage_negating_exclusive_eff_entry[28]",
|
|
29543
29579
|
)
|
|
29544
29580
|
|
|
29581
|
+
TWO_TURN_STATUSES = Symbol(
|
|
29582
|
+
None,
|
|
29583
|
+
None,
|
|
29584
|
+
None,
|
|
29585
|
+
"TWO_TURN_STATUSES",
|
|
29586
|
+
"Lists all status IDs that are for two-turn moves. The last entry is null.",
|
|
29587
|
+
"struct status_two_turn_id_8[11]",
|
|
29588
|
+
)
|
|
29589
|
+
|
|
29545
29590
|
TWO_TURN_MOVES_AND_STATUSES = Symbol(
|
|
29546
29591
|
None,
|
|
29547
29592
|
None,
|
|
@@ -31152,6 +31197,24 @@ class NaItcmRamData:
|
|
|
31152
31197
|
"struct audio_command[16]",
|
|
31153
31198
|
)
|
|
31154
31199
|
|
|
31200
|
+
SOUND_MEMORY_ARENA_PTR = Symbol(
|
|
31201
|
+
None,
|
|
31202
|
+
None,
|
|
31203
|
+
None,
|
|
31204
|
+
"SOUND_MEMORY_ARENA_PTR",
|
|
31205
|
+
"Pointer to SOUND_MEMORY_ARENA.",
|
|
31206
|
+
"struct mem_arena*",
|
|
31207
|
+
)
|
|
31208
|
+
|
|
31209
|
+
WINDOW_LIST = Symbol(
|
|
31210
|
+
None,
|
|
31211
|
+
None,
|
|
31212
|
+
None,
|
|
31213
|
+
"WINDOW_LIST",
|
|
31214
|
+
"Array of all window structs. Newly created window structs are taken from slots in this array.\n\nNote that this array isn't strictly ordered in any way. A newly created window will occupy the first available slot. If a window in an early slot is destroyed, windows that are still active in later slots won't be shifted back unless destroyed and recreated.\n\ntype: struct window_list",
|
|
31215
|
+
"struct window_list",
|
|
31216
|
+
)
|
|
31217
|
+
|
|
31155
31218
|
CURSOR_16_SPRITE_ID = Symbol(
|
|
31156
31219
|
None,
|
|
31157
31220
|
None,
|
|
@@ -31206,24 +31269,6 @@ class NaItcmRamData:
|
|
|
31206
31269
|
"struct animation_control*",
|
|
31207
31270
|
)
|
|
31208
31271
|
|
|
31209
|
-
SOUND_MEMORY_ARENA_PTR = Symbol(
|
|
31210
|
-
None,
|
|
31211
|
-
None,
|
|
31212
|
-
None,
|
|
31213
|
-
"SOUND_MEMORY_ARENA_PTR",
|
|
31214
|
-
"Pointer to SOUND_MEMORY_ARENA.",
|
|
31215
|
-
"struct mem_arena*",
|
|
31216
|
-
)
|
|
31217
|
-
|
|
31218
|
-
WINDOW_LIST = Symbol(
|
|
31219
|
-
None,
|
|
31220
|
-
None,
|
|
31221
|
-
None,
|
|
31222
|
-
"WINDOW_LIST",
|
|
31223
|
-
"Array of all window structs. Newly created window structs are taken from slots in this array.\n\nNote that this array isn't strictly ordered in any way. A newly created window will occupy the first available slot. If a window in an early slot is destroyed, windows that are still active in later slots won't be shifted back unless destroyed and recreated.\n\ntype: struct window_list",
|
|
31224
|
-
"struct window_list",
|
|
31225
|
-
)
|
|
31226
|
-
|
|
31227
31272
|
LAST_NEW_MOVE = Symbol(
|
|
31228
31273
|
None,
|
|
31229
31274
|
None,
|
|
@@ -31310,8 +31355,8 @@ class NaItcmRamData:
|
|
|
31310
31355
|
None,
|
|
31311
31356
|
None,
|
|
31312
31357
|
"TEAM_NAME",
|
|
31313
|
-
"The team name.\n\nA null-terminated string, with a maximum length of 10. Presumably encoded with the ANSI/Shift JIS encoding the game typically uses.\n\nThis is presumably part of a larger struct, together with other nearby data.",
|
|
31314
|
-
"
|
|
31358
|
+
"The team name.\n\nA null-terminated string, with a maximum length of 10 (or 5 in JP). Presumably encoded with the ANSI/Shift JIS encoding the game typically uses.\n\nThis is presumably part of a larger struct, together with other nearby data.",
|
|
31359
|
+
"",
|
|
31315
31360
|
)
|
|
31316
31361
|
|
|
31317
31362
|
LEVEL_UP_DATA_MONSTER_ID = Symbol(
|
|
@@ -31401,7 +31446,7 @@ class NaItcmRamData:
|
|
|
31401
31446
|
None,
|
|
31402
31447
|
None,
|
|
31403
31448
|
"LOCK_NOTIFY_ARRAY",
|
|
31404
|
-
"Used to notify scripts waiting for a certain lock to unlock so they can resume their execution.\n\n1 byte per lock.
|
|
31449
|
+
"Used to notify scripts waiting for a certain lock to unlock so they can resume their execution.\n\n1 byte per lock.",
|
|
31405
31450
|
"bool[20]",
|
|
31406
31451
|
)
|
|
31407
31452
|
|
|
@@ -31463,21 +31508,21 @@ class NaItcmRamData:
|
|
|
31463
31508
|
"bool[8]",
|
|
31464
31509
|
)
|
|
31465
31510
|
|
|
31466
|
-
|
|
31511
|
+
AI_THROWN_ITEM_PROBABILITIES = Symbol(
|
|
31467
31512
|
None,
|
|
31468
31513
|
None,
|
|
31469
31514
|
None,
|
|
31470
|
-
"
|
|
31471
|
-
"[Runtime] Used to store the directions
|
|
31515
|
+
"AI_THROWN_ITEM_PROBABILITIES",
|
|
31516
|
+
"[Runtime] Used to store the probabilities matching the directions in THROWN_ITEM_DIRECTIONS.",
|
|
31472
31517
|
"uint32_t[8]",
|
|
31473
31518
|
)
|
|
31474
31519
|
|
|
31475
|
-
|
|
31520
|
+
AI_THROWN_ITEM_DIRECTIONS = Symbol(
|
|
31476
31521
|
None,
|
|
31477
31522
|
None,
|
|
31478
31523
|
None,
|
|
31479
|
-
"
|
|
31480
|
-
"[Runtime] Used to store the
|
|
31524
|
+
"AI_THROWN_ITEM_DIRECTIONS",
|
|
31525
|
+
"[Runtime] Used to store the directions output by GetPossibleAiThrownItemDirections.",
|
|
31481
31526
|
"uint32_t[8]",
|
|
31482
31527
|
)
|
|
31483
31528
|
|