pmdsky-debug-py 10.0.50__py3-none-any.whl → 10.0.51__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
@@ -5722,12 +5722,21 @@ class JpArm9Functions:
5722
5722
  None,
5723
5723
  )
5724
5724
 
5725
+ SetupAndShowKeyboard = Symbol(
5726
+ [0x36ACC],
5727
+ [0x2036ACC],
5728
+ None,
5729
+ "SetupAndShowKeyboard",
5730
+ "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: ?",
5731
+ None,
5732
+ )
5733
+
5725
5734
  ShowKeyboard = Symbol(
5726
5735
  [0x36B08],
5727
5736
  [0x2036B08],
5728
5737
  None,
5729
5738
  "ShowKeyboard",
5730
- "Note: unverified, ported from Irdkwia's notes\n\nr0: string ID\nr1: buffer1\nr2: ???\nr3: buffer2\nreturn: ?",
5739
+ "Note: unverified, ported from Irdkwia's notes\n\nr0: menu type\nr1: buffer1\nr2: ???\nr3: buffer2\nreturn: ?",
5731
5740
  None,
5732
5741
  )
5733
5742
 
@@ -7810,6 +7819,15 @@ class JpArm9Functions:
7810
7819
  None,
7811
7820
  )
7812
7821
 
7822
+ SetBaseStatsMovesGroundMonster = Symbol(
7823
+ [0x53234],
7824
+ [0x2053234],
7825
+ None,
7826
+ "SetBaseStatsMovesGroundMonster",
7827
+ "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",
7828
+ None,
7829
+ )
7830
+
7813
7831
  StrcmpMonsterName = Symbol(
7814
7832
  [0x532E8],
7815
7833
  [0x20532E8],
@@ -7945,6 +7963,15 @@ class JpArm9Functions:
7945
7963
  None,
7946
7964
  )
7947
7965
 
7966
+ ApplyLevelUpBoostsToGroundMonster = Symbol(
7967
+ [0x54800],
7968
+ [0x2054800],
7969
+ None,
7970
+ "ApplyLevelUpBoostsToGroundMonster",
7971
+ "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",
7972
+ None,
7973
+ )
7974
+
7948
7975
  GetMonsterGenderVeneer = Symbol(
7949
7976
  [0x54A98],
7950
7977
  [0x2054A98],
@@ -18612,6 +18639,42 @@ class JpOverlay10Section:
18612
18639
 
18613
18640
  class JpOverlay11Functions:
18614
18641
 
18642
+ InitScriptRoutineState = Symbol(
18643
+ [0x5F0],
18644
+ [0x22DDED0],
18645
+ None,
18646
+ "InitScriptRoutineState",
18647
+ "Initializes the various fields of script_routine_state, a struct that seems relevant when handling script opcode operations.\n\nr0: script_routine_state pointer",
18648
+ None,
18649
+ )
18650
+
18651
+ InitScriptRoutine = Symbol(
18652
+ [0x6A8],
18653
+ [0x22DDF88],
18654
+ None,
18655
+ "InitScriptRoutine",
18656
+ "Initializes the various fields of script_routine.\n\nr0: routine pointer\nr1: ground entity function table pointer\nr2: live entity pointer",
18657
+ None,
18658
+ )
18659
+
18660
+ LockRoutine = Symbol(
18661
+ [0xCAC],
18662
+ [0x22DE58C],
18663
+ None,
18664
+ "LockRoutine",
18665
+ "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",
18666
+ None,
18667
+ )
18668
+
18669
+ UnlockRoutine = Symbol(
18670
+ [0xEAC],
18671
+ [0x22DE78C],
18672
+ None,
18673
+ "UnlockRoutine",
18674
+ "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",
18675
+ None,
18676
+ )
18677
+
18615
18678
  UnlockScriptingLock = Symbol(
18616
18679
  [0xEF0],
18617
18680
  [0x22DE7D0],
@@ -18626,7 +18689,7 @@ class JpOverlay11Functions:
18626
18689
  [0x22DE804],
18627
18690
  None,
18628
18691
  "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",
18692
+ "Called up to 16 times per frame. Exact purpose unknown.\n\nr0: script routine pointer",
18630
18693
  None,
18631
18694
  )
18632
18695
 
@@ -18635,7 +18698,16 @@ class JpOverlay11Functions:
18635
18698
  [0x22DF404],
18636
18699
  None,
18637
18700
  "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",
18701
+ "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",
18702
+ None,
18703
+ )
18704
+
18705
+ GetSsbString = Symbol(
18706
+ [0x7F94],
18707
+ [0x22E5874],
18708
+ None,
18709
+ "GetSsbString",
18710
+ "Returns a string from a given SSB runtime struct.\n\nr0: ssb runtime info pointer\nr1: idx",
18639
18711
  None,
18640
18712
  )
18641
18713
 
@@ -18648,6 +18720,15 @@ class JpOverlay11Functions:
18648
18720
  None,
18649
18721
  )
18650
18722
 
18723
+ ScriptCaseProcess = Symbol(
18724
+ [0x8134],
18725
+ [0x22E5A14],
18726
+ None,
18727
+ "ScriptCaseProcess",
18728
+ "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",
18729
+ None,
18730
+ )
18731
+
18651
18732
  LoadFileFromRomVeneer = Symbol(
18652
18733
  [0x8428],
18653
18734
  [0x22E5D08],
@@ -18957,6 +19038,15 @@ class JpOverlay11Functions:
18957
19038
  None,
18958
19039
  )
18959
19040
 
19041
+ UnlockMainRoutine = Symbol(
19042
+ [0x1B3F4],
19043
+ [0x22F8CD4],
19044
+ None,
19045
+ "UnlockMainRoutine",
19046
+ "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",
19047
+ None,
19048
+ )
19049
+
18960
19050
  AllocAndInitPartnerFollowDataAndLiveActorList = Symbol(
18961
19051
  [0x1BA60],
18962
19052
  [0x22F9340],
@@ -18971,7 +19061,16 @@ class JpOverlay11Functions:
18971
19061
  [0x22F939C],
18972
19062
  None,
18973
19063
  "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.",
19064
+ "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.",
19065
+ None,
19066
+ )
19067
+
19068
+ GetLiveActorIdxFromScriptEntityId = Symbol(
19069
+ [0x1BBB4],
19070
+ [0x22F9494],
19071
+ None,
19072
+ "GetLiveActorIdxFromScriptEntityId",
19073
+ "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
19074
  None,
18976
19075
  )
18977
19076
 
@@ -18980,7 +19079,43 @@ class JpOverlay11Functions:
18980
19079
  [0x22F9BFC],
18981
19080
  None,
18982
19081
  "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",
19082
+ "Remove the actor from the actor list (in GROUND_STATE_PTRS)\n\nr0: the index of the actor in the live actor list",
19083
+ None,
19084
+ )
19085
+
19086
+ SetAttributeBitfieldLiveActor = Symbol(
19087
+ [0x1C4D0],
19088
+ [0x22F9DB0],
19089
+ None,
19090
+ "SetAttributeBitfieldLiveActor",
19091
+ "Sets bits of the attribute bitfield of a currently loaded actor.\n\nr0: live actor id\nr1: attribute bitfield",
19092
+ None,
19093
+ )
19094
+
19095
+ ResetAttributeBitfieldLiveActor = Symbol(
19096
+ [0x1C55C],
19097
+ [0x22F9E3C],
19098
+ None,
19099
+ "ResetAttributeBitfieldLiveActor",
19100
+ "Clears bits of the attribute bitfield of a currently loaded actor.\n\nr0: live actor id\nr1: attribute bitfield",
19101
+ None,
19102
+ )
19103
+
19104
+ UnlockActorRoutines = Symbol(
19105
+ [0x1CDBC],
19106
+ [0x22FA69C],
19107
+ None,
19108
+ "UnlockActorRoutines",
19109
+ "Attempts to unlock all live actor routines of the current script.\n\nr0: lock id\nreturn: True if any script routine was successfully unlocked",
19110
+ None,
19111
+ )
19112
+
19113
+ GetCollidingActorId = Symbol(
19114
+ [0x1CF24],
19115
+ [0x22FA804],
19116
+ None,
19117
+ "GetCollidingActorId",
19118
+ "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
19119
  None,
18985
19120
  )
18986
19121
 
@@ -18989,7 +19124,187 @@ class JpOverlay11Functions:
18989
19124
  [0x22FAA4C],
18990
19125
  None,
18991
19126
  "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",
19127
+ "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",
19128
+ None,
19129
+ )
19130
+
19131
+ SetPositionLiveActor = Symbol(
19132
+ [0x1D2CC],
19133
+ [0x22FABAC],
19134
+ None,
19135
+ "SetPositionLiveActor",
19136
+ "Sets the position for a currently loaded actor.\n\nr0: live actor\nr1: pointer to a position vector",
19137
+ None,
19138
+ )
19139
+
19140
+ GetIdLiveActor = Symbol(
19141
+ [0x1E7A8],
19142
+ [0x22FC088],
19143
+ None,
19144
+ "GetIdLiveActor",
19145
+ "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",
19146
+ None,
19147
+ )
19148
+
19149
+ GetCollisionBoxLiveActor = Symbol(
19150
+ [0x1E7B0],
19151
+ [0x22FC090],
19152
+ None,
19153
+ "GetCollisionBoxLiveActor",
19154
+ "Gets the collision box of a currently loaded actor.\n\nr0: live actor\nr1: [output] collision box buffer",
19155
+ None,
19156
+ )
19157
+
19158
+ SetPositionInitialLiveActor = Symbol(
19159
+ [0x1E7C4],
19160
+ [0x22FC0A4],
19161
+ None,
19162
+ "SetPositionInitialLiveActor",
19163
+ "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",
19164
+ None,
19165
+ )
19166
+
19167
+ SetMovementRangeLiveActor = Symbol(
19168
+ [0x1E880],
19169
+ [0x22FC160],
19170
+ None,
19171
+ "SetMovementRangeLiveActor",
19172
+ "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",
19173
+ None,
19174
+ )
19175
+
19176
+ GetCollisionBoxCenterLiveActor = Symbol(
19177
+ [0x1E8A4],
19178
+ [0x22FC184],
19179
+ None,
19180
+ "GetCollisionBoxCenterLiveActor",
19181
+ "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",
19182
+ None,
19183
+ )
19184
+
19185
+ SetPositionLiveActorVeneer = Symbol(
19186
+ [0x1E8C8],
19187
+ [0x22FC1A8],
19188
+ None,
19189
+ "SetPositionLiveActorVeneer",
19190
+ "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",
19191
+ None,
19192
+ )
19193
+
19194
+ GetHeightLiveActor = Symbol(
19195
+ [0x1E8D4],
19196
+ [0x22FC1B4],
19197
+ None,
19198
+ "GetHeightLiveActor",
19199
+ "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",
19200
+ None,
19201
+ )
19202
+
19203
+ SetHeightLiveActor = Symbol(
19204
+ [0x1E8E8],
19205
+ [0x22FC1C8],
19206
+ None,
19207
+ "SetHeightLiveActor",
19208
+ "Sets the height of a currently loaded actor.\n\nr0: live actor\nr1: height",
19209
+ None,
19210
+ )
19211
+
19212
+ GetDirectionLiveActor = Symbol(
19213
+ [0x1E8F0],
19214
+ [0x22FC1D0],
19215
+ None,
19216
+ "GetDirectionLiveActor",
19217
+ "Gets the direction of a currently loaded actor.\n\nr0: live actor\nr1: [output] pointer to direction",
19218
+ None,
19219
+ )
19220
+
19221
+ SetDirectionLiveActor = Symbol(
19222
+ [0x1E900],
19223
+ [0x22FC1E0],
19224
+ None,
19225
+ "SetDirectionLiveActor",
19226
+ "Sets the direction of a currently loaded actor. Does nothing if the direction value passed is -1.\n\nr0: live actor\nr1: direction",
19227
+ None,
19228
+ )
19229
+
19230
+ SetAnimationLiveActor = Symbol(
19231
+ [0x1E928],
19232
+ [0x22FC208],
19233
+ None,
19234
+ "SetAnimationLiveActor",
19235
+ "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",
19236
+ None,
19237
+ )
19238
+
19239
+ SetEffectLiveActor = Symbol(
19240
+ [0x1E974],
19241
+ [0x22FC254],
19242
+ None,
19243
+ "SetEffectLiveActor",
19244
+ "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",
19245
+ None,
19246
+ )
19247
+
19248
+ GetAnimationStatusLiveActor = Symbol(
19249
+ [0x1E988],
19250
+ [0x22FC268],
19251
+ None,
19252
+ "GetAnimationStatusLiveActor",
19253
+ "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",
19254
+ None,
19255
+ )
19256
+
19257
+ GetEffectStatusLiveActor = Symbol(
19258
+ [0x1E9A8],
19259
+ [0x22FC288],
19260
+ None,
19261
+ "GetEffectStatusLiveActor",
19262
+ "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",
19263
+ None,
19264
+ )
19265
+
19266
+ GetAttributeBitfieldLiveActor = Symbol(
19267
+ [0x1E9CC],
19268
+ [0x22FC2AC],
19269
+ None,
19270
+ "GetAttributeBitfieldLiveActor",
19271
+ "Gets the attribute bitfield of a currently loaded actor.\n\nr0: live actor\nr1: [output] pointer to attribute bitfield",
19272
+ None,
19273
+ )
19274
+
19275
+ SetAttributeBitfieldLiveActorWrapper = Symbol(
19276
+ [0x1E9D8],
19277
+ [0x22FC2B8],
19278
+ None,
19279
+ "SetAttributeBitfieldLiveActorWrapper",
19280
+ "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",
19281
+ None,
19282
+ )
19283
+
19284
+ ResetAttributeBitfieldLiveActorWrapper = Symbol(
19285
+ [0x1E9E8],
19286
+ [0x22FC2C8],
19287
+ None,
19288
+ "ResetAttributeBitfieldLiveActorWrapper",
19289
+ "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",
19290
+ None,
19291
+ )
19292
+
19293
+ SetBlinkLiveActor = Symbol(
19294
+ [0x1E9F8],
19295
+ [0x22FC2D8],
19296
+ None,
19297
+ "SetBlinkLiveActor",
19298
+ "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",
19299
+ None,
19300
+ )
19301
+
19302
+ SetPositionOffsetLiveActor = Symbol(
19303
+ [0x1EA08],
19304
+ [0x22FC2E8],
19305
+ None,
19306
+ "SetPositionOffsetLiveActor",
19307
+ "Offsets a currently loaded actor's position.\n\nr0: live actor\nr1: pointer to an position offset vector",
18993
19308
  None,
18994
19309
  )
18995
19310
 
@@ -19002,21 +19317,462 @@ class JpOverlay11Functions:
19002
19317
  None,
19003
19318
  )
19004
19319
 
19005
- GetDirectionLiveActor = Symbol(
19320
+ DeleteLiveObject = Symbol(
19321
+ [0x201E4],
19322
+ [0x22FDAC4],
19323
+ None,
19324
+ "DeleteLiveObject",
19325
+ "Remove the object from the object list (in GROUND_STATE_PTRS)\n\nr0: the index of the object in the live object list",
19326
+ None,
19327
+ )
19328
+
19329
+ SetAttributeBitfieldLiveObject = Symbol(
19330
+ [0x20390],
19331
+ [0x22FDC70],
19332
+ None,
19333
+ "SetAttributeBitfieldLiveObject",
19334
+ "Sets bits of the attribute bitfield of a currently loaded object.\n\nr0: live object id\nr1: attribute bitfield",
19335
+ None,
19336
+ )
19337
+
19338
+ ResetAttributeBitfieldLiveObject = Symbol(
19339
+ [0x203D0],
19340
+ [0x22FDCB0],
19341
+ None,
19342
+ "ResetAttributeBitfieldLiveObject",
19343
+ "Clears bits of the attribute bitfield of a currently loaded object.\n\nr0: live object id\nr1: attribute bitfield",
19344
+ None,
19345
+ )
19346
+
19347
+ UnlockObjectRoutines = Symbol(
19348
+ [0x209DC],
19349
+ [0x22FE2BC],
19350
+ None,
19351
+ "UnlockObjectRoutines",
19352
+ "Attempts to unlock all live object routines of the current script.\n\nr0: lock id\nreturn: True if any script routine was successfully unlocked",
19353
+ None,
19354
+ )
19355
+
19356
+ GetCollidingObjectId = Symbol(
19357
+ [0x20AB0],
19358
+ [0x22FE390],
19359
+ None,
19360
+ "GetCollidingObjectId",
19361
+ "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",
19362
+ None,
19363
+ )
19364
+
19365
+ SetPositionLiveObject = Symbol(
19366
+ [0x20D08],
19367
+ [0x22FE5E8],
19368
+ None,
19369
+ "SetPositionLiveObject",
19370
+ "Sets the position for a currently loaded object.\n\nr0: live object\nr1: pointer to a position vector",
19371
+ None,
19372
+ )
19373
+
19374
+ GetIdLiveObject = Symbol(
19375
+ [0x20DF8],
19376
+ [0x22FE6D8],
19377
+ None,
19378
+ "GetIdLiveObject",
19379
+ "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",
19380
+ None,
19381
+ )
19382
+
19383
+ GetCollisionBoxLiveObject = Symbol(
19384
+ [0x20E00],
19385
+ [0x22FE6E0],
19386
+ None,
19387
+ "GetCollisionBoxLiveObject",
19388
+ "Gets the collision box of a currently loaded object.\n\nr0: live object\nr1: [output] collision box buffer",
19389
+ None,
19390
+ )
19391
+
19392
+ SetPositionInitialLiveObject = Symbol(
19393
+ [0x20E14],
19394
+ [0x22FE6F4],
19395
+ None,
19396
+ "SetPositionInitialLiveObject",
19397
+ "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",
19398
+ None,
19399
+ )
19400
+
19401
+ SetMovementRangeLiveObject = Symbol(
19402
+ [0x20ED0],
19403
+ [0x22FE7B0],
19404
+ None,
19405
+ "SetMovementRangeLiveObject",
19406
+ "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",
19407
+ None,
19408
+ )
19409
+
19410
+ GetCollisionBoxCenterLiveObject = Symbol(
19411
+ [0x20EF4],
19412
+ [0x22FE7D4],
19413
+ None,
19414
+ "GetCollisionBoxCenterLiveObject",
19415
+ "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",
19416
+ None,
19417
+ )
19418
+
19419
+ SetPositionLiveObjectVeneer = Symbol(
19420
+ [0x20F18],
19421
+ [0x22FE7F8],
19422
+ None,
19423
+ "SetPositionLiveObjectVeneer",
19424
+ "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",
19425
+ None,
19426
+ )
19427
+
19428
+ GetHeightLiveObject = Symbol(
19429
+ [0x20F24],
19430
+ [0x22FE804],
19431
+ None,
19432
+ "GetHeightLiveObject",
19433
+ "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",
19434
+ None,
19435
+ )
19436
+
19437
+ SetHeightLiveObject = Symbol(
19438
+ [0x20F38],
19439
+ [0x22FE818],
19440
+ None,
19441
+ "SetHeightLiveObject",
19442
+ "Sets the height of a currently loaded object.\n\nr0: live object\nr1: height",
19443
+ None,
19444
+ )
19445
+
19446
+ GetDirectionLiveObject = Symbol(
19006
19447
  [0x20F40],
19007
19448
  [0x22FE820],
19008
19449
  None,
19009
- "GetDirectionLiveActor",
19010
- "Put the direction of the actor in the destination\n\nr0: live actor\nr1: destination address (1 byte)",
19450
+ "GetDirectionLiveObject",
19451
+ "Gets the direction of a currently loaded object.\n\nr0: live object\nr1: [output] pointer to direction",
19011
19452
  None,
19012
19453
  )
19013
19454
 
19014
- SetDirectionLiveActor = Symbol(
19455
+ SetDirectionLiveObject = Symbol(
19015
19456
  [0x20F50],
19016
19457
  [0x22FE830],
19017
19458
  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",
19459
+ "SetDirectionLiveObject",
19460
+ "Sets the direction of a currently loaded object. Does nothing if the direction value passed is -1.\n\nr0: live object\nr1: direction",
19461
+ None,
19462
+ )
19463
+
19464
+ SetAnimationLiveObject = Symbol(
19465
+ [0x20F60],
19466
+ [0x22FE840],
19467
+ None,
19468
+ "SetAnimationLiveObject",
19469
+ "Sets the animation of a currently loaded object.\n\nr0: live object\nr1: SetAnimation parameter",
19470
+ None,
19471
+ )
19472
+
19473
+ SetEffectLiveObject = Symbol(
19474
+ [0x21020],
19475
+ [0x22FE900],
19476
+ None,
19477
+ "SetEffectLiveObject",
19478
+ "Sets the effect of a currently loaded object.\n\nr0: live object\nr1: flag (true if effect id is 0?)\nr2: effect id",
19479
+ None,
19480
+ )
19481
+
19482
+ GetAnimationStatusLiveObject = Symbol(
19483
+ [0x21030],
19484
+ [0x22FE910],
19485
+ None,
19486
+ "GetAnimationStatusLiveObject",
19487
+ "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",
19488
+ None,
19489
+ )
19490
+
19491
+ GetEffectStatusLiveObject = Symbol(
19492
+ [0x21050],
19493
+ [0x22FE930],
19494
+ None,
19495
+ "GetEffectStatusLiveObject",
19496
+ "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",
19497
+ None,
19498
+ )
19499
+
19500
+ GetAttributeBitfieldLiveObject = Symbol(
19501
+ [0x21074],
19502
+ [0x22FE954],
19503
+ None,
19504
+ "GetAttributeBitfieldLiveObject",
19505
+ "Gets the attribute bitfield of a currently loaded object.\n\nr0: live object\nr1: [output] pointer to attribute bitfield",
19506
+ None,
19507
+ )
19508
+
19509
+ SetAttributeBitfieldLiveObjectWrapper = Symbol(
19510
+ [0x21080],
19511
+ [0x22FE960],
19512
+ None,
19513
+ "SetAttributeBitfieldLiveObjectWrapper",
19514
+ "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",
19515
+ None,
19516
+ )
19517
+
19518
+ ResetAttributeBitfieldLiveObjectWrapper = Symbol(
19519
+ [0x21090],
19520
+ [0x22FE970],
19521
+ None,
19522
+ "ResetAttributeBitfieldLiveObjectWrapper",
19523
+ "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",
19524
+ None,
19525
+ )
19526
+
19527
+ SetBlinkLiveObject = Symbol(
19528
+ [0x210A0],
19529
+ [0x22FE980],
19530
+ None,
19531
+ "SetBlinkLiveObject",
19532
+ "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",
19533
+ None,
19534
+ )
19535
+
19536
+ SetPositionOffsetLiveObject = Symbol(
19537
+ [0x210B0],
19538
+ [0x22FE990],
19539
+ None,
19540
+ "SetPositionOffsetLiveObject",
19541
+ "Offsets a currently loaded object's position.\n\nr0: live object\nr1: pointer to an position offset vector",
19542
+ None,
19543
+ )
19544
+
19545
+ DeleteLivePerformer = Symbol(
19546
+ [0x2197C],
19547
+ [0x22FF25C],
19548
+ None,
19549
+ "DeleteLivePerformer",
19550
+ "Remove the performer from the performer list (in GROUND_STATE_PTRS)\n\nr0: the index of the performer in the live performer list",
19551
+ None,
19552
+ )
19553
+
19554
+ SetAttributeBitfieldLivePerformer = Symbol(
19555
+ [0x21B28],
19556
+ [0x22FF408],
19557
+ None,
19558
+ "SetAttributeBitfieldLivePerformer",
19559
+ "Sets bits of the attribute bitfield of a currently loaded performer.\n\nr0: live performer id\nr1: attribute bitfield",
19560
+ None,
19561
+ )
19562
+
19563
+ ResetAttributeBitfieldLivePerformer = Symbol(
19564
+ [0x21B68],
19565
+ [0x22FF448],
19566
+ None,
19567
+ "ResetAttributeBitfieldLivePerformer",
19568
+ "Clears bits of the attribute bitfield of a currently loaded performer.\n\nr0: live performer id\nr1: attribute bitfield",
19569
+ None,
19570
+ )
19571
+
19572
+ UnlockPerformerRoutines = Symbol(
19573
+ [0x220E4],
19574
+ [0x22FF9C4],
19575
+ None,
19576
+ "UnlockPerformerRoutines",
19577
+ "Attempts to unlock all live performer routines of the current script.\n\nr0: lock id\nreturn: True if any script routine was successfully unlocked",
19578
+ None,
19579
+ )
19580
+
19581
+ SetPositionLivePerformer = Symbol(
19582
+ [0x22194],
19583
+ [0x22FFA74],
19584
+ None,
19585
+ "SetPositionLivePerformer",
19586
+ "Sets the position for a currently loaded performer.\n\nr0: live performer\nr1: pointer to a position vector",
19587
+ None,
19588
+ )
19589
+
19590
+ GetIdLivePerformer = Symbol(
19591
+ [0x22220],
19592
+ [0x22FFB00],
19593
+ None,
19594
+ "GetIdLivePerformer",
19595
+ "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",
19596
+ None,
19597
+ )
19598
+
19599
+ GetCollisionBoxLivePerformer = Symbol(
19600
+ [0x22228],
19601
+ [0x22FFB08],
19602
+ None,
19603
+ "GetCollisionBoxLivePerformer",
19604
+ "Gets the collision box of a currently loaded performer.\n\nr0: live performer\nr1: [output] collision box buffer",
19605
+ None,
19606
+ )
19607
+
19608
+ SetPositionInitialLivePerformer = Symbol(
19609
+ [0x2223C],
19610
+ [0x22FFB1C],
19611
+ None,
19612
+ "SetPositionInitialLivePerformer",
19613
+ "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",
19614
+ None,
19615
+ )
19616
+
19617
+ SetMovementRangeLivePerformer = Symbol(
19618
+ [0x222F8],
19619
+ [0x22FFBD8],
19620
+ None,
19621
+ "SetMovementRangeLivePerformer",
19622
+ "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",
19623
+ None,
19624
+ )
19625
+
19626
+ GetCollisionBoxCenterLivePerformer = Symbol(
19627
+ [0x2231C],
19628
+ [0x22FFBFC],
19629
+ None,
19630
+ "GetCollisionBoxCenterLivePerformer",
19631
+ "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",
19632
+ None,
19633
+ )
19634
+
19635
+ SetPositionLivePerformerVeneer = Symbol(
19636
+ [0x22340],
19637
+ [0x22FFC20],
19638
+ None,
19639
+ "SetPositionLivePerformerVeneer",
19640
+ "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",
19641
+ None,
19642
+ )
19643
+
19644
+ GetHeightLivePerformer = Symbol(
19645
+ [0x2234C],
19646
+ [0x22FFC2C],
19647
+ None,
19648
+ "GetHeightLivePerformer",
19649
+ "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",
19650
+ None,
19651
+ )
19652
+
19653
+ SetHeightLivePerformer = Symbol(
19654
+ [0x22360],
19655
+ [0x22FFC40],
19656
+ None,
19657
+ "SetHeightLivePerformer",
19658
+ "Sets the height of a currently loaded performer.\n\nr0: live performer\nr1: height",
19659
+ None,
19660
+ )
19661
+
19662
+ GetDirectionLivePerformer = Symbol(
19663
+ [0x22368],
19664
+ [0x22FFC48],
19665
+ None,
19666
+ "GetDirectionLivePerformer",
19667
+ "Gets the direction of a currently loaded performer.\n\nr0: live performer\nr1: [output] pointer to direction",
19668
+ None,
19669
+ )
19670
+
19671
+ SetDirectionLivePerformer = Symbol(
19672
+ [0x22378],
19673
+ [0x22FFC58],
19674
+ None,
19675
+ "SetDirectionLivePerformer",
19676
+ "Sets the direction of a currently loaded performer. Does nothing if the direction value passed is -1.\n\nr0: live performer\nr1: direction",
19677
+ None,
19678
+ )
19679
+
19680
+ SetAnimationLivePerformer = Symbol(
19681
+ [0x22388],
19682
+ [0x22FFC68],
19683
+ None,
19684
+ "SetAnimationLivePerformer",
19685
+ "Sets the animation of a currently loaded performer.\n\nr0: live performer\nr1: SetAnimation parameter",
19686
+ None,
19687
+ )
19688
+
19689
+ SetEffectLivePerformer = Symbol(
19690
+ [0x22448],
19691
+ [0x22FFD28],
19692
+ None,
19693
+ "SetEffectLivePerformer",
19694
+ "Sets the effect of a currently loaded performer.\n\nr0: live performer\nr1: flag (true if effect id is 0?)\nr2: effect id",
19695
+ None,
19696
+ )
19697
+
19698
+ GetAnimationStatusLivePerformer = Symbol(
19699
+ [0x22458],
19700
+ [0x22FFD38],
19701
+ None,
19702
+ "GetAnimationStatusLivePerformer",
19703
+ "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",
19704
+ None,
19705
+ )
19706
+
19707
+ GetEffectStatusLivePerformer = Symbol(
19708
+ [0x22478],
19709
+ [0x22FFD58],
19710
+ None,
19711
+ "GetEffectStatusLivePerformer",
19712
+ "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",
19713
+ None,
19714
+ )
19715
+
19716
+ GetAttributeBitfieldLivePerformer = Symbol(
19717
+ [0x224B0],
19718
+ [0x22FFD90],
19719
+ None,
19720
+ "GetAttributeBitfieldLivePerformer",
19721
+ "Gets the attribute bitfield of a currently loaded performer.\n\nr0: live performer\nr1: [output] pointer to attribute bitfield",
19722
+ None,
19723
+ )
19724
+
19725
+ SetAttributeBitfieldLivePerformerWrapper = Symbol(
19726
+ [0x224BC],
19727
+ [0x22FFD9C],
19728
+ None,
19729
+ "SetAttributeBitfieldLivePerformerWrapper",
19730
+ "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",
19731
+ None,
19732
+ )
19733
+
19734
+ ResetAttributeBitfieldLivePerformerWrapper = Symbol(
19735
+ [0x224CC],
19736
+ [0x22FFDAC],
19737
+ None,
19738
+ "ResetAttributeBitfieldLivePerformerWrapper",
19739
+ "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",
19740
+ None,
19741
+ )
19742
+
19743
+ SetBlinkLivePerformer = Symbol(
19744
+ [0x224DC],
19745
+ [0x22FFDBC],
19746
+ None,
19747
+ "SetBlinkLivePerformer",
19748
+ "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",
19749
+ None,
19750
+ )
19751
+
19752
+ SetPositionOffsetLivePerformer = Symbol(
19753
+ [0x224EC],
19754
+ [0x22FFDCC],
19755
+ None,
19756
+ "SetPositionOffsetLivePerformer",
19757
+ "Offsets a currently loaded performer's position.\n\nr0: live performer\nr1: pointer to an position offset vector",
19758
+ None,
19759
+ )
19760
+
19761
+ DeleteLiveEvent = Symbol(
19762
+ [0x229F0],
19763
+ [0x23002D0],
19764
+ None,
19765
+ "DeleteLiveEvent",
19766
+ "Remove the event from the event list (in GROUND_STATE_PTRS)\n\nr0: the index of the event in the live event list",
19767
+ None,
19768
+ )
19769
+
19770
+ GetCollidingEventId = Symbol(
19771
+ [0x22B80],
19772
+ [0x2300460],
19773
+ None,
19774
+ "GetCollidingEventId",
19775
+ "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
19776
  None,
19021
19777
  )
19022
19778
 
@@ -19295,6 +20051,15 @@ class JpOverlay11Data:
19295
20051
  "struct level_tilemap_list_entry[81]",
19296
20052
  )
19297
20053
 
20054
+ ACTOR_FUNCTION_TABLE = Symbol(
20055
+ [0x45500],
20056
+ [0x2322DE0],
20057
+ 0x50,
20058
+ "ACTOR_FUNCTION_TABLE",
20059
+ "A function pointer table accessed when performing script opcodes on actors.",
20060
+ "struct ground_entity_function_table",
20061
+ )
20062
+
19298
20063
  SETANIMATION_TABLE = Symbol(
19299
20064
  [0x45550],
19300
20065
  [0x2322E30],
@@ -19304,6 +20069,24 @@ class JpOverlay11Data:
19304
20069
  "struct animation_data[84]",
19305
20070
  )
19306
20071
 
20072
+ OBJECT_FUNCTION_TABLE = Symbol(
20073
+ [0x45A80],
20074
+ [0x2323360],
20075
+ 0x50,
20076
+ "OBJECT_FUNCTION_TABLE",
20077
+ "A function pointer table accessed when performing script opcodes on objects.",
20078
+ "struct ground_entity_function_table",
20079
+ )
20080
+
20081
+ PERFORMER_FUNCTION_TABLE = Symbol(
20082
+ [0x45D94],
20083
+ [0x2323674],
20084
+ 0x50,
20085
+ "PERFORMER_FUNCTION_TABLE",
20086
+ "A function pointer table accessed when performing script opcodes on performers.",
20087
+ "struct ground_entity_function_table",
20088
+ )
20089
+
19307
20090
  TEAM_INFO_BOX_DEFAULT_WINDOW_PARAMS = Symbol(
19308
20091
  [0x460E0],
19309
20092
  [0x23239C0],