Figured out how to use keys.
Each map needs to have this.
map.small_keys_savegame_variable = ("b23")
end
variable can change.
Just to make it clear, this is the way for people who use the small key scripts of Zelda Mystery of Solarus DX. The engine itself does not read this map.small_keys_savegame_variable value.