- 7
- Posts
- 10
- Years
- Seen Jun 15, 2014
My hack is going quite well. However, when I create a wild Pokemon battle script, compile it, then try it in my game, my game will alwats crash :/
Here are some of the scripts I've tried:
1. This one from Foullump's YouTube tutorial:
#org $script
lock
faceplayer
cry 0xA1 79
#raw 0x33
pause 0x30
message $cry
$cry 1 = Slowpoke!
boxset 6
wildbattle 79 50 0
pause 0x70
fadescreen 1
removesprite 0x800F
setflag 0x1211
pause 0x10
fadescreen 0
release
end
2. This one from diegoisawesome's tutorial:
#dynamic 0x800000
#org @start
lock
faceplayer
msgbox @1 0x6
cry 0x6 0x0
wildbattle 0x6 0x1E 0x8B
fadescreen 0x1
fadescreen 0x0
hidesprite 0x800F
setflag 0x200
release
end
#org @1
= CHARIZARD: Raaarrgghh!
(I think I should mention that my compile button in XSE (gear icon) is greyed out so I couldn't compile this one with XSE... Any suggestions on this?)
3. I used PKSV-UI to generate a script for me, but after I compiled it with the same program and tried it, my game crashed.
So... if someone could provide me with a sample script that will work in Pokemon Emerald, that would be awesome!
Here are some of the scripts I've tried:
1. This one from Foullump's YouTube tutorial:
#org $script
lock
faceplayer
cry 0xA1 79
#raw 0x33
pause 0x30
message $cry
$cry 1 = Slowpoke!
boxset 6
wildbattle 79 50 0
pause 0x70
fadescreen 1
removesprite 0x800F
setflag 0x1211
pause 0x10
fadescreen 0
release
end
2. This one from diegoisawesome's tutorial:
#dynamic 0x800000
#org @start
lock
faceplayer
msgbox @1 0x6
cry 0x6 0x0
wildbattle 0x6 0x1E 0x8B
fadescreen 0x1
fadescreen 0x0
hidesprite 0x800F
setflag 0x200
release
end
#org @1
= CHARIZARD: Raaarrgghh!
(I think I should mention that my compile button in XSE (gear icon) is greyed out so I couldn't compile this one with XSE... Any suggestions on this?)
3. I used PKSV-UI to generate a script for me, but after I compiled it with the same program and tried it, my game crashed.
So... if someone could provide me with a sample script that will work in Pokemon Emerald, that would be awesome!