Haha yeah, thanks. Though the actual code itself doesn't work unfortunately.
At least, as this:
#dynamic 0x800000
#include stditems.rbh
#include stdpoke.rbh
'---------------
#org @start
setwildbattle PKMN_BULBASAUR 0x5 ITEM_NONE
writebytetooffset 0x0 0x2022B4C
writebytetooffset 0x0 0x2022B4D
writebytetooffset 0x0 0x2022B4E
writebytetooffset 0x0 0x2022B4F
callasm 0x8003a0
release
end
I copied the contents of the .bin file at 8003a0, but when this script activates the game just freezes.
At least, as this:
#dynamic 0x800000
#include stditems.rbh
#include stdpoke.rbh
'---------------
#org @start
setwildbattle PKMN_BULBASAUR 0x5 ITEM_NONE
writebytetooffset 0x0 0x2022B4C
writebytetooffset 0x0 0x2022B4D
writebytetooffset 0x0 0x2022B4E
writebytetooffset 0x0 0x2022B4F
callasm 0x8003a0
release
end
I copied the contents of the .bin file at 8003a0, but when this script activates the game just freezes.