how exactly does it work, then?
in his, he just basically calls the Script Pusher (is that what mov pc, r2 does? load the script pusher into pc, which then executes it?) loads the offset of the battle script pointer (in RAM) into r1, loads the offset of the Weakness Policy Battle Script into r0, storing r0 into r1. he then just overwrites 0x2023D68 (held_item) with the value from the held item in battle_data_t, which was previously loaded into r7.
so, um
i guess i'm just asking how the battle script pusher works, then
like, is r1 sort of then a parameter or...?
EDIT: well, obviously, but i guess um
idk what i'm trying to say
does the battle script pusher just execute what is inside the battle script pointer?
EDIT2: ok, i've been screwing around with it for like years with nothing coming to fruition. i'm tempted to make my battle script something more complicated than simply "6A 00 3C" to let it handle a few more things and delete the portions of my ASM that handle the same things, but as long as i can't load the battle script it will be out-of-reach atm