Change Event Graphic

So I'm looking to change an event's graphic according to a variable so far I have the variable, conditional branch, and script set up and working with two three limitations.

Script: $game_map.events[id].set_graphic("character_name", character_index)
Source: https://forums.rpgmakerweb.com/index.php?threads/script-call-collection-for-vxace.25759/#entry247427

The limitations I've encountered are:
1. I need to make this change from a common event called on a different map to the effected event.
2. If I change to a new Event Page the graphic is obviously not remembered. (I'd rather not store this information in variables since this is for my in-game enemies and RPG's have a lot of those...)
Edit: 3. As it turns out, setting the graphic via the above command(or move route) then changing to another event page and back will reset the changed graphic to default.

Does anyone know of a script that can do something like this?
$game_map.events[Event_Map, Event_id, Event_Page].set_graphic("character_name", character_index)
such a command does not exist, because at any given time only the current map and the current map's events exist.

at minimum you would need an entire script to create that data and store it.
however I( think it's better to take a step back and exp0lain to us how your enemies are supposed to work - there are several alternative ways to handle this.
[Solved] Just found a work around using these scripts and conditional branches.
$game_self_switches[[@map_id, @event_id, "E"]] = true
$game_self_switches[[@map_id, @event_id, "E"]] = false
$game_self_switches[[@map_id, @event_id, "E"]]
!$game_self_switches[[@map_id, @event_id, "E"]]

If you still wanted to know, Im creating a randomiser(that activates when sleeping in a bed) that chooses between 3 events to activate self-switch A(spawn a monster in one of 3 predefined spots), once one of the 3 events is chosen the randomiser rolls again to choose the variant of monster, so its graphic and battle process(mostly cosmetic but sometimes a rare spawn), after monster is spawned player can move to wilderness and find those monsters, the monsters when approched will auto switch between self-switch A & B to approch player then attack(hence why I needed to graphic to effect multiple pages), once defeated monster will not respawn until player sleeps in town again.

My game relies heavily on activating self-switches of events that arn't on the current map so for you to say that you can't do that? I guess you learn something new every day.

Edit: Forgot to mention how I was activating switches on other maps,
$game_self_switches[[MapID, EventID, 'A']] = true
Edit2: Oh wait... Well I guess the one I was already using and the one that I looked around for to solve the problem ended up being different variants of the same one.
the switches exist outside the map, but not the events. because the switches are stored differently than the events itself - and the commands you found do not change anything on the events themselves, only give more conditions to use.

that said, I suggest you search for a script called "self data suite", with your added descriptions I think that would be right up your alley - it creates (among other things) self variables for events, and you could store which event is supposed to be what in one of those self-variables.
My enemies are all parrellel processes, each has 3 event pages, first being empty, next two being roaming and pursuing on Self-Switch A&B.
So to solve the problem while generating them I set new switches E&F, etc. for each randomiser result, then on the event's A&B I set conditional branches to set graphic and battle process according to EorF = true. Since It's a parrellel process the changes are applied automatically.
So despite adding "infinite" variants of my spawned monster the event retained it's 3 pages using only vanilla VXA functions.

Original thread: https://forums.rpgmakerweb.com/threads/change-event-graphic.167972/