pmdsky-debug-py 10.0.49__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.
@@ -1 +1 @@
1
- RELEASE = "v0.10.0+9149d2c08c"
1
+ RELEASE = "v0.10.0+0ebe117d8e"
pmdsky_debug_py/eu.py CHANGED
@@ -30256,6 +30256,15 @@ class EuOverlay29Data:
30256
30256
  "struct damage_negating_exclusive_eff_entry[28]",
30257
30257
  )
30258
30258
 
30259
+ TWO_TURN_STATUSES = Symbol(
30260
+ [0x76AEC],
30261
+ [0x235366C],
30262
+ 0xB,
30263
+ "TWO_TURN_STATUSES",
30264
+ "Lists all status IDs that are for two-turn moves. The last entry is null.",
30265
+ "struct status_two_turn_id_8[11]",
30266
+ )
30267
+
30259
30268
  TWO_TURN_MOVES_AND_STATUSES = Symbol(
30260
30269
  [0x76B38],
30261
30270
  [0x23536B8],
@@ -31682,9 +31691,9 @@ class EuRamFunctions:
31682
31691
  class EuRamData:
31683
31692
 
31684
31693
  DEFAULT_MEMORY_ARENA_MEMORY = Symbol(
31685
- None,
31686
- None,
31687
- None,
31694
+ [0xB5500],
31695
+ [0x20B5500],
31696
+ 0x1E6400,
31688
31697
  "DEFAULT_MEMORY_ARENA_MEMORY",
31689
31698
  "The memory region for the default memory arena.\n\nThe length is defined by DEFAULT_MEMORY_ARENA_SIZE.\n\nOne mode that uses this region for heap allocations is dungeon mode.",
31690
31699
  "uint8_t[1991680]",
@@ -31898,14 +31907,32 @@ class EuRamData:
31898
31907
  )
31899
31908
 
31900
31909
  AUDIO_COMMANDS_BUFFER = Symbol(
31901
- [0x2A5599],
31902
- [0x22A5599],
31910
+ [0x2A5590],
31911
+ [0x22A5590],
31903
31912
  0x200,
31904
31913
  "AUDIO_COMMANDS_BUFFER",
31905
31914
  "Buffer used to store audio commands. 16 entries in total. Seems like entries are removed at some point (maybe after the commands are read or after they finish executing).",
31906
31915
  "struct audio_command[16]",
31907
31916
  )
31908
31917
 
31918
+ SOUND_MEMORY_ARENA_PTR = Symbol(
31919
+ None,
31920
+ None,
31921
+ None,
31922
+ "SOUND_MEMORY_ARENA_PTR",
31923
+ "Pointer to SOUND_MEMORY_ARENA.",
31924
+ "struct mem_arena*",
31925
+ )
31926
+
31927
+ WINDOW_LIST = Symbol(
31928
+ [0x2A921C],
31929
+ [0x22A921C],
31930
+ 0x1180,
31931
+ "WINDOW_LIST",
31932
+ "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",
31933
+ "struct window_list",
31934
+ )
31935
+
31909
31936
  CURSOR_16_SPRITE_ID = Symbol(
31910
31937
  [0x2AB5A4],
31911
31938
  [0x22AB5A4],
@@ -31960,24 +31987,6 @@ class EuRamData:
31960
31987
  "struct animation_control*",
31961
31988
  )
31962
31989
 
31963
- SOUND_MEMORY_ARENA_PTR = Symbol(
31964
- None,
31965
- None,
31966
- None,
31967
- "SOUND_MEMORY_ARENA_PTR",
31968
- "Pointer to SOUND_MEMORY_ARENA.",
31969
- "struct mem_arena*",
31970
- )
31971
-
31972
- WINDOW_LIST = Symbol(
31973
- None,
31974
- None,
31975
- None,
31976
- "WINDOW_LIST",
31977
- "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",
31978
- "struct window_list",
31979
- )
31980
-
31981
31990
  LAST_NEW_MOVE = Symbol(
31982
31991
  [0x2AB78C],
31983
31992
  [0x22AB78C],
@@ -32015,9 +32024,9 @@ class EuRamData:
32015
32024
  )
32016
32025
 
32017
32026
  KAOMADO_STREAM = Symbol(
32018
- None,
32019
- None,
32020
- None,
32027
+ [0x2ABDF0],
32028
+ [0x22ABDF0],
32029
+ 0x48,
32021
32030
  "KAOMADO_STREAM",
32022
32031
  "The file stream utilized for all Kaomado portrait loads.\n\ntype: struct file_stream",
32023
32032
  "struct file_stream",
@@ -32062,10 +32071,10 @@ class EuRamData:
32062
32071
  TEAM_NAME = Symbol(
32063
32072
  [0x2AC258],
32064
32073
  [0x22AC258],
32065
- 0xC,
32074
+ 0xA,
32066
32075
  "TEAM_NAME",
32067
- "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.",
32068
- "char[10]",
32076
+ "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.",
32077
+ "",
32069
32078
  )
32070
32079
 
32071
32080
  LEVEL_UP_DATA_MONSTER_ID = Symbol(
@@ -32157,16 +32166,16 @@ class EuRamData:
32157
32166
  LOCK_NOTIFY_ARRAY = Symbol(
32158
32167
  [0x3259F4],
32159
32168
  [0x23259F4],
32160
- 0x14,
32169
+ 0x18,
32161
32170
  "LOCK_NOTIFY_ARRAY",
32162
- "Used to notify scripts waiting for a certain lock to unlock so they can resume their execution.\n\n1 byte per lock. Exact size isn't confirmed, it could potentially be longer.",
32171
+ "Used to notify scripts waiting for a certain lock to unlock so they can resume their execution.\n\n1 byte per lock.",
32163
32172
  "bool[20]",
32164
32173
  )
32165
32174
 
32166
32175
  GROUND_MEMORY_ARENA_1 = Symbol(
32167
- None,
32168
- None,
32169
- None,
32176
+ [0x325B00],
32177
+ [0x2325B00],
32178
+ 0x1C,
32170
32179
  "GROUND_MEMORY_ARENA_1",
32171
32180
  "This is a top-level memory arena used for some things in ground mode.\n\nIt's used for user_flags 8, 15, and 16.\n\nIncluding the allocator metadata, this arena occupies 0x64000 bytes of space.\n\ntype: struct mem_arena",
32172
32181
  "struct mem_arena",
@@ -32221,37 +32230,37 @@ class EuRamData:
32221
32230
  "bool[8]",
32222
32231
  )
32223
32232
 
32224
- AI_THROWN_ITEM_DIRECTIONS = Symbol(
32233
+ AI_THROWN_ITEM_PROBABILITIES = Symbol(
32225
32234
  [0x37D5D8],
32226
32235
  [0x237D5D8],
32227
32236
  0x20,
32228
- "AI_THROWN_ITEM_DIRECTIONS",
32229
- "[Runtime] Used to store the directions output by GetPossibleAiThrownItemDirections.",
32237
+ "AI_THROWN_ITEM_PROBABILITIES",
32238
+ "[Runtime] Used to store the probabilities matching the directions in THROWN_ITEM_DIRECTIONS.",
32230
32239
  "uint32_t[8]",
32231
32240
  )
32232
32241
 
32233
- AI_THROWN_ITEM_PROBABILITIES = Symbol(
32242
+ AI_THROWN_ITEM_DIRECTIONS = Symbol(
32234
32243
  [0x37D5F8],
32235
32244
  [0x237D5F8],
32236
32245
  0x20,
32237
- "AI_THROWN_ITEM_PROBABILITIES",
32238
- "[Runtime] Used to store the probabilities matching the directions in THROWN_ITEM_DIRECTIONS.",
32246
+ "AI_THROWN_ITEM_DIRECTIONS",
32247
+ "[Runtime] Used to store the directions output by GetPossibleAiThrownItemDirections.",
32239
32248
  "uint32_t[8]",
32240
32249
  )
32241
32250
 
32242
32251
  ROLLOUT_ICE_BALL_MISSED = Symbol(
32243
- None,
32244
- None,
32245
- None,
32252
+ [0x37D669],
32253
+ [0x237D669],
32254
+ 0x1,
32246
32255
  "ROLLOUT_ICE_BALL_MISSED",
32247
32256
  "[Runtime] Appears to be set to true whenever a hit from Rollout or Ice Ball fails to deal damage.",
32248
32257
  "bool",
32249
32258
  )
32250
32259
 
32251
32260
  MULTIHIT_FATIGUE_MOVE_USED = Symbol(
32252
- None,
32253
- None,
32254
- None,
32261
+ [0x37D66A],
32262
+ [0x237D66A],
32263
+ 0x1,
32255
32264
  "MULTIHIT_FATIGUE_MOVE_USED",
32256
32265
  "[Runtime] Appears to be set to true whenever a multihit fatigue move deals damage.",
32257
32266
  "bool",
@@ -32260,7 +32269,7 @@ class EuRamData:
32260
32269
  TWINEEDLE_HIT_TRACKER = Symbol(
32261
32270
  [0x37D66B],
32262
32271
  [0x237D66B],
32263
- None,
32272
+ 0x1,
32264
32273
  "TWINEEDLE_HIT_TRACKER",
32265
32274
  "[Runtime] Appears to be set to true whenever Twineedle hits and deals damage. So that even if the second attack misses, it will still try to poison the target.",
32266
32275
  "bool",
@@ -32269,16 +32278,16 @@ class EuRamData:
32269
32278
  RAPID_SPIN_BINDING_REMOVAL = Symbol(
32270
32279
  [0x37D66D],
32271
32280
  [0x237D66D],
32272
- None,
32281
+ 0x1,
32273
32282
  "RAPID_SPIN_BINDING_REMOVAL",
32274
32283
  "[Runtime] Appears to be set to true when using Rapid Spin to later remove any binding effects and Leech Seed.",
32275
32284
  "bool",
32276
32285
  )
32277
32286
 
32278
32287
  ROLLOUT_ICE_BALL_SUCCESSIVE_HITS = Symbol(
32279
- None,
32280
- None,
32281
- None,
32288
+ [0x37D670],
32289
+ [0x237D670],
32290
+ 0x4,
32282
32291
  "ROLLOUT_ICE_BALL_SUCCESSIVE_HITS",
32283
32292
  "[Runtime] Seems to count the number of successive hits by Rollout or Ice Ball.",
32284
32293
  "int",
@@ -32287,7 +32296,7 @@ class EuRamData:
32287
32296
  MULTIHIT_MOVE_SUCCESSIVE_HITS = Symbol(
32288
32297
  [0x37D678],
32289
32298
  [0x237D678],
32290
- None,
32299
+ 0x4,
32291
32300
  "MULTIHIT_MOVE_SUCCESSIVE_HITS",
32292
32301
  "[Runtime] Seems to count the number of successive hits for multihit moves. This is used by Twineedle to check to attempt to apply Poison after the second attack.",
32293
32302
  "int",
@@ -32296,16 +32305,16 @@ class EuRamData:
32296
32305
  TRIPLE_KICK_SUCCESSIVE_HITS = Symbol(
32297
32306
  [0x37D67C],
32298
32307
  [0x237D67C],
32299
- None,
32308
+ 0x4,
32300
32309
  "TRIPLE_KICK_SUCCESSIVE_HITS",
32301
32310
  "[Runtime] Seems to count the number of successive hits by Triple Kick.",
32302
32311
  "int",
32303
32312
  )
32304
32313
 
32305
32314
  METRONOME_NEXT_INDEX = Symbol(
32306
- None,
32307
- None,
32308
- None,
32315
+ [0x37D688],
32316
+ [0x237D688],
32317
+ 0x4,
32309
32318
  "METRONOME_NEXT_INDEX",
32310
32319
  "[Runtime] The index into METRONOME_TABLE for the next usage of Metronome.",
32311
32320
  "int",
@@ -29578,6 +29578,15 @@ class EuItcmOverlay29Data:
29578
29578
  "struct damage_negating_exclusive_eff_entry[28]",
29579
29579
  )
29580
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
+
29581
29590
  TWO_TURN_MOVES_AND_STATUSES = Symbol(
29582
29591
  None,
29583
29592
  None,
@@ -31188,6 +31197,24 @@ class EuItcmRamData:
31188
31197
  "struct audio_command[16]",
31189
31198
  )
31190
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
+
31191
31218
  CURSOR_16_SPRITE_ID = Symbol(
31192
31219
  None,
31193
31220
  None,
@@ -31242,24 +31269,6 @@ class EuItcmRamData:
31242
31269
  "struct animation_control*",
31243
31270
  )
31244
31271
 
31245
- SOUND_MEMORY_ARENA_PTR = Symbol(
31246
- None,
31247
- None,
31248
- None,
31249
- "SOUND_MEMORY_ARENA_PTR",
31250
- "Pointer to SOUND_MEMORY_ARENA.",
31251
- "struct mem_arena*",
31252
- )
31253
-
31254
- WINDOW_LIST = Symbol(
31255
- None,
31256
- None,
31257
- None,
31258
- "WINDOW_LIST",
31259
- "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",
31260
- "struct window_list",
31261
- )
31262
-
31263
31272
  LAST_NEW_MOVE = Symbol(
31264
31273
  None,
31265
31274
  None,
@@ -31346,8 +31355,8 @@ class EuItcmRamData:
31346
31355
  None,
31347
31356
  None,
31348
31357
  "TEAM_NAME",
31349
- "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.",
31350
- "char[10]",
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
+ "",
31351
31360
  )
31352
31361
 
31353
31362
  LEVEL_UP_DATA_MONSTER_ID = Symbol(
@@ -31437,7 +31446,7 @@ class EuItcmRamData:
31437
31446
  None,
31438
31447
  None,
31439
31448
  "LOCK_NOTIFY_ARRAY",
31440
- "Used to notify scripts waiting for a certain lock to unlock so they can resume their execution.\n\n1 byte per lock. Exact size isn't confirmed, it could potentially be longer.",
31449
+ "Used to notify scripts waiting for a certain lock to unlock so they can resume their execution.\n\n1 byte per lock.",
31441
31450
  "bool[20]",
31442
31451
  )
31443
31452
 
@@ -31499,21 +31508,21 @@ class EuItcmRamData:
31499
31508
  "bool[8]",
31500
31509
  )
31501
31510
 
31502
- AI_THROWN_ITEM_DIRECTIONS = Symbol(
31511
+ AI_THROWN_ITEM_PROBABILITIES = Symbol(
31503
31512
  None,
31504
31513
  None,
31505
31514
  None,
31506
- "AI_THROWN_ITEM_DIRECTIONS",
31507
- "[Runtime] Used to store the directions output by GetPossibleAiThrownItemDirections.",
31515
+ "AI_THROWN_ITEM_PROBABILITIES",
31516
+ "[Runtime] Used to store the probabilities matching the directions in THROWN_ITEM_DIRECTIONS.",
31508
31517
  "uint32_t[8]",
31509
31518
  )
31510
31519
 
31511
- AI_THROWN_ITEM_PROBABILITIES = Symbol(
31520
+ AI_THROWN_ITEM_DIRECTIONS = Symbol(
31512
31521
  None,
31513
31522
  None,
31514
31523
  None,
31515
- "AI_THROWN_ITEM_PROBABILITIES",
31516
- "[Runtime] Used to store the probabilities matching the directions in THROWN_ITEM_DIRECTIONS.",
31524
+ "AI_THROWN_ITEM_DIRECTIONS",
31525
+ "[Runtime] Used to store the directions output by GetPossibleAiThrownItemDirections.",
31517
31526
  "uint32_t[8]",
31518
31527
  )
31519
31528