Skip to content

Commit

Permalink
Release v0.10.0+9149d2c08c
Browse files Browse the repository at this point in the history
  • Loading branch information
theCapypara committed Dec 28, 2024
1 parent 3fc307e commit 7a7af9a
Show file tree
Hide file tree
Showing 10 changed files with 251 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/pmdsky_debug_py/_release.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
RELEASE = "v0.10.0+4ad2cab8ca"
RELEASE = "v0.10.0+9149d2c08c"
40 changes: 38 additions & 2 deletions src/pmdsky_debug_py/eu.py
Original file line number Diff line number Diff line change
Expand Up @@ -3661,6 +3661,15 @@ class EuArm9Functions:
None,
)

CopyAndInterleaveWrapper = Symbol(
[0x1C08C],
[0x201C08C],
None,
"CopyAndInterleaveWrapper",
"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",
None,
)

InitAnimationControl = Symbol(
[0x1C0EC],
[0x201C0EC],
Expand Down Expand Up @@ -4251,7 +4260,7 @@ class EuArm9Functions:
[0x2024D88],
None,
"GetRankString",
"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",
"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",
None,
)

Expand Down Expand Up @@ -11030,7 +11039,7 @@ class EuItcmFunctions:
[0x20B3CC0],
None,
"CopyAndInterleave",
"Copies data from src to dst, placing the last 4 bits of val after every 4 bits copied.\n\nIn total, the number of bytes copied from src will be 2 * len, while the number of bytes pasted will be 4 * len.\n\nr0: [output] dst\nr1: src\nr2: len (in words)\nr3: val",
"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",
None,
)

Expand Down Expand Up @@ -27986,6 +27995,24 @@ class EuOverlay29Functions:
None,
)

LoadWeather3DFiles = Symbol(
[0x5C900],
[0x2339480],
None,
"LoadWeather3DFiles",
"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.",
None,
)

RenderWeather3D = Symbol(
[0x5CB14],
[0x2339694],
None,
"RenderWeather3D",
"Renders the 3D effects for the tileset weather as well as the Sandstorm/Fog weather conditions.\n\nNo params.",
None,
)

GetMinimapData = Symbol(
[0x5D168],
[0x2339CE8],
Expand All @@ -28004,6 +28031,15 @@ class EuOverlay29Functions:
None,
)

FlashLeaderIcon = Symbol(
[0x5DA74],
[0x233A5F4],
None,
"FlashLeaderIcon",
"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: ?",
None,
)

UpdateMinimap = Symbol(
[0x5DD38],
[0x233A8B8],
Expand Down
40 changes: 38 additions & 2 deletions src/pmdsky_debug_py/eu_itcm.py
Original file line number Diff line number Diff line change
Expand Up @@ -3615,6 +3615,15 @@ class EuItcmArm9Functions:
None,
)

CopyAndInterleaveWrapper = Symbol(
None,
None,
None,
"CopyAndInterleaveWrapper",
"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",
None,
)

InitAnimationControl = Symbol(
None,
None,
Expand Down Expand Up @@ -4205,7 +4214,7 @@ class EuItcmArm9Functions:
None,
None,
"GetRankString",
"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",
"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",
None,
)

Expand Down Expand Up @@ -10964,7 +10973,7 @@ class EuItcmItcmFunctions:
[0x1FF8000],
None,
"CopyAndInterleave",
"Copies data from src to dst, placing the last 4 bits of val after every 4 bits copied.\n\nIn total, the number of bytes copied from src will be 2 * len, while the number of bytes pasted will be 4 * len.\n\nr0: [output] dst\nr1: src\nr2: len (in words)\nr3: val",
"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",
None,
)

Expand Down Expand Up @@ -27411,6 +27420,24 @@ class EuItcmOverlay29Functions:
None,
)

LoadWeather3DFiles = Symbol(
None,
None,
None,
"LoadWeather3DFiles",
"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.",
None,
)

RenderWeather3D = Symbol(
None,
None,
None,
"RenderWeather3D",
"Renders the 3D effects for the tileset weather as well as the Sandstorm/Fog weather conditions.\n\nNo params.",
None,
)

GetMinimapData = Symbol(
None,
None,
Expand All @@ -27429,6 +27456,15 @@ class EuItcmOverlay29Functions:
None,
)

FlashLeaderIcon = Symbol(
None,
None,
None,
"FlashLeaderIcon",
"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: ?",
None,
)

UpdateMinimap = Symbol(
None,
None,
Expand Down
40 changes: 38 additions & 2 deletions src/pmdsky_debug_py/jp.py
Original file line number Diff line number Diff line change
Expand Up @@ -3661,6 +3661,15 @@ class JpArm9Functions:
None,
)

CopyAndInterleaveWrapper = Symbol(
None,
None,
None,
"CopyAndInterleaveWrapper",
"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",
None,
)

InitAnimationControl = Symbol(
[0x1C0A8],
[0x201C0A8],
Expand Down Expand Up @@ -4251,7 +4260,7 @@ class JpArm9Functions:
[0x2024B44],
None,
"GetRankString",
"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",
"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",
None,
)

Expand Down Expand Up @@ -11025,7 +11034,7 @@ class JpItcmFunctions:
[0x20B4BE0],
None,
"CopyAndInterleave",
"Copies data from src to dst, placing the last 4 bits of val after every 4 bits copied.\n\nIn total, the number of bytes copied from src will be 2 * len, while the number of bytes pasted will be 4 * len.\n\nr0: [output] dst\nr1: src\nr2: len (in words)\nr3: val",
"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",
None,
)

Expand Down Expand Up @@ -27977,6 +27986,24 @@ class JpOverlay29Functions:
None,
)

LoadWeather3DFiles = Symbol(
None,
None,
None,
"LoadWeather3DFiles",
"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.",
None,
)

RenderWeather3D = Symbol(
None,
None,
None,
"RenderWeather3D",
"Renders the 3D effects for the tileset weather as well as the Sandstorm/Fog weather conditions.\n\nNo params.",
None,
)

GetMinimapData = Symbol(
[0x5CBFC],
[0x233A4DC],
Expand All @@ -27995,6 +28022,15 @@ class JpOverlay29Functions:
None,
)

FlashLeaderIcon = Symbol(
None,
None,
None,
"FlashLeaderIcon",
"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: ?",
None,
)

UpdateMinimap = Symbol(
[0x5D7CC],
[0x233B0AC],
Expand Down
40 changes: 38 additions & 2 deletions src/pmdsky_debug_py/jp_itcm.py
Original file line number Diff line number Diff line change
Expand Up @@ -3615,6 +3615,15 @@ class JpItcmArm9Functions:
None,
)

CopyAndInterleaveWrapper = Symbol(
None,
None,
None,
"CopyAndInterleaveWrapper",
"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",
None,
)

InitAnimationControl = Symbol(
None,
None,
Expand Down Expand Up @@ -4205,7 +4214,7 @@ class JpItcmArm9Functions:
None,
None,
"GetRankString",
"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",
"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",
None,
)

Expand Down Expand Up @@ -10964,7 +10973,7 @@ class JpItcmItcmFunctions:
[0x1FF8000],
None,
"CopyAndInterleave",
"Copies data from src to dst, placing the last 4 bits of val after every 4 bits copied.\n\nIn total, the number of bytes copied from src will be 2 * len, while the number of bytes pasted will be 4 * len.\n\nr0: [output] dst\nr1: src\nr2: len (in words)\nr3: val",
"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",
None,
)

Expand Down Expand Up @@ -27411,6 +27420,24 @@ class JpItcmOverlay29Functions:
None,
)

LoadWeather3DFiles = Symbol(
None,
None,
None,
"LoadWeather3DFiles",
"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.",
None,
)

RenderWeather3D = Symbol(
None,
None,
None,
"RenderWeather3D",
"Renders the 3D effects for the tileset weather as well as the Sandstorm/Fog weather conditions.\n\nNo params.",
None,
)

GetMinimapData = Symbol(
None,
None,
Expand All @@ -27429,6 +27456,15 @@ class JpItcmOverlay29Functions:
None,
)

FlashLeaderIcon = Symbol(
None,
None,
None,
"FlashLeaderIcon",
"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: ?",
None,
)

UpdateMinimap = Symbol(
None,
None,
Expand Down
40 changes: 38 additions & 2 deletions src/pmdsky_debug_py/na.py
Original file line number Diff line number Diff line change
Expand Up @@ -3661,6 +3661,15 @@ class NaArm9Functions:
None,
)

CopyAndInterleaveWrapper = Symbol(
None,
None,
None,
"CopyAndInterleaveWrapper",
"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",
None,
)

InitAnimationControl = Symbol(
[0x1C050],
[0x201C050],
Expand Down Expand Up @@ -4251,7 +4260,7 @@ class NaArm9Functions:
[0x2024AF4],
None,
"GetRankString",
"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",
"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",
None,
)

Expand Down Expand Up @@ -11030,7 +11039,7 @@ class NaItcmFunctions:
[0x20B3380],
None,
"CopyAndInterleave",
"Copies data from src to dst, placing the last 4 bits of val after every 4 bits copied.\n\nIn total, the number of bytes copied from src will be 2 * len, while the number of bytes pasted will be 4 * len.\n\nr0: [output] dst\nr1: src\nr2: len (in words)\nr3: val",
"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",
None,
)

Expand Down Expand Up @@ -27984,6 +27993,24 @@ class NaOverlay29Functions:
None,
)

LoadWeather3DFiles = Symbol(
None,
None,
None,
"LoadWeather3DFiles",
"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.",
None,
)

RenderWeather3D = Symbol(
None,
None,
None,
"RenderWeather3D",
"Renders the 3D effects for the tileset weather as well as the Sandstorm/Fog weather conditions.\n\nNo params.",
None,
)

GetMinimapData = Symbol(
[0x5CED8],
[0x2339118],
Expand All @@ -28002,6 +28029,15 @@ class NaOverlay29Functions:
None,
)

FlashLeaderIcon = Symbol(
None,
None,
None,
"FlashLeaderIcon",
"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: ?",
None,
)

UpdateMinimap = Symbol(
[0x5DAA8],
[0x2339CE8],
Expand Down
Loading

0 comments on commit 7a7af9a

Please sign in to comment.