pmdsky-debug-py 10.0.50__py3-none-any.whl → 10.0.52__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/jp.py CHANGED
@@ -2482,6 +2482,15 @@ class JpArm9Functions:
2482
2482
  None,
2483
2483
  )
2484
2484
 
2485
+ RemoveItemFromKecleonShop1 = Symbol(
2486
+ None,
2487
+ None,
2488
+ None,
2489
+ "RemoveItemFromKecleonShop1",
2490
+ "Removes an item from the first Kecleon Shop at a specific slot in the shop list.\n\nr0: item slot (0-7)",
2491
+ None,
2492
+ )
2493
+
2485
2494
  SortKecleonItems1 = Symbol(
2486
2495
  [0x10924],
2487
2496
  [0x2010924],
@@ -2500,6 +2509,24 @@ class JpArm9Functions:
2500
2509
  None,
2501
2510
  )
2502
2511
 
2512
+ AddItemToKecleonShop1 = Symbol(
2513
+ None,
2514
+ None,
2515
+ None,
2516
+ "AddItemToKecleonShop1",
2517
+ "Tries to add the item to the first Kecleon shop. If there is no space, no item is added.\n\nr0: item ID\nreturn: whether the item was added succesfully",
2518
+ None,
2519
+ )
2520
+
2521
+ RemoveItemFromKecleonShop2 = Symbol(
2522
+ None,
2523
+ None,
2524
+ None,
2525
+ "RemoveItemFromKecleonShop2",
2526
+ "Removes an item from the second Kecleon Shop at a specific slot in the shop list.\n\nr0: item slot (0-4)",
2527
+ None,
2528
+ )
2529
+
2503
2530
  SortKecleonItems2 = Symbol(
2504
2531
  [0x10C30],
2505
2532
  [0x2010C30],
@@ -2518,6 +2545,15 @@ class JpArm9Functions:
2518
2545
  None,
2519
2546
  )
2520
2547
 
2548
+ AddItemToKecleonShop2 = Symbol(
2549
+ None,
2550
+ None,
2551
+ None,
2552
+ "AddItemToKecleonShop2",
2553
+ "Tries to add the item to the second Kecleon shop. If there is no space, no item is added.\n\nr0: item ID\nreturn: whether the item was added succesfully",
2554
+ None,
2555
+ )
2556
+
2521
2557
  GetExclusiveItemOffset = Symbol(
2522
2558
  [0x10E10],
2523
2559
  [0x2010E10],
@@ -5722,12 +5758,21 @@ class JpArm9Functions:
5722
5758
  None,
5723
5759
  )
5724
5760
 
5761
+ SetupAndShowKeyboard = Symbol(
5762
+ [0x36ACC],
5763
+ [0x2036ACC],
5764
+ None,
5765
+ "SetupAndShowKeyboard",
5766
+ "Calls a function that seems to set up info for the keyboard menu before ending with a call to ShowKeyboard.\n\nr0: menu type\nr1: buffer1\nr2: buffer2\nreturn: ?",
5767
+ None,
5768
+ )
5769
+
5725
5770
  ShowKeyboard = Symbol(
5726
5771
  [0x36B08],
5727
5772
  [0x2036B08],
5728
5773
  None,
5729
5774
  "ShowKeyboard",
5730
- "Note: unverified, ported from Irdkwia's notes\n\nr0: string ID\nr1: buffer1\nr2: ???\nr3: buffer2\nreturn: ?",
5775
+ "Note: unverified, ported from Irdkwia's notes\n\nr0: menu type\nr1: buffer1\nr2: ???\nr3: buffer2\nreturn: ?",
5731
5776
  None,
5732
5777
  )
5733
5778
 
@@ -7810,6 +7855,15 @@ class JpArm9Functions:
7810
7855
  None,
7811
7856
  )
7812
7857
 
7858
+ SetBaseStatsMovesGroundMonster = Symbol(
7859
+ [0x53234],
7860
+ [0x2053234],
7861
+ None,
7862
+ "SetBaseStatsMovesGroundMonster",
7863
+ "Sets a ground monster to have the base stats and Level 1 moves of its species, along with 1 IQ.\n\nr0: ground monster pointer",
7864
+ None,
7865
+ )
7866
+
7813
7867
  StrcmpMonsterName = Symbol(
7814
7868
  [0x532E8],
7815
7869
  [0x20532E8],
@@ -7945,6 +7999,15 @@ class JpArm9Functions:
7945
7999
  None,
7946
8000
  )
7947
8001
 
8002
+ ApplyLevelUpBoostsToGroundMonster = Symbol(
8003
+ [0x54800],
8004
+ [0x2054800],
8005
+ None,
8006
+ "ApplyLevelUpBoostsToGroundMonster",
8007
+ "Applies the level up boosts to stats and moves (until moveset is full) to a target monster.\n\nr0: ground monster pointer\nr1: level\nr2: flag that enables further editing of the monster",
8008
+ None,
8009
+ )
8010
+
7948
8011
  GetMonsterGenderVeneer = Symbol(
7949
8012
  [0x54A98],
7950
8013
  [0x2054A98],
@@ -18612,6 +18675,42 @@ class JpOverlay10Section:
18612
18675
 
18613
18676
  class JpOverlay11Functions:
18614
18677
 
18678
+ InitScriptRoutineState = Symbol(
18679
+ [0x5F0],
18680
+ [0x22DDED0],
18681
+ None,
18682
+ "InitScriptRoutineState",
18683
+ "Initializes the various fields of script_routine_state, a struct that seems relevant when handling script opcode operations.\n\nr0: script_routine_state pointer",
18684
+ None,
18685
+ )
18686
+
18687
+ InitScriptRoutine = Symbol(
18688
+ [0x6A8],
18689
+ [0x22DDF88],
18690
+ None,
18691
+ "InitScriptRoutine",
18692
+ "Initializes the various fields of script_routine.\n\nr0: routine pointer\nr1: ground entity function table pointer\nr2: live entity pointer",
18693
+ None,
18694
+ )
18695
+
18696
+ LockRoutine = Symbol(
18697
+ [0xCAC],
18698
+ [0x22DE58C],
18699
+ None,
18700
+ "LockRoutine",
18701
+ "Sets a routine to be locked via the Lock opcode.\n\nr0: script routine pointer\nr1: lock id\nreturn: Always 1, but this does seem to get checked in RunNextOpcode for some reason",
18702
+ None,
18703
+ )
18704
+
18705
+ UnlockRoutine = Symbol(
18706
+ [0xEAC],
18707
+ [0x22DE78C],
18708
+ None,
18709
+ "UnlockRoutine",
18710
+ "Attempts to unlock a script routine via the Unlock opcode.\n\nr0: script routine pointer\nr1: lock id\nreturn: True if the script routine was successfully unlocked",
18711
+ None,
18712
+ )
18713
+
18615
18714
  UnlockScriptingLock = Symbol(
18616
18715
  [0xEF0],
18617
18716
  [0x22DE7D0],
@@ -18626,7 +18725,7 @@ class JpOverlay11Functions:
18626
18725
  [0x22DE804],
18627
18726
  None,
18628
18727
  "FuncThatCallsRunNextOpcode",
18629
- "Called up to 16 times per frame. Exact purpose unknown.\n\nr0: Looks like a pointer to some struct containing data about the current state of scripting engine",
18728
+ "Called up to 16 times per frame. Exact purpose unknown.\n\nr0: script routine pointer",
18630
18729
  None,
18631
18730
  )
18632
18731
 
@@ -18635,7 +18734,16 @@ class JpOverlay11Functions:
18635
18734
  [0x22DF404],
18636
18735
  None,
18637
18736
  "RunNextOpcode",
18638
- "Runs the next scripting opcode.\n\nContains a switch statement based on the opcode ([r0+1C]).\n\nr0: Looks like a pointer to some struct containing data about the current state of scripting engine",
18737
+ "Runs the next scripting opcode.\n\nContains a switch statement based on the routine's next opcode to run.\n\nr0: script routine pointer\nreturn: status",
18738
+ None,
18739
+ )
18740
+
18741
+ GetSsbString = Symbol(
18742
+ [0x7F94],
18743
+ [0x22E5874],
18744
+ None,
18745
+ "GetSsbString",
18746
+ "Returns a string from a given SSB runtime struct.\n\nr0: ssb runtime info pointer\nr1: idx",
18639
18747
  None,
18640
18748
  )
18641
18749
 
@@ -18648,6 +18756,15 @@ class JpOverlay11Functions:
18648
18756
  None,
18649
18757
  )
18650
18758
 
18759
+ ScriptCaseProcess = Symbol(
18760
+ [0x8134],
18761
+ [0x22E5A14],
18762
+ None,
18763
+ "ScriptCaseProcess",
18764
+ "Calculates the next opcode address for a script routine as the result of a switch-statement.\n\nr0: script routine pointer\nr1: case id\nreturn: Next opcode address for the routine to execute",
18765
+ None,
18766
+ )
18767
+
18651
18768
  LoadFileFromRomVeneer = Symbol(
18652
18769
  [0x8428],
18653
18770
  [0x22E5D08],
@@ -18957,6 +19074,15 @@ class JpOverlay11Functions:
18957
19074
  None,
18958
19075
  )
18959
19076
 
19077
+ UnlockMainRoutine = Symbol(
19078
+ [0x1B3F4],
19079
+ [0x22F8CD4],
19080
+ None,
19081
+ "UnlockMainRoutine",
19082
+ "Unlocks the main routine of the current script, as specified in GROUND_STATE_PTRS::main_routine.\n\nr0: lock id\nreturn: True if the script routine was successfully unlocked",
19083
+ None,
19084
+ )
19085
+
18960
19086
  AllocAndInitPartnerFollowDataAndLiveActorList = Symbol(
18961
19087
  [0x1BA60],
18962
19088
  [0x22F9340],
@@ -18971,7 +19097,16 @@ class JpOverlay11Functions:
18971
19097
  [0x22F939C],
18972
19098
  None,
18973
19099
  "InitPartnerFollowDataAndLiveActorList",
18974
- "Initialize the partner follow data and the live actor list (in GROUND_STATE_PTRS, doesnt perform the allocation of the structures)\n\nNo params.",
19100
+ "Initialize the partner follow data and the live actor list (in GROUND_STATE_PTRS, doesn't perform the allocation of the structures)\n\nNo params.",
19101
+ None,
19102
+ )
19103
+
19104
+ GetLiveActorIdxFromScriptEntityId = Symbol(
19105
+ [0x1BBB4],
19106
+ [0x22F9494],
19107
+ None,
19108
+ "GetLiveActorIdxFromScriptEntityId",
19109
+ "Searches through the live actor list to find the first matching actor who has an ID matching that of a script_entity_id.\n\nr0: script_entity_id\nreturn: index of the live actor, or -1 if the specified actor could not be found",
18975
19110
  None,
18976
19111
  )
18977
19112
 
@@ -18980,7 +19115,43 @@ class JpOverlay11Functions:
18980
19115
  [0x22F9BFC],
18981
19116
  None,
18982
19117
  "DeleteLiveActor",
18983
- "Remove the actor from the overworld actor list (in GROUND_STATE_PTRS)\n\nr0: the index of the actor in the live actor list",
19118
+ "Remove the actor from the actor list (in GROUND_STATE_PTRS)\n\nr0: the index of the actor in the live actor list",
19119
+ None,
19120
+ )
19121
+
19122
+ SetAttributeBitfieldLiveActor = Symbol(
19123
+ [0x1C4D0],
19124
+ [0x22F9DB0],
19125
+ None,
19126
+ "SetAttributeBitfieldLiveActor",
19127
+ "Sets bits of the attribute bitfield of a currently loaded actor.\n\nr0: live actor id\nr1: attribute bitfield",
19128
+ None,
19129
+ )
19130
+
19131
+ ResetAttributeBitfieldLiveActor = Symbol(
19132
+ [0x1C55C],
19133
+ [0x22F9E3C],
19134
+ None,
19135
+ "ResetAttributeBitfieldLiveActor",
19136
+ "Clears bits of the attribute bitfield of a currently loaded actor.\n\nr0: live actor id\nr1: attribute bitfield",
19137
+ None,
19138
+ )
19139
+
19140
+ UnlockActorRoutines = Symbol(
19141
+ [0x1CDBC],
19142
+ [0x22FA69C],
19143
+ None,
19144
+ "UnlockActorRoutines",
19145
+ "Attempts to unlock all live actor routines of the current script.\n\nr0: lock id\nreturn: True if any script routine was successfully unlocked",
19146
+ None,
19147
+ )
19148
+
19149
+ GetCollidingActorId = Symbol(
19150
+ [0x1CF24],
19151
+ [0x22FA804],
19152
+ None,
19153
+ "GetCollidingActorId",
19154
+ "Returns the first colliding actor given a series of vector coordinates.\n\nr0: live actor id (used only to ignore an actor colliding with itself)\nr1: attribute bitfield to test actors against\nr2: pointer to coord_min\nr3: pointer to coord_max\nreturn: The first colliding actor's id, or -1 if no is collision detected",
18984
19155
  None,
18985
19156
  )
18986
19157
 
@@ -18989,7 +19160,187 @@ class JpOverlay11Functions:
18989
19160
  [0x22FAA4C],
18990
19161
  None,
18991
19162
  "ChangeActorAnimation",
18992
- "Used by the SetAnimation opcode to change the animation of an actor.\n\nIt's responsible for breaking down the SetAnimation parameter and determining which animation to play and which flags to set.\n\nr0: ?\nr1: SetAnimation parameter",
19163
+ "Used by the SetAnimation opcode to change the animation of an actor.\n\nIt's responsible for breaking down the SetAnimation parameter and determining which animation to play and which flags to set.\n\nr0: live actor\nr1: SetAnimation parameter",
19164
+ None,
19165
+ )
19166
+
19167
+ SetPositionLiveActor = Symbol(
19168
+ [0x1D2CC],
19169
+ [0x22FABAC],
19170
+ None,
19171
+ "SetPositionLiveActor",
19172
+ "Sets the position for a currently loaded actor.\n\nr0: live actor\nr1: pointer to a position vector",
19173
+ None,
19174
+ )
19175
+
19176
+ GetIdLiveActor = Symbol(
19177
+ [0x1E7A8],
19178
+ [0x22FC088],
19179
+ None,
19180
+ "GetIdLiveActor",
19181
+ "Returns the ID of a currently loaded actor. This ID can then be used to index GROUND_STATE_PTRS::actors.\n\nr0: live actor\nreturn: id",
19182
+ None,
19183
+ )
19184
+
19185
+ GetCollisionBoxLiveActor = Symbol(
19186
+ [0x1E7B0],
19187
+ [0x22FC090],
19188
+ None,
19189
+ "GetCollisionBoxLiveActor",
19190
+ "Gets the collision box of a currently loaded actor.\n\nr0: live actor\nr1: [output] collision box buffer",
19191
+ None,
19192
+ )
19193
+
19194
+ SetPositionInitialLiveActor = Symbol(
19195
+ [0x1E7C4],
19196
+ [0x22FC0A4],
19197
+ None,
19198
+ "SetPositionInitialLiveActor",
19199
+ "Sets a currently loaded actor to return to its initial position.\n\nr0: live actor\nr1: pointer to an position vector; if null, actor will return to its initial position",
19200
+ None,
19201
+ )
19202
+
19203
+ SetMovementRangeLiveActor = Symbol(
19204
+ [0x1E880],
19205
+ [0x22FC160],
19206
+ None,
19207
+ "SetMovementRangeLiveActor",
19208
+ "Sets a currently loaded actor's random movement range.\n\nr0: live actor\nr1: pointer to limit_min_pos\nr2: pointer to limit_max_pos",
19209
+ None,
19210
+ )
19211
+
19212
+ GetCollisionBoxCenterLiveActor = Symbol(
19213
+ [0x1E8A4],
19214
+ [0x22FC184],
19215
+ None,
19216
+ "GetCollisionBoxCenterLiveActor",
19217
+ "Gets the center of a collision box of a currently loaded actor.\n\nThis simply adds the actor's minimum coordinates by half the size of the actor's collision box.\n\nr0: live actor\nr1: [output] collision box center buffer",
19218
+ None,
19219
+ )
19220
+
19221
+ SetPositionLiveActorVeneer = Symbol(
19222
+ [0x1E8C8],
19223
+ [0x22FC1A8],
19224
+ None,
19225
+ "SetPositionLiveActorVeneer",
19226
+ "Likely a linker-generated veneer for SetPositionLiveActor.\n\nSee https://developer.arm.com/documentation/dui0474/k/image-structure-and-generation/linker-generated-veneers/what-is-a-veneer-\n\nr0: live actor\nr1: pointer to a position vector",
19227
+ None,
19228
+ )
19229
+
19230
+ GetHeightLiveActor = Symbol(
19231
+ [0x1E8D4],
19232
+ [0x22FC1B4],
19233
+ None,
19234
+ "GetHeightLiveActor",
19235
+ "Gets the two height values of a currently loaded actor.\n\nr0: live actor\nr1: [output] pointer to first height value\nr2: [output] pointer to second height value, which is curiously not referenced by SetHeightLiveActor",
19236
+ None,
19237
+ )
19238
+
19239
+ SetHeightLiveActor = Symbol(
19240
+ [0x1E8E8],
19241
+ [0x22FC1C8],
19242
+ None,
19243
+ "SetHeightLiveActor",
19244
+ "Sets the height of a currently loaded actor.\n\nr0: live actor\nr1: height",
19245
+ None,
19246
+ )
19247
+
19248
+ GetDirectionLiveActor = Symbol(
19249
+ [0x1E8F0],
19250
+ [0x22FC1D0],
19251
+ None,
19252
+ "GetDirectionLiveActor",
19253
+ "Gets the direction of a currently loaded actor.\n\nr0: live actor\nr1: [output] pointer to direction",
19254
+ None,
19255
+ )
19256
+
19257
+ SetDirectionLiveActor = Symbol(
19258
+ [0x1E900],
19259
+ [0x22FC1E0],
19260
+ None,
19261
+ "SetDirectionLiveActor",
19262
+ "Sets the direction of a currently loaded actor. Does nothing if the direction value passed is -1.\n\nr0: live actor\nr1: direction",
19263
+ None,
19264
+ )
19265
+
19266
+ SetAnimationLiveActor = Symbol(
19267
+ [0x1E928],
19268
+ [0x22FC208],
19269
+ None,
19270
+ "SetAnimationLiveActor",
19271
+ "Sets the animation of a currently loaded actor. Leads up to a final ChangeActorAnimation call.\n\nIncludes a check for if live_actor::id is less than 3 and if live_actor::field_0xa is equal to 0x119, which ultimately may perform ((SetAnimation parameter) & 0x1f00 | 0x53).\n\nr0: live actor\nr1: SetAnimation parameter",
19272
+ None,
19273
+ )
19274
+
19275
+ SetEffectLiveActor = Symbol(
19276
+ [0x1E974],
19277
+ [0x22FC254],
19278
+ None,
19279
+ "SetEffectLiveActor",
19280
+ "Sets the effect of a currently loaded actor.\n\nr0: live actor\nr1: flag (true if effect id is 0?)\nr2: effect id\nr3: effect position marker",
19281
+ None,
19282
+ )
19283
+
19284
+ GetAnimationStatusLiveActor = Symbol(
19285
+ [0x1E988],
19286
+ [0x22FC268],
19287
+ None,
19288
+ "GetAnimationStatusLiveActor",
19289
+ "Gets the animation status of a currently loaded actor.\n\nUsed to determine if the animation has finished via script opcodes like WaitAnimation and WaitEndAnimation.\n\nr0: live actor\nreturn: status",
19290
+ None,
19291
+ )
19292
+
19293
+ GetEffectStatusLiveActor = Symbol(
19294
+ [0x1E9A8],
19295
+ [0x22FC288],
19296
+ None,
19297
+ "GetEffectStatusLiveActor",
19298
+ "Gets the effect status of a currently loaded actor.\n\nUsed to determine if an effect has finished via the script opcode WaitEffect.\n\nr0: live actor\nreturn: status",
19299
+ None,
19300
+ )
19301
+
19302
+ GetAttributeBitfieldLiveActor = Symbol(
19303
+ [0x1E9CC],
19304
+ [0x22FC2AC],
19305
+ None,
19306
+ "GetAttributeBitfieldLiveActor",
19307
+ "Gets the attribute bitfield of a currently loaded actor.\n\nr0: live actor\nr1: [output] pointer to attribute bitfield",
19308
+ None,
19309
+ )
19310
+
19311
+ SetAttributeBitfieldLiveActorWrapper = Symbol(
19312
+ [0x1E9D8],
19313
+ [0x22FC2B8],
19314
+ None,
19315
+ "SetAttributeBitfieldLiveActorWrapper",
19316
+ "Sets bits of the attribute bitfield of a currently loaded actor.\n\nIs a wrapper around SetAttributeBitfieldLiveActor, meaning this calls SetAttributeBitfieldLiveActor with a first parameter of live_actor::id.\n\nr0: live actor\nr1: attribute bitfield",
19317
+ None,
19318
+ )
19319
+
19320
+ ResetAttributeBitfieldLiveActorWrapper = Symbol(
19321
+ [0x1E9E8],
19322
+ [0x22FC2C8],
19323
+ None,
19324
+ "ResetAttributeBitfieldLiveActorWrapper",
19325
+ "Clears bits of the attribute bitfield of a currently loaded actor.\n\nIs a wrapper around ResetAttributeBitfieldLiveActor, meaning this calls ResetAttributeBitfieldLiveActor with a first parameter of live_actor::id.\n\nr0: live actor\nr1: attribute bitfield",
19326
+ None,
19327
+ )
19328
+
19329
+ SetBlinkLiveActor = Symbol(
19330
+ [0x1E9F8],
19331
+ [0x22FC2D8],
19332
+ None,
19333
+ "SetBlinkLiveActor",
19334
+ "Sets the actor to blink in and out of sight at certain intervals.\n\nr0: live actor\nr1: frame interval for blinking in\nr2: frame interval for blinking out",
19335
+ None,
19336
+ )
19337
+
19338
+ SetPositionOffsetLiveActor = Symbol(
19339
+ [0x1EA08],
19340
+ [0x22FC2E8],
19341
+ None,
19342
+ "SetPositionOffsetLiveActor",
19343
+ "Offsets a currently loaded actor's position.\n\nr0: live actor\nr1: pointer to an position offset vector",
18993
19344
  None,
18994
19345
  )
18995
19346
 
@@ -19002,21 +19353,462 @@ class JpOverlay11Functions:
19002
19353
  None,
19003
19354
  )
19004
19355
 
19005
- GetDirectionLiveActor = Symbol(
19356
+ DeleteLiveObject = Symbol(
19357
+ [0x201E4],
19358
+ [0x22FDAC4],
19359
+ None,
19360
+ "DeleteLiveObject",
19361
+ "Remove the object from the object list (in GROUND_STATE_PTRS)\n\nr0: the index of the object in the live object list",
19362
+ None,
19363
+ )
19364
+
19365
+ SetAttributeBitfieldLiveObject = Symbol(
19366
+ [0x20390],
19367
+ [0x22FDC70],
19368
+ None,
19369
+ "SetAttributeBitfieldLiveObject",
19370
+ "Sets bits of the attribute bitfield of a currently loaded object.\n\nr0: live object id\nr1: attribute bitfield",
19371
+ None,
19372
+ )
19373
+
19374
+ ResetAttributeBitfieldLiveObject = Symbol(
19375
+ [0x203D0],
19376
+ [0x22FDCB0],
19377
+ None,
19378
+ "ResetAttributeBitfieldLiveObject",
19379
+ "Clears bits of the attribute bitfield of a currently loaded object.\n\nr0: live object id\nr1: attribute bitfield",
19380
+ None,
19381
+ )
19382
+
19383
+ UnlockObjectRoutines = Symbol(
19384
+ [0x209DC],
19385
+ [0x22FE2BC],
19386
+ None,
19387
+ "UnlockObjectRoutines",
19388
+ "Attempts to unlock all live object routines of the current script.\n\nr0: lock id\nreturn: True if any script routine was successfully unlocked",
19389
+ None,
19390
+ )
19391
+
19392
+ GetCollidingObjectId = Symbol(
19393
+ [0x20AB0],
19394
+ [0x22FE390],
19395
+ None,
19396
+ "GetCollidingObjectId",
19397
+ "Returns the first colliding object given a series of vector coordinates.\n\nr0: attribute bitfield to test objects against\nr1: pointer to coord_min\nr2: pointer to coord_max\nreturn: The first colliding object's id, or -1 if no is collision detected",
19398
+ None,
19399
+ )
19400
+
19401
+ SetPositionLiveObject = Symbol(
19402
+ [0x20D08],
19403
+ [0x22FE5E8],
19404
+ None,
19405
+ "SetPositionLiveObject",
19406
+ "Sets the position for a currently loaded object.\n\nr0: live object\nr1: pointer to a position vector",
19407
+ None,
19408
+ )
19409
+
19410
+ GetIdLiveObject = Symbol(
19411
+ [0x20DF8],
19412
+ [0x22FE6D8],
19413
+ None,
19414
+ "GetIdLiveObject",
19415
+ "Returns the ID of a currently loaded object. This ID can then be used to index GROUND_STATE_PTRS::objects.\n\nr0: live object\nreturn: id",
19416
+ None,
19417
+ )
19418
+
19419
+ GetCollisionBoxLiveObject = Symbol(
19420
+ [0x20E00],
19421
+ [0x22FE6E0],
19422
+ None,
19423
+ "GetCollisionBoxLiveObject",
19424
+ "Gets the collision box of a currently loaded object.\n\nr0: live object\nr1: [output] collision box buffer",
19425
+ None,
19426
+ )
19427
+
19428
+ SetPositionInitialLiveObject = Symbol(
19429
+ [0x20E14],
19430
+ [0x22FE6F4],
19431
+ None,
19432
+ "SetPositionInitialLiveObject",
19433
+ "Sets a currently loaded object to return to its initial position.\n\nr0: live object\nr1: pointer to an position vector; if null, object will return to its initial position",
19434
+ None,
19435
+ )
19436
+
19437
+ SetMovementRangeLiveObject = Symbol(
19438
+ [0x20ED0],
19439
+ [0x22FE7B0],
19440
+ None,
19441
+ "SetMovementRangeLiveObject",
19442
+ "Sets a currently loaded object's random movement range.\n\nr0: live object\nr1: pointer to limit_min_pos\nr2: pointer to limit_max_pos",
19443
+ None,
19444
+ )
19445
+
19446
+ GetCollisionBoxCenterLiveObject = Symbol(
19447
+ [0x20EF4],
19448
+ [0x22FE7D4],
19449
+ None,
19450
+ "GetCollisionBoxCenterLiveObject",
19451
+ "Gets the center of a collision box of a currently loaded object.\n\nThis simply adds the object's minimum coordinates by half the size of the object's collision box.\n\nr0: live object\nr1: [output] collision box center buffer",
19452
+ None,
19453
+ )
19454
+
19455
+ SetPositionLiveObjectVeneer = Symbol(
19456
+ [0x20F18],
19457
+ [0x22FE7F8],
19458
+ None,
19459
+ "SetPositionLiveObjectVeneer",
19460
+ "Likely a linker-generated veneer for SetPositionLiveObject.\n\nSee https://developer.arm.com/documentation/dui0474/k/image-structure-and-generation/linker-generated-veneers/what-is-a-veneer-\n\nr0: live object\nr1: pointer to a position vector",
19461
+ None,
19462
+ )
19463
+
19464
+ GetHeightLiveObject = Symbol(
19465
+ [0x20F24],
19466
+ [0x22FE804],
19467
+ None,
19468
+ "GetHeightLiveObject",
19469
+ "Gets the two height values of a currently loaded object.\n\nr0: live object\nr1: [output] pointer to first height value\nr2: [output] pointer to second height value, which is curiously not referenced by SetHeightLiveObject",
19470
+ None,
19471
+ )
19472
+
19473
+ SetHeightLiveObject = Symbol(
19474
+ [0x20F38],
19475
+ [0x22FE818],
19476
+ None,
19477
+ "SetHeightLiveObject",
19478
+ "Sets the height of a currently loaded object.\n\nr0: live object\nr1: height",
19479
+ None,
19480
+ )
19481
+
19482
+ GetDirectionLiveObject = Symbol(
19006
19483
  [0x20F40],
19007
19484
  [0x22FE820],
19008
19485
  None,
19009
- "GetDirectionLiveActor",
19010
- "Put the direction of the actor in the destination\n\nr0: live actor\nr1: destination address (1 byte)",
19486
+ "GetDirectionLiveObject",
19487
+ "Gets the direction of a currently loaded object.\n\nr0: live object\nr1: [output] pointer to direction",
19011
19488
  None,
19012
19489
  )
19013
19490
 
19014
- SetDirectionLiveActor = Symbol(
19491
+ SetDirectionLiveObject = Symbol(
19015
19492
  [0x20F50],
19016
19493
  [0x22FE830],
19017
19494
  None,
19018
- "SetDirectionLiveActor",
19019
- "Store the direction in the actor structure\n-1 input is ignored\nUnsure if this change the animation\n\nr0: live actor\nr1: direction",
19495
+ "SetDirectionLiveObject",
19496
+ "Sets the direction of a currently loaded object. Does nothing if the direction value passed is -1.\n\nr0: live object\nr1: direction",
19497
+ None,
19498
+ )
19499
+
19500
+ SetAnimationLiveObject = Symbol(
19501
+ [0x20F60],
19502
+ [0x22FE840],
19503
+ None,
19504
+ "SetAnimationLiveObject",
19505
+ "Sets the animation of a currently loaded object.\n\nr0: live object\nr1: SetAnimation parameter",
19506
+ None,
19507
+ )
19508
+
19509
+ SetEffectLiveObject = Symbol(
19510
+ [0x21020],
19511
+ [0x22FE900],
19512
+ None,
19513
+ "SetEffectLiveObject",
19514
+ "Sets the effect of a currently loaded object.\n\nr0: live object\nr1: flag (true if effect id is 0?)\nr2: effect id",
19515
+ None,
19516
+ )
19517
+
19518
+ GetAnimationStatusLiveObject = Symbol(
19519
+ [0x21030],
19520
+ [0x22FE910],
19521
+ None,
19522
+ "GetAnimationStatusLiveObject",
19523
+ "Gets the animation status of a currently loaded object.\n\nUsed to determine if the animation has finished via script opcodes like WaitAnimation and WaitEndAnimation.\n\nr0: live object\nreturn: status",
19524
+ None,
19525
+ )
19526
+
19527
+ GetEffectStatusLiveObject = Symbol(
19528
+ [0x21050],
19529
+ [0x22FE930],
19530
+ None,
19531
+ "GetEffectStatusLiveObject",
19532
+ "Gets the effect status of a currently loaded object.\n\nUsed to determine if an effect has finished via the script opcode WaitEffect.\n\nr0: live object\nreturn: status",
19533
+ None,
19534
+ )
19535
+
19536
+ GetAttributeBitfieldLiveObject = Symbol(
19537
+ [0x21074],
19538
+ [0x22FE954],
19539
+ None,
19540
+ "GetAttributeBitfieldLiveObject",
19541
+ "Gets the attribute bitfield of a currently loaded object.\n\nr0: live object\nr1: [output] pointer to attribute bitfield",
19542
+ None,
19543
+ )
19544
+
19545
+ SetAttributeBitfieldLiveObjectWrapper = Symbol(
19546
+ [0x21080],
19547
+ [0x22FE960],
19548
+ None,
19549
+ "SetAttributeBitfieldLiveObjectWrapper",
19550
+ "Sets bits of the attribute bitfield of a currently loaded object.\n\nIs a wrapper around SetAttributeBitfieldLiveObject, meaning this calls SetAttributeBitfieldLiveObject with a first parameter of live_object::id.\n\nr0: live object\nr1: attribute bitfield",
19551
+ None,
19552
+ )
19553
+
19554
+ ResetAttributeBitfieldLiveObjectWrapper = Symbol(
19555
+ [0x21090],
19556
+ [0x22FE970],
19557
+ None,
19558
+ "ResetAttributeBitfieldLiveObjectWrapper",
19559
+ "Clears bits of the attribute bitfield of a currently loaded object.\n\nIs a wrapper around ResetAttributeBitfieldLiveObject, meaning this calls ResetAttributeBitfieldLiveObject with a first parameter of live_object::id.\n\nr0: live object\nr1: attribute bitfield",
19560
+ None,
19561
+ )
19562
+
19563
+ SetBlinkLiveObject = Symbol(
19564
+ [0x210A0],
19565
+ [0x22FE980],
19566
+ None,
19567
+ "SetBlinkLiveObject",
19568
+ "Sets the object to blink in and out of sight at certain intervals.\n\nr0: live object\nr1: frame interval for blinking in\nr2: frame interval for blinking out",
19569
+ None,
19570
+ )
19571
+
19572
+ SetPositionOffsetLiveObject = Symbol(
19573
+ [0x210B0],
19574
+ [0x22FE990],
19575
+ None,
19576
+ "SetPositionOffsetLiveObject",
19577
+ "Offsets a currently loaded object's position.\n\nr0: live object\nr1: pointer to an position offset vector",
19578
+ None,
19579
+ )
19580
+
19581
+ DeleteLivePerformer = Symbol(
19582
+ [0x2197C],
19583
+ [0x22FF25C],
19584
+ None,
19585
+ "DeleteLivePerformer",
19586
+ "Remove the performer from the performer list (in GROUND_STATE_PTRS)\n\nr0: the index of the performer in the live performer list",
19587
+ None,
19588
+ )
19589
+
19590
+ SetAttributeBitfieldLivePerformer = Symbol(
19591
+ [0x21B28],
19592
+ [0x22FF408],
19593
+ None,
19594
+ "SetAttributeBitfieldLivePerformer",
19595
+ "Sets bits of the attribute bitfield of a currently loaded performer.\n\nr0: live performer id\nr1: attribute bitfield",
19596
+ None,
19597
+ )
19598
+
19599
+ ResetAttributeBitfieldLivePerformer = Symbol(
19600
+ [0x21B68],
19601
+ [0x22FF448],
19602
+ None,
19603
+ "ResetAttributeBitfieldLivePerformer",
19604
+ "Clears bits of the attribute bitfield of a currently loaded performer.\n\nr0: live performer id\nr1: attribute bitfield",
19605
+ None,
19606
+ )
19607
+
19608
+ UnlockPerformerRoutines = Symbol(
19609
+ [0x220E4],
19610
+ [0x22FF9C4],
19611
+ None,
19612
+ "UnlockPerformerRoutines",
19613
+ "Attempts to unlock all live performer routines of the current script.\n\nr0: lock id\nreturn: True if any script routine was successfully unlocked",
19614
+ None,
19615
+ )
19616
+
19617
+ SetPositionLivePerformer = Symbol(
19618
+ [0x22194],
19619
+ [0x22FFA74],
19620
+ None,
19621
+ "SetPositionLivePerformer",
19622
+ "Sets the position for a currently loaded performer.\n\nr0: live performer\nr1: pointer to a position vector",
19623
+ None,
19624
+ )
19625
+
19626
+ GetIdLivePerformer = Symbol(
19627
+ [0x22220],
19628
+ [0x22FFB00],
19629
+ None,
19630
+ "GetIdLivePerformer",
19631
+ "Returns the ID of a currently loaded performer. This ID can then be used to index GROUND_STATE_PTRS::performers.\n\nr0: live performer\nreturn: id",
19632
+ None,
19633
+ )
19634
+
19635
+ GetCollisionBoxLivePerformer = Symbol(
19636
+ [0x22228],
19637
+ [0x22FFB08],
19638
+ None,
19639
+ "GetCollisionBoxLivePerformer",
19640
+ "Gets the collision box of a currently loaded performer.\n\nr0: live performer\nr1: [output] collision box buffer",
19641
+ None,
19642
+ )
19643
+
19644
+ SetPositionInitialLivePerformer = Symbol(
19645
+ [0x2223C],
19646
+ [0x22FFB1C],
19647
+ None,
19648
+ "SetPositionInitialLivePerformer",
19649
+ "Sets a currently loaded performer to return to its initial position.\n\nr0: live performer\nr1: pointer to an position vector; if null, performer will return to its initial position",
19650
+ None,
19651
+ )
19652
+
19653
+ SetMovementRangeLivePerformer = Symbol(
19654
+ [0x222F8],
19655
+ [0x22FFBD8],
19656
+ None,
19657
+ "SetMovementRangeLivePerformer",
19658
+ "Sets a currently loaded performer's random movement range.\n\nr0: live performer\nr1: pointer to limit_min_pos\nr2: pointer to limit_max_pos",
19659
+ None,
19660
+ )
19661
+
19662
+ GetCollisionBoxCenterLivePerformer = Symbol(
19663
+ [0x2231C],
19664
+ [0x22FFBFC],
19665
+ None,
19666
+ "GetCollisionBoxCenterLivePerformer",
19667
+ "Gets the center of a collision box of a currently loaded performer.\n\nThis simply adds the performer's minimum coordinates by half the size of the performer's collision box.\n\nr0: live performer\nr1: [output] collision box center buffer",
19668
+ None,
19669
+ )
19670
+
19671
+ SetPositionLivePerformerVeneer = Symbol(
19672
+ [0x22340],
19673
+ [0x22FFC20],
19674
+ None,
19675
+ "SetPositionLivePerformerVeneer",
19676
+ "Likely a linker-generated veneer for SetPositionLivePerformer.\n\nSee https://developer.arm.com/documentation/dui0474/k/image-structure-and-generation/linker-generated-veneers/what-is-a-veneer-\n\nr0: live performer\nr1: pointer to a position vector",
19677
+ None,
19678
+ )
19679
+
19680
+ GetHeightLivePerformer = Symbol(
19681
+ [0x2234C],
19682
+ [0x22FFC2C],
19683
+ None,
19684
+ "GetHeightLivePerformer",
19685
+ "Gets the two height values of a currently loaded performer.\n\nr0: live performer\nr1: [output] pointer to first height value\nr2: [output] pointer to second height value, which is curiously not referenced by SetHeightLivePerformer",
19686
+ None,
19687
+ )
19688
+
19689
+ SetHeightLivePerformer = Symbol(
19690
+ [0x22360],
19691
+ [0x22FFC40],
19692
+ None,
19693
+ "SetHeightLivePerformer",
19694
+ "Sets the height of a currently loaded performer.\n\nr0: live performer\nr1: height",
19695
+ None,
19696
+ )
19697
+
19698
+ GetDirectionLivePerformer = Symbol(
19699
+ [0x22368],
19700
+ [0x22FFC48],
19701
+ None,
19702
+ "GetDirectionLivePerformer",
19703
+ "Gets the direction of a currently loaded performer.\n\nr0: live performer\nr1: [output] pointer to direction",
19704
+ None,
19705
+ )
19706
+
19707
+ SetDirectionLivePerformer = Symbol(
19708
+ [0x22378],
19709
+ [0x22FFC58],
19710
+ None,
19711
+ "SetDirectionLivePerformer",
19712
+ "Sets the direction of a currently loaded performer. Does nothing if the direction value passed is -1.\n\nr0: live performer\nr1: direction",
19713
+ None,
19714
+ )
19715
+
19716
+ SetAnimationLivePerformer = Symbol(
19717
+ [0x22388],
19718
+ [0x22FFC68],
19719
+ None,
19720
+ "SetAnimationLivePerformer",
19721
+ "Sets the animation of a currently loaded performer.\n\nr0: live performer\nr1: SetAnimation parameter",
19722
+ None,
19723
+ )
19724
+
19725
+ SetEffectLivePerformer = Symbol(
19726
+ [0x22448],
19727
+ [0x22FFD28],
19728
+ None,
19729
+ "SetEffectLivePerformer",
19730
+ "Sets the effect of a currently loaded performer.\n\nr0: live performer\nr1: flag (true if effect id is 0?)\nr2: effect id",
19731
+ None,
19732
+ )
19733
+
19734
+ GetAnimationStatusLivePerformer = Symbol(
19735
+ [0x22458],
19736
+ [0x22FFD38],
19737
+ None,
19738
+ "GetAnimationStatusLivePerformer",
19739
+ "Gets the animation status of a currently loaded performer.\n\nUsed to determine if the animation has finished via script opcodes like WaitAnimation and WaitEndAnimation.\n\nr0: live performer\nreturn: status",
19740
+ None,
19741
+ )
19742
+
19743
+ GetEffectStatusLivePerformer = Symbol(
19744
+ [0x22478],
19745
+ [0x22FFD58],
19746
+ None,
19747
+ "GetEffectStatusLivePerformer",
19748
+ "Gets the effect status of a currently loaded performer.\n\nUsed to determine if an effect has finished via the script opcode WaitEffect.\n\nr0: live performer\nreturn: status",
19749
+ None,
19750
+ )
19751
+
19752
+ GetAttributeBitfieldLivePerformer = Symbol(
19753
+ [0x224B0],
19754
+ [0x22FFD90],
19755
+ None,
19756
+ "GetAttributeBitfieldLivePerformer",
19757
+ "Gets the attribute bitfield of a currently loaded performer.\n\nr0: live performer\nr1: [output] pointer to attribute bitfield",
19758
+ None,
19759
+ )
19760
+
19761
+ SetAttributeBitfieldLivePerformerWrapper = Symbol(
19762
+ [0x224BC],
19763
+ [0x22FFD9C],
19764
+ None,
19765
+ "SetAttributeBitfieldLivePerformerWrapper",
19766
+ "Sets bits of the attribute bitfield of a currently loaded performer.\n\nIs a wrapper around SetAttributeBitfieldLivePerformer, meaning this calls SetAttributeBitfieldLivePerformer with a first parameter of live_performer::id.\n\nr0: live performer\nr1: attribute bitfield",
19767
+ None,
19768
+ )
19769
+
19770
+ ResetAttributeBitfieldLivePerformerWrapper = Symbol(
19771
+ [0x224CC],
19772
+ [0x22FFDAC],
19773
+ None,
19774
+ "ResetAttributeBitfieldLivePerformerWrapper",
19775
+ "Clears bits of the attribute bitfield of a currently loaded performer.\n\nIs a wrapper around ResetAttributeBitfieldLivePerformer, meaning this calls ResetAttributeBitfieldLivePerformer with a first parameter of live_performer::id.\n\nr0: live performer\nr1: attribute bitfield",
19776
+ None,
19777
+ )
19778
+
19779
+ SetBlinkLivePerformer = Symbol(
19780
+ [0x224DC],
19781
+ [0x22FFDBC],
19782
+ None,
19783
+ "SetBlinkLivePerformer",
19784
+ "Sets the performer to blink in and out of sight at certain intervals.\n\nr0: live performer\nr1: frame interval for blinking in\nr2: frame interval for blinking out",
19785
+ None,
19786
+ )
19787
+
19788
+ SetPositionOffsetLivePerformer = Symbol(
19789
+ [0x224EC],
19790
+ [0x22FFDCC],
19791
+ None,
19792
+ "SetPositionOffsetLivePerformer",
19793
+ "Offsets a currently loaded performer's position.\n\nr0: live performer\nr1: pointer to an position offset vector",
19794
+ None,
19795
+ )
19796
+
19797
+ DeleteLiveEvent = Symbol(
19798
+ [0x229F0],
19799
+ [0x23002D0],
19800
+ None,
19801
+ "DeleteLiveEvent",
19802
+ "Remove the event from the event list (in GROUND_STATE_PTRS)\n\nr0: the index of the event in the live event list",
19803
+ None,
19804
+ )
19805
+
19806
+ GetCollidingEventId = Symbol(
19807
+ [0x22B80],
19808
+ [0x2300460],
19809
+ None,
19810
+ "GetCollidingEventId",
19811
+ "Returns the first colliding event given a series of vector coordinates.\n\nr0: attribute bitfield to test events against\nr1: pointer to coord_min\nr2: pointer to coord_max\nreturn: The first colliding event's id, or -1 if no is collision detected",
19020
19812
  None,
19021
19813
  )
19022
19814
 
@@ -19295,6 +20087,15 @@ class JpOverlay11Data:
19295
20087
  "struct level_tilemap_list_entry[81]",
19296
20088
  )
19297
20089
 
20090
+ ACTOR_FUNCTION_TABLE = Symbol(
20091
+ [0x45500],
20092
+ [0x2322DE0],
20093
+ 0x50,
20094
+ "ACTOR_FUNCTION_TABLE",
20095
+ "A function pointer table accessed when performing script opcodes on actors.",
20096
+ "struct ground_entity_function_table",
20097
+ )
20098
+
19298
20099
  SETANIMATION_TABLE = Symbol(
19299
20100
  [0x45550],
19300
20101
  [0x2322E30],
@@ -19304,6 +20105,24 @@ class JpOverlay11Data:
19304
20105
  "struct animation_data[84]",
19305
20106
  )
19306
20107
 
20108
+ OBJECT_FUNCTION_TABLE = Symbol(
20109
+ [0x45A80],
20110
+ [0x2323360],
20111
+ 0x50,
20112
+ "OBJECT_FUNCTION_TABLE",
20113
+ "A function pointer table accessed when performing script opcodes on objects.",
20114
+ "struct ground_entity_function_table",
20115
+ )
20116
+
20117
+ PERFORMER_FUNCTION_TABLE = Symbol(
20118
+ [0x45D94],
20119
+ [0x2323674],
20120
+ 0x50,
20121
+ "PERFORMER_FUNCTION_TABLE",
20122
+ "A function pointer table accessed when performing script opcodes on performers.",
20123
+ "struct ground_entity_function_table",
20124
+ )
20125
+
19307
20126
  TEAM_INFO_BOX_DEFAULT_WINDOW_PARAMS = Symbol(
19308
20127
  [0x460E0],
19309
20128
  [0x23239C0],
@@ -29462,6 +30281,15 @@ class JpOverlay29Functions:
29462
30281
  None,
29463
30282
  )
29464
30283
 
30284
+ DungeonModeSetupAndShowNameKeyboard = Symbol(
30285
+ None,
30286
+ None,
30287
+ None,
30288
+ "DungeonModeSetupAndShowNameKeyboard",
30289
+ "Sets up and opens the naming keyboard in dungeon mode.\n\nr0: [output] keyboard result, also the inital string\nr1: buffer?\nr2: ?\nreturn: ?",
30290
+ None,
30291
+ )
30292
+
29465
30293
  OthersMenuLoop = Symbol(
29466
30294
  [0x73160],
29467
30295
  [0x2350A40],