I'm setting up save points, and that a bedroll or tent must be used either there or on the overworld map. The trouble comes when the item permissions when approaching or stepping on the save point.
Maybe what I've punched up would be helpful in diagnosing what the crap went awry. Having it recognize map types is going without a hitch, using this script (my apologies for the lack comments).
Spoiler
class Game_Map
alias steak_wants_map_types_declared setup
def setup(map_id)
steak_wants_map_types_declared(map_id)
$tell_steak_about_the_map = ["nope", "nothing"]
@map.note[/<(Overworld|Level|Dungeon|SaveRoom|Cutscene), (Safe|Unsafe)>/]
$tell_steak_about_the_map[0] = $1
$tell_steak_about_the_map[1] = $2
end
end
alias steak_wants_map_types_declared setup
def setup(map_id)
steak_wants_map_types_declared(map_id)
$tell_steak_about_the_map = ["nope", "nothing"]
@map.note[/<(Overworld|Level|Dungeon|SaveRoom|Cutscene), (Safe|Unsafe)>/]
$tell_steak_about_the_map[0] = $1
$tell_steak_about_the_map[1] = $2
end
end
Now this was where the trouble came: setting up the save point. I placed events around the save point with the script, so that the bedroll and tent couldn't be used off the save point:
$game_items[33].occasion = 3
$game_items[34].occasion = 3
And this on the save point itself, so that they could be:
$game_items[33].occasion = 2
$game_items[34].occasion = 2
EDIT: I should specify, both sets of lines were set in common events, that were called for by a step-on triggered event.
And while these lines were there, it threw me this error.
I'm confused; the exact same lines worked fine in the common parallel process. Does anybody know what went awry?

