pmdsky-debug-py 10.0.47__py3-none-any.whl → 10.0.48__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+d5d2460d80"
1
+ RELEASE = "v0.10.0+4ad2cab8ca"
pmdsky_debug_py/eu.py CHANGED
@@ -855,6 +855,15 @@ class EuArm9Functions:
855
855
  None,
856
856
  )
857
857
 
858
+ GetDsFirmwareUserSettingsVeneer = Symbol(
859
+ [0x4F74],
860
+ [0x2004F74],
861
+ None,
862
+ "GetDsFirmwareUserSettingsVeneer",
863
+ "Likely a linker-generated veneer for GetDsFirmwareUserSettings.\n\nSee https://developer.arm.com/documentation/dui0474/k/image-structure-and-generation/linker-generated-veneers/what-is-a-veneer-\n\nr0: user_settings pointer",
864
+ None,
865
+ )
866
+
858
867
  Rgb8ToRgb5 = Symbol(
859
868
  [0x4FCC],
860
869
  [0x2004FCC],
@@ -918,6 +927,33 @@ class EuArm9Functions:
918
927
  None,
919
928
  )
920
929
 
930
+ DebugPrintSystemClock = Symbol(
931
+ [0x6EF8],
932
+ [0x2006EF8],
933
+ None,
934
+ "DebugPrintSystemClock",
935
+ "This function prints the debug message 'Now date & time' followed by the current date and time of the DS system clock. Called on boot.\n\nNo params.",
936
+ None,
937
+ )
938
+
939
+ GetSystemClock = Symbol(
940
+ [0x6F68],
941
+ [0x2006F68],
942
+ None,
943
+ "GetSystemClock",
944
+ "Gets information surrounding the DS system clock, such as the current month, day, etc.\n\nr0: system_clock pointer",
945
+ None,
946
+ )
947
+
948
+ SprintfSystemClock = Symbol(
949
+ [0x6FB8],
950
+ [0x2006FB8],
951
+ None,
952
+ "SprintfSystemClock",
953
+ "Calls sprintf to format a string using the fields of the DS system clock as 'year/month/day hour:minute:second'. Used in DebugPrintSystemClock.\n\nr0: system_clock pointer\nr1: str",
954
+ None,
955
+ )
956
+
921
957
  DataTransferInit = Symbol(
922
958
  [0x8168],
923
959
  [0x2008168],
@@ -4417,6 +4453,15 @@ class EuArm9Functions:
4417
4453
  None,
4418
4454
  )
4419
4455
 
4456
+ GetCharWidth = Symbol(
4457
+ [0x26830],
4458
+ [0x2026830],
4459
+ None,
4460
+ "GetCharWidth",
4461
+ "Gets the width of a text char.\n\nr0: char\nreturn: char width",
4462
+ None,
4463
+ )
4464
+
4420
4465
  GetColorCodePaletteOffset = Symbol(
4421
4466
  [0x268A8],
4422
4467
  [0x20268A8],
@@ -4426,6 +4471,15 @@ class EuArm9Functions:
4426
4471
  None,
4427
4472
  )
4428
4473
 
4474
+ DrawChar = Symbol(
4475
+ [0x26A50],
4476
+ [0x2026A50],
4477
+ None,
4478
+ "DrawChar",
4479
+ "Draws a single char within a window. This function is also responsible for drawing the shadows of a char.\n\nr0: window_id\nr1: x offset within window\nr2: y offset within window\nr3: char\nstack[0]: color offset\nreturn: char width",
4480
+ None,
4481
+ )
4482
+
4429
4483
  GetWindow = Symbol(
4430
4484
  [0x278EC],
4431
4485
  [0x20278EC],
@@ -4971,7 +5025,7 @@ class EuArm9Functions:
4971
5025
  [0x202D4E4],
4972
5026
  None,
4973
5027
  "CreateOptionsMenu",
4974
- "Creates a window containing a menu controlling game options. Also see struct options_menu.\n\nThis is used for the options and window options menus, among other things.\n\nIf window_params is NULL, OPTIONS_MENU_DEFAULT_WINDOW_PARAMS will be used. Otherwise, it will be copied onto the window, ignoring the update and contents fields. If window_params::width and/or window_params::height are 0, they will be computed based on the contained text.\n\nIf window_extra_info is non-NULL, it will be copied onto the window. Note that window_extra_info can only be NULL if there are no window_flags set that require extra info.\n\nr0: window_params\nr1: window_flags\nr2: window_extra_info pointer\nr3: options_menu_id_item struct array, terminated with an item with msg_id 0\nstack[0]: number of items\nstack[1]: ?\nreturn: window_id",
5028
+ "Creates a window containing a menu controlling game options. Also see struct options_menu.\n\nThis is used for the options and window options menus, among other things.\n\nIf window_params is NULL, OPTIONS_MENU_DEFAULT_WINDOW_PARAMS will be used. Otherwise, it will be copied onto the window, ignoring the update and contents fields. If window_params::width and/or window_params::height are 0, they will be computed based on the contained text.\n\nIf window_extra_info is non-NULL, it will be copied onto the window. Note that window_extra_info can only be NULL if there are no window_flags set that require extra info.\n\nr0: window_params\nr1: window_flags\nr2: window_extra_info pointer\nr3: options_menu_id_item struct array, terminated with an item with msg_id 0\nstack[0]: number of items\nstack[1]: option_states pointer\nreturn: window_id",
4975
5029
  None,
4976
5030
  )
4977
5031
 
@@ -5002,6 +5056,24 @@ class EuArm9Functions:
5002
5056
  None,
5003
5057
  )
5004
5058
 
5059
+ GetOptionsMenuStates = Symbol(
5060
+ [0x2D8A4],
5061
+ [0x202D8A4],
5062
+ None,
5063
+ "GetOptionsMenuStates",
5064
+ "Gets all the option menu states; used to determine what options the user has selected in a menu. Each option state corresponds a options_menu_id_item.\n\nr0: window_id\nr1: option_states pointer",
5065
+ None,
5066
+ )
5067
+
5068
+ GetOptionsMenuResult = Symbol(
5069
+ [0x2D8D8],
5070
+ [0x202D8D8],
5071
+ None,
5072
+ "GetOptionsMenuResult",
5073
+ "Returns whether or not the options menu was confirmed or canceled (e.g., by pressing the B button).\n\nr0: window_id\nreturn: bool",
5074
+ None,
5075
+ )
5076
+
5005
5077
  UpdateOptionsMenu = Symbol(
5006
5078
  [0x2D90C],
5007
5079
  [0x202D90C],
@@ -12751,6 +12823,15 @@ class EuLibsFunctions:
12751
12823
  None,
12752
12824
  )
12753
12825
 
12826
+ GetDsFirmwareUserSettings = Symbol(
12827
+ [0xF930],
12828
+ [0x207BDA0],
12829
+ None,
12830
+ "GetDsFirmwareUserSettings",
12831
+ "Gets the user settings of the DS firmware.\n\nSee https://problemkaputt.de/gbatek.htm#dsfirmwareusersettings\n\nr0: user_settings pointer",
12832
+ None,
12833
+ )
12834
+
12754
12835
  CountLeadingZeros = Symbol(
12755
12836
  [0xF9B4],
12756
12837
  [0x207BE24],
@@ -843,6 +843,15 @@ class EuItcmArm9Functions:
843
843
  None,
844
844
  )
845
845
 
846
+ GetDsFirmwareUserSettingsVeneer = Symbol(
847
+ None,
848
+ None,
849
+ None,
850
+ "GetDsFirmwareUserSettingsVeneer",
851
+ "Likely a linker-generated veneer for GetDsFirmwareUserSettings.\n\nSee https://developer.arm.com/documentation/dui0474/k/image-structure-and-generation/linker-generated-veneers/what-is-a-veneer-\n\nr0: user_settings pointer",
852
+ None,
853
+ )
854
+
846
855
  Rgb8ToRgb5 = Symbol(
847
856
  None,
848
857
  None,
@@ -906,6 +915,33 @@ class EuItcmArm9Functions:
906
915
  None,
907
916
  )
908
917
 
918
+ DebugPrintSystemClock = Symbol(
919
+ None,
920
+ None,
921
+ None,
922
+ "DebugPrintSystemClock",
923
+ "This function prints the debug message 'Now date & time' followed by the current date and time of the DS system clock. Called on boot.\n\nNo params.",
924
+ None,
925
+ )
926
+
927
+ GetSystemClock = Symbol(
928
+ None,
929
+ None,
930
+ None,
931
+ "GetSystemClock",
932
+ "Gets information surrounding the DS system clock, such as the current month, day, etc.\n\nr0: system_clock pointer",
933
+ None,
934
+ )
935
+
936
+ SprintfSystemClock = Symbol(
937
+ None,
938
+ None,
939
+ None,
940
+ "SprintfSystemClock",
941
+ "Calls sprintf to format a string using the fields of the DS system clock as 'year/month/day hour:minute:second'. Used in DebugPrintSystemClock.\n\nr0: system_clock pointer\nr1: str",
942
+ None,
943
+ )
944
+
909
945
  DataTransferInit = Symbol(
910
946
  None,
911
947
  None,
@@ -4371,6 +4407,15 @@ class EuItcmArm9Functions:
4371
4407
  None,
4372
4408
  )
4373
4409
 
4410
+ GetCharWidth = Symbol(
4411
+ None,
4412
+ None,
4413
+ None,
4414
+ "GetCharWidth",
4415
+ "Gets the width of a text char.\n\nr0: char\nreturn: char width",
4416
+ None,
4417
+ )
4418
+
4374
4419
  GetColorCodePaletteOffset = Symbol(
4375
4420
  None,
4376
4421
  None,
@@ -4380,6 +4425,15 @@ class EuItcmArm9Functions:
4380
4425
  None,
4381
4426
  )
4382
4427
 
4428
+ DrawChar = Symbol(
4429
+ None,
4430
+ None,
4431
+ None,
4432
+ "DrawChar",
4433
+ "Draws a single char within a window. This function is also responsible for drawing the shadows of a char.\n\nr0: window_id\nr1: x offset within window\nr2: y offset within window\nr3: char\nstack[0]: color offset\nreturn: char width",
4434
+ None,
4435
+ )
4436
+
4383
4437
  GetWindow = Symbol(
4384
4438
  None,
4385
4439
  None,
@@ -4925,7 +4979,7 @@ class EuItcmArm9Functions:
4925
4979
  None,
4926
4980
  None,
4927
4981
  "CreateOptionsMenu",
4928
- "Creates a window containing a menu controlling game options. Also see struct options_menu.\n\nThis is used for the options and window options menus, among other things.\n\nIf window_params is NULL, OPTIONS_MENU_DEFAULT_WINDOW_PARAMS will be used. Otherwise, it will be copied onto the window, ignoring the update and contents fields. If window_params::width and/or window_params::height are 0, they will be computed based on the contained text.\n\nIf window_extra_info is non-NULL, it will be copied onto the window. Note that window_extra_info can only be NULL if there are no window_flags set that require extra info.\n\nr0: window_params\nr1: window_flags\nr2: window_extra_info pointer\nr3: options_menu_id_item struct array, terminated with an item with msg_id 0\nstack[0]: number of items\nstack[1]: ?\nreturn: window_id",
4982
+ "Creates a window containing a menu controlling game options. Also see struct options_menu.\n\nThis is used for the options and window options menus, among other things.\n\nIf window_params is NULL, OPTIONS_MENU_DEFAULT_WINDOW_PARAMS will be used. Otherwise, it will be copied onto the window, ignoring the update and contents fields. If window_params::width and/or window_params::height are 0, they will be computed based on the contained text.\n\nIf window_extra_info is non-NULL, it will be copied onto the window. Note that window_extra_info can only be NULL if there are no window_flags set that require extra info.\n\nr0: window_params\nr1: window_flags\nr2: window_extra_info pointer\nr3: options_menu_id_item struct array, terminated with an item with msg_id 0\nstack[0]: number of items\nstack[1]: option_states pointer\nreturn: window_id",
4929
4983
  None,
4930
4984
  )
4931
4985
 
@@ -4956,6 +5010,24 @@ class EuItcmArm9Functions:
4956
5010
  None,
4957
5011
  )
4958
5012
 
5013
+ GetOptionsMenuStates = Symbol(
5014
+ None,
5015
+ None,
5016
+ None,
5017
+ "GetOptionsMenuStates",
5018
+ "Gets all the option menu states; used to determine what options the user has selected in a menu. Each option state corresponds a options_menu_id_item.\n\nr0: window_id\nr1: option_states pointer",
5019
+ None,
5020
+ )
5021
+
5022
+ GetOptionsMenuResult = Symbol(
5023
+ None,
5024
+ None,
5025
+ None,
5026
+ "GetOptionsMenuResult",
5027
+ "Returns whether or not the options menu was confirmed or canceled (e.g., by pressing the B button).\n\nr0: window_id\nreturn: bool",
5028
+ None,
5029
+ )
5030
+
4959
5031
  UpdateOptionsMenu = Symbol(
4960
5032
  None,
4961
5033
  None,
@@ -12510,6 +12582,15 @@ class EuItcmLibsFunctions:
12510
12582
  None,
12511
12583
  )
12512
12584
 
12585
+ GetDsFirmwareUserSettings = Symbol(
12586
+ None,
12587
+ None,
12588
+ None,
12589
+ "GetDsFirmwareUserSettings",
12590
+ "Gets the user settings of the DS firmware.\n\nSee https://problemkaputt.de/gbatek.htm#dsfirmwareusersettings\n\nr0: user_settings pointer",
12591
+ None,
12592
+ )
12593
+
12513
12594
  CountLeadingZeros = Symbol(
12514
12595
  None,
12515
12596
  None,
pmdsky_debug_py/jp.py CHANGED
@@ -855,6 +855,15 @@ class JpArm9Functions:
855
855
  None,
856
856
  )
857
857
 
858
+ GetDsFirmwareUserSettingsVeneer = Symbol(
859
+ [0x4F74],
860
+ [0x2004F74],
861
+ None,
862
+ "GetDsFirmwareUserSettingsVeneer",
863
+ "Likely a linker-generated veneer for GetDsFirmwareUserSettings.\n\nSee https://developer.arm.com/documentation/dui0474/k/image-structure-and-generation/linker-generated-veneers/what-is-a-veneer-\n\nr0: user_settings pointer",
864
+ None,
865
+ )
866
+
858
867
  Rgb8ToRgb5 = Symbol(
859
868
  [0x4FCC],
860
869
  [0x2004FCC],
@@ -918,6 +927,33 @@ class JpArm9Functions:
918
927
  None,
919
928
  )
920
929
 
930
+ DebugPrintSystemClock = Symbol(
931
+ [0x6EF8],
932
+ [0x2006EF8],
933
+ None,
934
+ "DebugPrintSystemClock",
935
+ "This function prints the debug message 'Now date & time' followed by the current date and time of the DS system clock. Called on boot.\n\nNo params.",
936
+ None,
937
+ )
938
+
939
+ GetSystemClock = Symbol(
940
+ [0x6F68],
941
+ [0x2006F68],
942
+ None,
943
+ "GetSystemClock",
944
+ "Gets information surrounding the DS system clock, such as the current month, day, etc.\n\nr0: system_clock pointer",
945
+ None,
946
+ )
947
+
948
+ SprintfSystemClock = Symbol(
949
+ [0x6FB8],
950
+ [0x2006FB8],
951
+ None,
952
+ "SprintfSystemClock",
953
+ "Calls sprintf to format a string using the fields of the DS system clock as 'year/month/day hour:minute:second'. Used in DebugPrintSystemClock.\n\nr0: system_clock pointer\nr1: str",
954
+ None,
955
+ )
956
+
921
957
  DataTransferInit = Symbol(
922
958
  [0x8168],
923
959
  [0x2008168],
@@ -4417,6 +4453,15 @@ class JpArm9Functions:
4417
4453
  None,
4418
4454
  )
4419
4455
 
4456
+ GetCharWidth = Symbol(
4457
+ [0x26624],
4458
+ [0x2026624],
4459
+ None,
4460
+ "GetCharWidth",
4461
+ "Gets the width of a text char.\n\nr0: char\nreturn: char width",
4462
+ None,
4463
+ )
4464
+
4420
4465
  GetColorCodePaletteOffset = Symbol(
4421
4466
  [0x2669C],
4422
4467
  [0x202669C],
@@ -4426,6 +4471,15 @@ class JpArm9Functions:
4426
4471
  None,
4427
4472
  )
4428
4473
 
4474
+ DrawChar = Symbol(
4475
+ [0x26844],
4476
+ [0x2026844],
4477
+ None,
4478
+ "DrawChar",
4479
+ "Draws a single char within a window. This function is also responsible for drawing the shadows of a char.\n\nr0: window_id\nr1: x offset within window\nr2: y offset within window\nr3: char\nstack[0]: color offset\nreturn: char width",
4480
+ None,
4481
+ )
4482
+
4429
4483
  GetWindow = Symbol(
4430
4484
  [0x27940],
4431
4485
  [0x2027940],
@@ -4971,7 +5025,7 @@ class JpArm9Functions:
4971
5025
  [0x202D548],
4972
5026
  None,
4973
5027
  "CreateOptionsMenu",
4974
- "Creates a window containing a menu controlling game options. Also see struct options_menu.\n\nThis is used for the options and window options menus, among other things.\n\nIf window_params is NULL, OPTIONS_MENU_DEFAULT_WINDOW_PARAMS will be used. Otherwise, it will be copied onto the window, ignoring the update and contents fields. If window_params::width and/or window_params::height are 0, they will be computed based on the contained text.\n\nIf window_extra_info is non-NULL, it will be copied onto the window. Note that window_extra_info can only be NULL if there are no window_flags set that require extra info.\n\nr0: window_params\nr1: window_flags\nr2: window_extra_info pointer\nr3: options_menu_id_item struct array, terminated with an item with msg_id 0\nstack[0]: number of items\nstack[1]: ?\nreturn: window_id",
5028
+ "Creates a window containing a menu controlling game options. Also see struct options_menu.\n\nThis is used for the options and window options menus, among other things.\n\nIf window_params is NULL, OPTIONS_MENU_DEFAULT_WINDOW_PARAMS will be used. Otherwise, it will be copied onto the window, ignoring the update and contents fields. If window_params::width and/or window_params::height are 0, they will be computed based on the contained text.\n\nIf window_extra_info is non-NULL, it will be copied onto the window. Note that window_extra_info can only be NULL if there are no window_flags set that require extra info.\n\nr0: window_params\nr1: window_flags\nr2: window_extra_info pointer\nr3: options_menu_id_item struct array, terminated with an item with msg_id 0\nstack[0]: number of items\nstack[1]: option_states pointer\nreturn: window_id",
4975
5029
  None,
4976
5030
  )
4977
5031
 
@@ -5002,6 +5056,24 @@ class JpArm9Functions:
5002
5056
  None,
5003
5057
  )
5004
5058
 
5059
+ GetOptionsMenuStates = Symbol(
5060
+ [0x2D908],
5061
+ [0x202D908],
5062
+ None,
5063
+ "GetOptionsMenuStates",
5064
+ "Gets all the option menu states; used to determine what options the user has selected in a menu. Each option state corresponds a options_menu_id_item.\n\nr0: window_id\nr1: option_states pointer",
5065
+ None,
5066
+ )
5067
+
5068
+ GetOptionsMenuResult = Symbol(
5069
+ [0x2D93C],
5070
+ [0x202D93C],
5071
+ None,
5072
+ "GetOptionsMenuResult",
5073
+ "Returns whether or not the options menu was confirmed or canceled (e.g., by pressing the B button).\n\nr0: window_id\nreturn: bool",
5074
+ None,
5075
+ )
5076
+
5005
5077
  UpdateOptionsMenu = Symbol(
5006
5078
  [0x2D970],
5007
5079
  [0x202D970],
@@ -12746,6 +12818,15 @@ class JpLibsFunctions:
12746
12818
  None,
12747
12819
  )
12748
12820
 
12821
+ GetDsFirmwareUserSettings = Symbol(
12822
+ [0xF930],
12823
+ [0x207BCF0],
12824
+ None,
12825
+ "GetDsFirmwareUserSettings",
12826
+ "Gets the user settings of the DS firmware.\n\nSee https://problemkaputt.de/gbatek.htm#dsfirmwareusersettings\n\nr0: user_settings pointer",
12827
+ None,
12828
+ )
12829
+
12749
12830
  CountLeadingZeros = Symbol(
12750
12831
  [0xF9B4],
12751
12832
  [0x207BD74],
@@ -843,6 +843,15 @@ class JpItcmArm9Functions:
843
843
  None,
844
844
  )
845
845
 
846
+ GetDsFirmwareUserSettingsVeneer = Symbol(
847
+ None,
848
+ None,
849
+ None,
850
+ "GetDsFirmwareUserSettingsVeneer",
851
+ "Likely a linker-generated veneer for GetDsFirmwareUserSettings.\n\nSee https://developer.arm.com/documentation/dui0474/k/image-structure-and-generation/linker-generated-veneers/what-is-a-veneer-\n\nr0: user_settings pointer",
852
+ None,
853
+ )
854
+
846
855
  Rgb8ToRgb5 = Symbol(
847
856
  None,
848
857
  None,
@@ -906,6 +915,33 @@ class JpItcmArm9Functions:
906
915
  None,
907
916
  )
908
917
 
918
+ DebugPrintSystemClock = Symbol(
919
+ None,
920
+ None,
921
+ None,
922
+ "DebugPrintSystemClock",
923
+ "This function prints the debug message 'Now date & time' followed by the current date and time of the DS system clock. Called on boot.\n\nNo params.",
924
+ None,
925
+ )
926
+
927
+ GetSystemClock = Symbol(
928
+ None,
929
+ None,
930
+ None,
931
+ "GetSystemClock",
932
+ "Gets information surrounding the DS system clock, such as the current month, day, etc.\n\nr0: system_clock pointer",
933
+ None,
934
+ )
935
+
936
+ SprintfSystemClock = Symbol(
937
+ None,
938
+ None,
939
+ None,
940
+ "SprintfSystemClock",
941
+ "Calls sprintf to format a string using the fields of the DS system clock as 'year/month/day hour:minute:second'. Used in DebugPrintSystemClock.\n\nr0: system_clock pointer\nr1: str",
942
+ None,
943
+ )
944
+
909
945
  DataTransferInit = Symbol(
910
946
  None,
911
947
  None,
@@ -4371,6 +4407,15 @@ class JpItcmArm9Functions:
4371
4407
  None,
4372
4408
  )
4373
4409
 
4410
+ GetCharWidth = Symbol(
4411
+ None,
4412
+ None,
4413
+ None,
4414
+ "GetCharWidth",
4415
+ "Gets the width of a text char.\n\nr0: char\nreturn: char width",
4416
+ None,
4417
+ )
4418
+
4374
4419
  GetColorCodePaletteOffset = Symbol(
4375
4420
  None,
4376
4421
  None,
@@ -4380,6 +4425,15 @@ class JpItcmArm9Functions:
4380
4425
  None,
4381
4426
  )
4382
4427
 
4428
+ DrawChar = Symbol(
4429
+ None,
4430
+ None,
4431
+ None,
4432
+ "DrawChar",
4433
+ "Draws a single char within a window. This function is also responsible for drawing the shadows of a char.\n\nr0: window_id\nr1: x offset within window\nr2: y offset within window\nr3: char\nstack[0]: color offset\nreturn: char width",
4434
+ None,
4435
+ )
4436
+
4383
4437
  GetWindow = Symbol(
4384
4438
  None,
4385
4439
  None,
@@ -4925,7 +4979,7 @@ class JpItcmArm9Functions:
4925
4979
  None,
4926
4980
  None,
4927
4981
  "CreateOptionsMenu",
4928
- "Creates a window containing a menu controlling game options. Also see struct options_menu.\n\nThis is used for the options and window options menus, among other things.\n\nIf window_params is NULL, OPTIONS_MENU_DEFAULT_WINDOW_PARAMS will be used. Otherwise, it will be copied onto the window, ignoring the update and contents fields. If window_params::width and/or window_params::height are 0, they will be computed based on the contained text.\n\nIf window_extra_info is non-NULL, it will be copied onto the window. Note that window_extra_info can only be NULL if there are no window_flags set that require extra info.\n\nr0: window_params\nr1: window_flags\nr2: window_extra_info pointer\nr3: options_menu_id_item struct array, terminated with an item with msg_id 0\nstack[0]: number of items\nstack[1]: ?\nreturn: window_id",
4982
+ "Creates a window containing a menu controlling game options. Also see struct options_menu.\n\nThis is used for the options and window options menus, among other things.\n\nIf window_params is NULL, OPTIONS_MENU_DEFAULT_WINDOW_PARAMS will be used. Otherwise, it will be copied onto the window, ignoring the update and contents fields. If window_params::width and/or window_params::height are 0, they will be computed based on the contained text.\n\nIf window_extra_info is non-NULL, it will be copied onto the window. Note that window_extra_info can only be NULL if there are no window_flags set that require extra info.\n\nr0: window_params\nr1: window_flags\nr2: window_extra_info pointer\nr3: options_menu_id_item struct array, terminated with an item with msg_id 0\nstack[0]: number of items\nstack[1]: option_states pointer\nreturn: window_id",
4929
4983
  None,
4930
4984
  )
4931
4985
 
@@ -4956,6 +5010,24 @@ class JpItcmArm9Functions:
4956
5010
  None,
4957
5011
  )
4958
5012
 
5013
+ GetOptionsMenuStates = Symbol(
5014
+ None,
5015
+ None,
5016
+ None,
5017
+ "GetOptionsMenuStates",
5018
+ "Gets all the option menu states; used to determine what options the user has selected in a menu. Each option state corresponds a options_menu_id_item.\n\nr0: window_id\nr1: option_states pointer",
5019
+ None,
5020
+ )
5021
+
5022
+ GetOptionsMenuResult = Symbol(
5023
+ None,
5024
+ None,
5025
+ None,
5026
+ "GetOptionsMenuResult",
5027
+ "Returns whether or not the options menu was confirmed or canceled (e.g., by pressing the B button).\n\nr0: window_id\nreturn: bool",
5028
+ None,
5029
+ )
5030
+
4959
5031
  UpdateOptionsMenu = Symbol(
4960
5032
  None,
4961
5033
  None,
@@ -12510,6 +12582,15 @@ class JpItcmLibsFunctions:
12510
12582
  None,
12511
12583
  )
12512
12584
 
12585
+ GetDsFirmwareUserSettings = Symbol(
12586
+ None,
12587
+ None,
12588
+ None,
12589
+ "GetDsFirmwareUserSettings",
12590
+ "Gets the user settings of the DS firmware.\n\nSee https://problemkaputt.de/gbatek.htm#dsfirmwareusersettings\n\nr0: user_settings pointer",
12591
+ None,
12592
+ )
12593
+
12513
12594
  CountLeadingZeros = Symbol(
12514
12595
  None,
12515
12596
  None,
pmdsky_debug_py/na.py CHANGED
@@ -855,6 +855,15 @@ class NaArm9Functions:
855
855
  None,
856
856
  )
857
857
 
858
+ GetDsFirmwareUserSettingsVeneer = Symbol(
859
+ [0x4F74],
860
+ [0x2004F74],
861
+ None,
862
+ "GetDsFirmwareUserSettingsVeneer",
863
+ "Likely a linker-generated veneer for GetDsFirmwareUserSettings.\n\nSee https://developer.arm.com/documentation/dui0474/k/image-structure-and-generation/linker-generated-veneers/what-is-a-veneer-\n\nr0: user_settings pointer",
864
+ None,
865
+ )
866
+
858
867
  Rgb8ToRgb5 = Symbol(
859
868
  [0x4FCC],
860
869
  [0x2004FCC],
@@ -918,6 +927,33 @@ class NaArm9Functions:
918
927
  None,
919
928
  )
920
929
 
930
+ DebugPrintSystemClock = Symbol(
931
+ [0x6EF8],
932
+ [0x2006EF8],
933
+ None,
934
+ "DebugPrintSystemClock",
935
+ "This function prints the debug message 'Now date & time' followed by the current date and time of the DS system clock. Called on boot.\n\nNo params.",
936
+ None,
937
+ )
938
+
939
+ GetSystemClock = Symbol(
940
+ [0x6F68],
941
+ [0x2006F68],
942
+ None,
943
+ "GetSystemClock",
944
+ "Gets information surrounding the DS system clock, such as the current month, day, etc.\n\nr0: system_clock pointer",
945
+ None,
946
+ )
947
+
948
+ SprintfSystemClock = Symbol(
949
+ [0x6FB8],
950
+ [0x2006FB8],
951
+ None,
952
+ "SprintfSystemClock",
953
+ "Calls sprintf to format a string using the fields of the DS system clock as 'year/month/day hour:minute:second'. Used in DebugPrintSystemClock.\n\nr0: system_clock pointer\nr1: str",
954
+ None,
955
+ )
956
+
921
957
  DataTransferInit = Symbol(
922
958
  [0x8168],
923
959
  [0x2008168],
@@ -4417,6 +4453,15 @@ class NaArm9Functions:
4417
4453
  None,
4418
4454
  )
4419
4455
 
4456
+ GetCharWidth = Symbol(
4457
+ [0x2654C],
4458
+ [0x202654C],
4459
+ None,
4460
+ "GetCharWidth",
4461
+ "Gets the width of a text char.\n\nr0: char\nreturn: char width",
4462
+ None,
4463
+ )
4464
+
4420
4465
  GetColorCodePaletteOffset = Symbol(
4421
4466
  [0x265C4],
4422
4467
  [0x20265C4],
@@ -4426,6 +4471,15 @@ class NaArm9Functions:
4426
4471
  None,
4427
4472
  )
4428
4473
 
4474
+ DrawChar = Symbol(
4475
+ [0x2676C],
4476
+ [0x202676C],
4477
+ None,
4478
+ "DrawChar",
4479
+ "Draws a single char within a window. This function is also responsible for drawing the shadows of a char.\n\nr0: window_id\nr1: x offset within window\nr2: y offset within window\nr3: char\nstack[0]: color offset\nreturn: char width",
4480
+ None,
4481
+ )
4482
+
4429
4483
  GetWindow = Symbol(
4430
4484
  [0x275F8],
4431
4485
  [0x20275F8],
@@ -4971,7 +5025,7 @@ class NaArm9Functions:
4971
5025
  [0x202D1F0],
4972
5026
  None,
4973
5027
  "CreateOptionsMenu",
4974
- "Creates a window containing a menu controlling game options. Also see struct options_menu.\n\nThis is used for the options and window options menus, among other things.\n\nIf window_params is NULL, OPTIONS_MENU_DEFAULT_WINDOW_PARAMS will be used. Otherwise, it will be copied onto the window, ignoring the update and contents fields. If window_params::width and/or window_params::height are 0, they will be computed based on the contained text.\n\nIf window_extra_info is non-NULL, it will be copied onto the window. Note that window_extra_info can only be NULL if there are no window_flags set that require extra info.\n\nr0: window_params\nr1: window_flags\nr2: window_extra_info pointer\nr3: options_menu_id_item struct array, terminated with an item with msg_id 0\nstack[0]: number of items\nstack[1]: ?\nreturn: window_id",
5028
+ "Creates a window containing a menu controlling game options. Also see struct options_menu.\n\nThis is used for the options and window options menus, among other things.\n\nIf window_params is NULL, OPTIONS_MENU_DEFAULT_WINDOW_PARAMS will be used. Otherwise, it will be copied onto the window, ignoring the update and contents fields. If window_params::width and/or window_params::height are 0, they will be computed based on the contained text.\n\nIf window_extra_info is non-NULL, it will be copied onto the window. Note that window_extra_info can only be NULL if there are no window_flags set that require extra info.\n\nr0: window_params\nr1: window_flags\nr2: window_extra_info pointer\nr3: options_menu_id_item struct array, terminated with an item with msg_id 0\nstack[0]: number of items\nstack[1]: option_states pointer\nreturn: window_id",
4975
5029
  None,
4976
5030
  )
4977
5031
 
@@ -5002,6 +5056,24 @@ class NaArm9Functions:
5002
5056
  None,
5003
5057
  )
5004
5058
 
5059
+ GetOptionsMenuStates = Symbol(
5060
+ [0x2D5B0],
5061
+ [0x202D5B0],
5062
+ None,
5063
+ "GetOptionsMenuStates",
5064
+ "Gets all the option menu states; used to determine what options the user has selected in a menu. Each option state corresponds a options_menu_id_item.\n\nr0: window_id\nr1: option_states pointer",
5065
+ None,
5066
+ )
5067
+
5068
+ GetOptionsMenuResult = Symbol(
5069
+ [0x2D5E4],
5070
+ [0x202D5E4],
5071
+ None,
5072
+ "GetOptionsMenuResult",
5073
+ "Returns whether or not the options menu was confirmed or canceled (e.g., by pressing the B button).\n\nr0: window_id\nreturn: bool",
5074
+ None,
5075
+ )
5076
+
5005
5077
  UpdateOptionsMenu = Symbol(
5006
5078
  [0x2D618],
5007
5079
  [0x202D618],
@@ -12751,6 +12823,15 @@ class NaLibsFunctions:
12751
12823
  None,
12752
12824
  )
12753
12825
 
12826
+ GetDsFirmwareUserSettings = Symbol(
12827
+ [0xF930],
12828
+ [0x207BA08],
12829
+ None,
12830
+ "GetDsFirmwareUserSettings",
12831
+ "Gets the user settings of the DS firmware.\n\nSee https://problemkaputt.de/gbatek.htm#dsfirmwareusersettings\n\nr0: user_settings pointer",
12832
+ None,
12833
+ )
12834
+
12754
12835
  CountLeadingZeros = Symbol(
12755
12836
  [0xF9B4],
12756
12837
  [0x207BA8C],
@@ -843,6 +843,15 @@ class NaItcmArm9Functions:
843
843
  None,
844
844
  )
845
845
 
846
+ GetDsFirmwareUserSettingsVeneer = Symbol(
847
+ None,
848
+ None,
849
+ None,
850
+ "GetDsFirmwareUserSettingsVeneer",
851
+ "Likely a linker-generated veneer for GetDsFirmwareUserSettings.\n\nSee https://developer.arm.com/documentation/dui0474/k/image-structure-and-generation/linker-generated-veneers/what-is-a-veneer-\n\nr0: user_settings pointer",
852
+ None,
853
+ )
854
+
846
855
  Rgb8ToRgb5 = Symbol(
847
856
  None,
848
857
  None,
@@ -906,6 +915,33 @@ class NaItcmArm9Functions:
906
915
  None,
907
916
  )
908
917
 
918
+ DebugPrintSystemClock = Symbol(
919
+ None,
920
+ None,
921
+ None,
922
+ "DebugPrintSystemClock",
923
+ "This function prints the debug message 'Now date & time' followed by the current date and time of the DS system clock. Called on boot.\n\nNo params.",
924
+ None,
925
+ )
926
+
927
+ GetSystemClock = Symbol(
928
+ None,
929
+ None,
930
+ None,
931
+ "GetSystemClock",
932
+ "Gets information surrounding the DS system clock, such as the current month, day, etc.\n\nr0: system_clock pointer",
933
+ None,
934
+ )
935
+
936
+ SprintfSystemClock = Symbol(
937
+ None,
938
+ None,
939
+ None,
940
+ "SprintfSystemClock",
941
+ "Calls sprintf to format a string using the fields of the DS system clock as 'year/month/day hour:minute:second'. Used in DebugPrintSystemClock.\n\nr0: system_clock pointer\nr1: str",
942
+ None,
943
+ )
944
+
909
945
  DataTransferInit = Symbol(
910
946
  None,
911
947
  None,
@@ -4371,6 +4407,15 @@ class NaItcmArm9Functions:
4371
4407
  None,
4372
4408
  )
4373
4409
 
4410
+ GetCharWidth = Symbol(
4411
+ None,
4412
+ None,
4413
+ None,
4414
+ "GetCharWidth",
4415
+ "Gets the width of a text char.\n\nr0: char\nreturn: char width",
4416
+ None,
4417
+ )
4418
+
4374
4419
  GetColorCodePaletteOffset = Symbol(
4375
4420
  None,
4376
4421
  None,
@@ -4380,6 +4425,15 @@ class NaItcmArm9Functions:
4380
4425
  None,
4381
4426
  )
4382
4427
 
4428
+ DrawChar = Symbol(
4429
+ None,
4430
+ None,
4431
+ None,
4432
+ "DrawChar",
4433
+ "Draws a single char within a window. This function is also responsible for drawing the shadows of a char.\n\nr0: window_id\nr1: x offset within window\nr2: y offset within window\nr3: char\nstack[0]: color offset\nreturn: char width",
4434
+ None,
4435
+ )
4436
+
4383
4437
  GetWindow = Symbol(
4384
4438
  None,
4385
4439
  None,
@@ -4925,7 +4979,7 @@ class NaItcmArm9Functions:
4925
4979
  None,
4926
4980
  None,
4927
4981
  "CreateOptionsMenu",
4928
- "Creates a window containing a menu controlling game options. Also see struct options_menu.\n\nThis is used for the options and window options menus, among other things.\n\nIf window_params is NULL, OPTIONS_MENU_DEFAULT_WINDOW_PARAMS will be used. Otherwise, it will be copied onto the window, ignoring the update and contents fields. If window_params::width and/or window_params::height are 0, they will be computed based on the contained text.\n\nIf window_extra_info is non-NULL, it will be copied onto the window. Note that window_extra_info can only be NULL if there are no window_flags set that require extra info.\n\nr0: window_params\nr1: window_flags\nr2: window_extra_info pointer\nr3: options_menu_id_item struct array, terminated with an item with msg_id 0\nstack[0]: number of items\nstack[1]: ?\nreturn: window_id",
4982
+ "Creates a window containing a menu controlling game options. Also see struct options_menu.\n\nThis is used for the options and window options menus, among other things.\n\nIf window_params is NULL, OPTIONS_MENU_DEFAULT_WINDOW_PARAMS will be used. Otherwise, it will be copied onto the window, ignoring the update and contents fields. If window_params::width and/or window_params::height are 0, they will be computed based on the contained text.\n\nIf window_extra_info is non-NULL, it will be copied onto the window. Note that window_extra_info can only be NULL if there are no window_flags set that require extra info.\n\nr0: window_params\nr1: window_flags\nr2: window_extra_info pointer\nr3: options_menu_id_item struct array, terminated with an item with msg_id 0\nstack[0]: number of items\nstack[1]: option_states pointer\nreturn: window_id",
4929
4983
  None,
4930
4984
  )
4931
4985
 
@@ -4956,6 +5010,24 @@ class NaItcmArm9Functions:
4956
5010
  None,
4957
5011
  )
4958
5012
 
5013
+ GetOptionsMenuStates = Symbol(
5014
+ None,
5015
+ None,
5016
+ None,
5017
+ "GetOptionsMenuStates",
5018
+ "Gets all the option menu states; used to determine what options the user has selected in a menu. Each option state corresponds a options_menu_id_item.\n\nr0: window_id\nr1: option_states pointer",
5019
+ None,
5020
+ )
5021
+
5022
+ GetOptionsMenuResult = Symbol(
5023
+ None,
5024
+ None,
5025
+ None,
5026
+ "GetOptionsMenuResult",
5027
+ "Returns whether or not the options menu was confirmed or canceled (e.g., by pressing the B button).\n\nr0: window_id\nreturn: bool",
5028
+ None,
5029
+ )
5030
+
4959
5031
  UpdateOptionsMenu = Symbol(
4960
5032
  None,
4961
5033
  None,
@@ -12510,6 +12582,15 @@ class NaItcmLibsFunctions:
12510
12582
  None,
12511
12583
  )
12512
12584
 
12585
+ GetDsFirmwareUserSettings = Symbol(
12586
+ None,
12587
+ None,
12588
+ None,
12589
+ "GetDsFirmwareUserSettings",
12590
+ "Gets the user settings of the DS firmware.\n\nSee https://problemkaputt.de/gbatek.htm#dsfirmwareusersettings\n\nr0: user_settings pointer",
12591
+ None,
12592
+ )
12593
+
12513
12594
  CountLeadingZeros = Symbol(
12514
12595
  None,
12515
12596
  None,
@@ -537,6 +537,11 @@ class Arm9FunctionsProtocol(Protocol):
537
537
  None,
538
538
  ]
539
539
 
540
+ GetDsFirmwareUserSettingsVeneer: Symbol[
541
+ Optional[list[int]],
542
+ None,
543
+ ]
544
+
540
545
  Rgb8ToRgb5: Symbol[
541
546
  Optional[list[int]],
542
547
  None,
@@ -572,6 +577,21 @@ class Arm9FunctionsProtocol(Protocol):
572
577
  None,
573
578
  ]
574
579
 
580
+ DebugPrintSystemClock: Symbol[
581
+ Optional[list[int]],
582
+ None,
583
+ ]
584
+
585
+ GetSystemClock: Symbol[
586
+ Optional[list[int]],
587
+ None,
588
+ ]
589
+
590
+ SprintfSystemClock: Symbol[
591
+ Optional[list[int]],
592
+ None,
593
+ ]
594
+
575
595
  DataTransferInit: Symbol[
576
596
  Optional[list[int]],
577
597
  None,
@@ -2497,11 +2517,21 @@ class Arm9FunctionsProtocol(Protocol):
2497
2517
  None,
2498
2518
  ]
2499
2519
 
2520
+ GetCharWidth: Symbol[
2521
+ Optional[list[int]],
2522
+ None,
2523
+ ]
2524
+
2500
2525
  GetColorCodePaletteOffset: Symbol[
2501
2526
  Optional[list[int]],
2502
2527
  None,
2503
2528
  ]
2504
2529
 
2530
+ DrawChar: Symbol[
2531
+ Optional[list[int]],
2532
+ None,
2533
+ ]
2534
+
2505
2535
  GetWindow: Symbol[
2506
2536
  Optional[list[int]],
2507
2537
  None,
@@ -2822,6 +2852,16 @@ class Arm9FunctionsProtocol(Protocol):
2822
2852
  None,
2823
2853
  ]
2824
2854
 
2855
+ GetOptionsMenuStates: Symbol[
2856
+ Optional[list[int]],
2857
+ None,
2858
+ ]
2859
+
2860
+ GetOptionsMenuResult: Symbol[
2861
+ Optional[list[int]],
2862
+ None,
2863
+ ]
2864
+
2825
2865
  UpdateOptionsMenu: Symbol[
2826
2866
  Optional[list[int]],
2827
2867
  None,
@@ -8098,6 +8138,11 @@ class LibsFunctionsProtocol(Protocol):
8098
8138
  None,
8099
8139
  ]
8100
8140
 
8141
+ GetDsFirmwareUserSettings: Symbol[
8142
+ Optional[list[int]],
8143
+ None,
8144
+ ]
8145
+
8101
8146
  CountLeadingZeros: Symbol[
8102
8147
  Optional[list[int]],
8103
8148
  None,
@@ -1,18 +1,18 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pmdsky-debug-py
3
- Version: 10.0.47
3
+ Version: 10.0.48
4
4
  Summary: pmdsky-debug symbols for Python.
5
5
  Author-email: Marco 'Capypara' Köpcke <hello@capypara.de>
6
6
  License: MIT
7
7
  Project-URL: repository, https://github.com/SkyTemple/pmdsky-debug-py
8
8
  Classifier: Development Status :: 4 - Beta
9
9
  Classifier: License :: OSI Approved :: MIT License
10
- Classifier: Programming Language :: Python :: 3.9
11
10
  Classifier: Programming Language :: Python :: 3.10
12
11
  Classifier: Programming Language :: Python :: 3.11
13
12
  Classifier: Programming Language :: Python :: 3.12
13
+ Classifier: Programming Language :: Python :: 3.13
14
14
  Classifier: Programming Language :: Python
15
- Requires-Python: >=3.9
15
+ Requires-Python: >=3.10
16
16
  Description-Content-Type: text/x-rst
17
17
 
18
18
  pmdsky-debug-py
@@ -0,0 +1,14 @@
1
+ pmdsky_debug_py/__init__.py,sha256=xvXjdxEqeoQaaS6ssZYVI9jARzv5M4q6FNwA3Z6fOw4,1831
2
+ pmdsky_debug_py/_release.py,sha256=Z3wigXibl1zInVvUH5WInbMQ8xmwiMghbhUurmrRgOU,31
3
+ pmdsky_debug_py/eu.py,sha256=LugklOhOlYSVj1B8gEEXMUmkAYMYeENwKU5V98YNZHE,1123222
4
+ pmdsky_debug_py/eu_itcm.py,sha256=14kMVN76b0QKcTZZ6ACG2h2dkT1DxI0KPMKgZF75Ny0,1072766
5
+ pmdsky_debug_py/jp.py,sha256=Mq1ElrJwR8i4wTLWiHwbW8fcS0bgqi6PbNuIC1pAf0I,1119633
6
+ pmdsky_debug_py/jp_itcm.py,sha256=ZdSAdxwCL1aKeuFwF72dT8uS9W-9Rg8dQyEm-IYs1Dc,1072756
7
+ pmdsky_debug_py/na.py,sha256=i9aCcVx6i1a9xwZMG4MYbIOpIRUoBvO0iEdGof6NArI,1124166
8
+ pmdsky_debug_py/na_itcm.py,sha256=Wm4Im-mNWSzYRINYNxloDjCjbgaql9HKJHYaJseV_wM,1072766
9
+ pmdsky_debug_py/protocol.py,sha256=DFC88Tgk12tK77TgfKtkOmAxsta5jKgDiYegW2V4hqg,330323
10
+ pmdsky_debug_py/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
+ pmdsky_debug_py-10.0.48.dist-info/METADATA,sha256=d5nSHNdXSZInErEVv5ypBVcWsEevgmL76jZ41ExJ_ys,1376
12
+ pmdsky_debug_py-10.0.48.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
13
+ pmdsky_debug_py-10.0.48.dist-info/top_level.txt,sha256=cqvpcJbud2s8IyBAc1MfCySwniko_6qO5LWSSxNIoXI,16
14
+ pmdsky_debug_py-10.0.48.dist-info/RECORD,,
@@ -1,14 +0,0 @@
1
- pmdsky_debug_py/__init__.py,sha256=xvXjdxEqeoQaaS6ssZYVI9jARzv5M4q6FNwA3Z6fOw4,1831
2
- pmdsky_debug_py/_release.py,sha256=O22nQ0OJShq0SI6Vl1pzC7roH_igvXnihkXZAODWhdM,31
3
- pmdsky_debug_py/eu.py,sha256=q8Rb55CweDOVVLFm28BCGW8VaYdVBxdA8FKU5LWVBw4,1120423
4
- pmdsky_debug_py/eu_itcm.py,sha256=kUvGq_fMaOSA5PipJUiF8c-JjLrNwtGI99BVUv5XGoY,1070070
5
- pmdsky_debug_py/jp.py,sha256=RUbr9Rbo5XU3FErtFMr0FfOcMS1ND2UTJLFSrg_LXIQ,1116834
6
- pmdsky_debug_py/jp_itcm.py,sha256=84yDsGwXwR-HyiLvDVj4Vhd4HQ4Ie4Op2YlTtZSM_P8,1070060
7
- pmdsky_debug_py/na.py,sha256=cZ9Q39m7TFYEhI2wSFGcNmkm25U0BPfAhJrdV8afLYY,1121367
8
- pmdsky_debug_py/na_itcm.py,sha256=phF7ibVVNsb2NNJfBsrmICPyStQn4MhFjjvIbAGaz3U,1070070
9
- pmdsky_debug_py/protocol.py,sha256=UGuZd9vsuEL8FKU8yxvhVDAlBDejHmek8oBTIRKQtCU,329578
10
- pmdsky_debug_py/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- pmdsky_debug_py-10.0.47.dist-info/METADATA,sha256=LVIEtywhl9WQIaq0fA2K7kkRO2K6VE7trJqqi5FBdF8,1374
12
- pmdsky_debug_py-10.0.47.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
13
- pmdsky_debug_py-10.0.47.dist-info/top_level.txt,sha256=cqvpcJbud2s8IyBAc1MfCySwniko_6qO5LWSSxNIoXI,16
14
- pmdsky_debug_py-10.0.47.dist-info/RECORD,,