-
-
Notifications
You must be signed in to change notification settings - Fork 14
API Changelog
SpiredMoth edited this page Jan 23, 2020
·
22 revisions
This page lists scripting API changes categorized by their associated PKSM release.
If you are trying to develop a script and need/want access to functions listed under Nightly
, either build PKSM yourself or join our Discord and ping piepie62#3412 with an upload of your current version as proof that you are actually developing.
These changes have been made to PKSM (as of the latest commits) but have not yet appeared in a public release
- Nothing here ...yet
- Added:
bank_get_pkx
- Added:
bank_get_size
- Added:
bank_select
- Added:
sav_check_value
- Added:
sav_get_string
- Added:
sav_inject_wcx
- Added:
sav_wcx_free_slot
- Added:
strcasecmp
to <string.h> - Added:
strncasecmp
to <string.h> - Added: function pointers should now work
- Changed:
argv[0]
is now a proper pointer to save data instead of a string containing the integer value of said pointer - Changed:
cfg_default_day
,cfg_default_month
, andcfg_default_year
now return current date instead of 0 if config is set to 0 - Changed:
gui_warn
andgui_choice
now take only 1 string argument instead of 2 - Changed:
pkx_encrypt
andpkx_decrypt
now have an isParty argument - Changed: some enum values removed from
sav_get_max
- Fixed:
party_inject_pkx
now updates the dex in LGPE - Removed:
g4_strlen
- Removed:
string_to_gen_4
- Added:
sav_get_value
- Added:
sav_get_max
- Added:
sav_set_string
- Added:
delete_directory
- Added:
pkx_box_size
- Added:
pkx_party_size
- Added:
pkx_generate
- Added:
pkx_is_valid
- Added:
pkx_set_value
- Added:
pkx_get_value
- Added:
string_to_gen_4
- Added:
g4_strlen
- Added:
enum PKX_FIELD
- Added:
enum SAV_FIELD
- Added:
enum SAV_MAX_FIELD
- Added:
enum Pouch
- Fixed:
gui_keyboard
now properly accounts for size difference between UTF-8 and UFT-16 - Fixed:
sav_inject_pkx
andparty_inject_pkx
now update dex - Changed:
sav_inject_pkx
now requires a newint doTradeEdits
argument - Changed:
gui_numpad
now uses anunsigned int
forout
- Changed:
cfg_default_tid
andcfg_default_sid
now return anint
rather than anunsigned int
- Added:
party_inject_pkx
- Added:
pkx_encrypt
- Added:
pkx_decrypt
- Added:
utf16_to_utf8
- Added:
utf8_to_utf16
- Changed:
gui_boxes
now requires a newint doCrypt
argument - Removed:
sav_inject_ekx
- Added:
i18n_species
- Fixed:
gui_numpad
now returns the correct number when entering the max number of requested digits
- Added:
gui_boxes
- Added:
sav_get_pkx
- Added:
bank_inject_pkx
- Added:
party_get_pkx
- Added:
net_ip
- Added:
net_tcp_receiver
- Added:
net_tcp_sender
- Added:
net_udp_receiver
- Added: C language interpreter (picoC)
- Added:
gui_choice
- Added:
gui_warn
- Added:
gui_menu_6x5
- Added:
gui_menu_20x2
- Added:
gui_keyboard
- Added:
gui_numpad
- Added:
sav_sbo
- Added:
sav_gbo
- Added:
sav_box_decrypt
- Added:
sav_box_encrypt
- Added:
sav_inject_pkx
- Added:
sav_inject_ekx
- Added:
current_directory
- Added:
read_directory
- Added:
cfg_default_ot
- Added:
cfg_default_tid
- Added:
cfg_default_sid
- Added:
cfg_default_day
- Added:
cfg_default_month
- Added:
cfg_default_year
- Added:
struct pkx
- Added:
enum Generation
- Added:
struct directory
Enjoy using PKSM? Consider supporting FlagBrew on Patreon