Giratina the master
A Member looking for ROM help
- 94
- Posts
- 16
- Years
- Seen Feb 8, 2010
Why does when i make a trade i says unknown word givepokemon
There is. Check under the Specials section.Uhh, is there no way to get an earthquake in FR/LG?
//---------------
#org 0x8036F7
checkflag 0x8C0
if 0x1 goto 0x8803731
msgbox 0x880373A MSG_NORMAL //"OSCIZOR!"
playsong 0x156
applymovement 0x14 0x8803734 <---- Is the event id from A.map turned into hex? This is probably why Oak isnt moving.
waitmovement 0x0
applymovement 0x14 0x8803736 <---- same here
pause 0x30
trainerbattle 0x0 0x1FF 0x0 @2 @ 3
msgbox 0x8803746 MSG_NORMAL //"Hold on OSCIZOR!\pI know you are\n..."
playsong 0x155 0x0
waitmovement 0x0
fadesong 0x12C
release
end
//---------------
#org 0x803731
release
end
//---------
// Strings
//---------
#org 0x80373A
= OSCIZOR!
#org 0x803746
= Hold on OSCIZOR!\pI know you are\ntrying to go onto battle this\lman but you see..I can't let you.\pThe reason being is\nthat you were not supposed to\l get this far and fight him...\pMy grandson was supposed to.\pAnd if you beat him...\lyou...\nyou will just ruin everything!\pWHY ARE YOU TRYING\nTO RUIN EVERYTHING!
//-----------
// Movements
//-----------
#org 0x803734
#raw 0x62 //Exclamation Mark (!)
#raw 0xFE <-- This is end of movements
#org 0x803736
#raw 0x52 //Jump in Place (Facing Down)
#raw 0x1D //Step Down (Fast)
#raw 0x1D //Step Down (Fast)
#raw 0xFE
'---------------
#org 0x71AC40
lock
faceplayer
setvar 0x8004 0x19
special2 LASTRESULT 0x17C
compare LASTRESULT 0x1
if 0x1 goto 0x871AD70
msgbox 0x871AD90 MSG_NORMAL '"Sorry, you're not allowed."
release
end
'---------------
#org 0x71AD70
applymovement 0x5 0x871ADA0
'---------
' Strings
'---------
#org 0x71AD90
= Sorry, you're not allowed.
'-----------
' Movements
'-----------
#org 0x71ADA0
#raw 0xE8 'movE8
#raw 0x0 'Face Down
#raw 0xD5 'movD5
#raw 0xE0 'movE0
#raw 0xE0 'movE0
#raw 0xE3 'movE3
#raw 0xEB 'movEB
#raw 0xD9 'movD9
#raw 0xD8 'movD8
#raw 0xAD 'movAD
Ok, guys. I've got a problem.
I've made a script so that if I don't have a certain pokemon(for this example, Pikachu), the guy will not move aside for me. I've used a checkpokemon script. However, if I don't have a Pikachu, the "Not allowed" message comes fine. However, when I DO have the Pikachu, he doesn't follow the applymovement, and top of that, the GAME FREEZES!
Here is the Code, please proof-read it for me; the last time I did anything related to hacking was 2007 and only for like a month; I've forgotten everything I knew and now have to relearn everything to also match with the new tools and the updates everyone is releasing:
Code:'--------------- #org 0x71AC40 lock faceplayer setvar 0x8004 0x19 special2 LASTRESULT 0x17C compare LASTRESULT 0x1 if 0x1 goto 0x871AD70 msgbox 0x871AD90 MSG_NORMAL '"Sorry, you're not allowed." release end '--------------- #org 0x71AD70 applymovement 0x5 0x871ADA0 '--------- ' Strings '--------- #org 0x71AD90 = Sorry, you're not allowed. '----------- ' Movements '----------- #org 0x71ADA0 #raw 0xE8 'movE8 #raw 0x0 'Face Down #raw 0xD5 'movD5 #raw 0xE0 'movE0 #raw 0xE0 'movE0 #raw 0xE3 'movE3 #raw 0xEB 'movEB #raw 0xD9 'movD9 #raw 0xD8 'movD8 #raw 0xAD 'movAD
Try it now. Changes are in bold.Ok, guys. I've got a problem.
I've made a script so that if I don't have a certain pokemon(for this example, Pikachu), the guy will not move aside for me. I've used a checkpokemon script. However, if I don't have a Pikachu, the "Not allowed" message comes fine. However, when I DO have the Pikachu, he doesn't follow the applymovement, and top of that, the GAME FREEZES!
Here is the Code, please proof-read it for me; the last time I did anything related to hacking was 2007 and only for like a month; I've forgotten everything I knew and now have to relearn everything to also match with the new tools and the updates everyone is releasing:
Code:'--------------- #org 0x71AC40 lock faceplayer setvar 0x8004 0x19 special2 LASTRESULT 0x17C compare LASTRESULT 0x1 if 0x1 goto 0x871AD70 msgbox 0x871AD90 MSG_NORMAL '"Sorry, you're not allowed." release end '--------------- #org 0x71AD70 applymovement 0x5 0x871ADA0 [B]waitmovement 0x5 end[/B] '--------- ' Strings '--------- #org 0x71AD90 = Sorry, you're not allowed. '----------- ' Movements '----------- #org 0x71ADA0 #raw 0xE8 'movE8 #raw 0x0 'Face Down #raw 0xD5 'movD5 #raw 0xE0 'movE0 #raw 0xE0 'movE0 #raw 0xE3 'movE3 #raw 0xEB 'movEB #raw 0xD9 'movD9 #raw 0xD8 'movD8 #raw 0xAD 'movAD [B]#raw 0xFE[/B]
'---------------
#org 0x1F0FE0
special 0x136
msgbox 0x81F0FF0 MSG_NORMAL '"What!? What was that?"
release
end
'---------
' Strings
'---------
#org 0x1F0FF0
= What!? What was that?
#dynamic 0x2FB2F7
#org @start
lock
faceplayer
checkflag 0x200
if 0x1 goto @done
setflag 0x200
applymovement 0x01 @move
waitmovement 0x0
msgbox @monologue 0x6
applymovement 0xFF @move2
waitmovement 0x0
applymovement 0x01 @move3
waitmovement 0x00
hidesprite 0x01
release
end
#org @done
release
end
#org @move
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x00
#raw 0x11
#raw 0x03
#raw 0x13
#raw 0x01
#raw 0xFE
#org @monologue
= I heard from one of my minors that\nsomeone had been interfering, and\lI guess, no doubt, that he or she\lwas heading up the mountain,\ltrying to get into the next city.\pI figured I would try to head them\noff by running to the peak.\pBut I never imagined that he or\nshe would be so young.\pAnd seeing as this would not be a\nfair fight, I will let you go this\ltime.\pBut we shall meet again.
#org @move2
#raw 0x62
#raw 0x50
#raw 0xFE
#org @move3
#raw 0x1E
#raw 0x1E
#raw 0x60
#raw 0xFE
This is meant to be a level script based on what you said, right? If it is, try this:Seeing as this script has been giving me a nightmare for the last two days, would someone like to offer any assistance? ;D
Before I go and show it off, here's what I'm *trying* to make happen:
Player comes through warp, and as soon as they step out of the cave, he is noticed by the leader of an evil organization. The leader walks over to him, talks to him, and then scares the player out of the way, and he disappears through the warp the player just came through.
Here's the script: (I'm sure there's plenty wrong with it.)
Any kind of help would be more than magnificent. :DCode:#dynamic 0x2FB2F7 #org @start lock faceplayer checkflag 0x200 if 0x1 goto @done setflag 0x200 applymovement 0x01 @move waitmovement 0x0 msgbox @monologue 0x6 applymovement 0xFF @move2 waitmovement 0x0 applymovement 0x01 @move3 waitmovement 0x00 hidesprite 0x01 release end #org @done release end #org @move #raw 0x13 #raw 0x13 #raw 0x13 #raw 0x13 #raw 0x13 #raw 0x13 #raw 0x00 #raw 0x11 #raw 0x03 #raw 0x13 #raw 0x01 #raw 0xFE #org @monologue = I heard from one of my minors that\nsomeone had been interfering, and\lI guess, no doubt, that he or she\lwas heading up the mountain,\ltrying to get into the next city.\pI figured I would try to head them\noff by running to the peak.\pBut I never imagined that he or\nshe would be so young.\pAnd seeing as this would not be a\nfair fight, I will let you go this\ltime.\pBut we shall meet again. #org @move2 #raw 0x62 #raw 0x50 #raw 0xFE #org @move3 #raw 0x1E #raw 0x1E #raw 0x60 #raw 0xFE
#dynamic 0x2FB2F7
#org @start
lock
faceplayer
setvar 0x(Variable) 0x1
setflag 0x200
applymovement 0x01 @move
waitmovement 0x0
msgbox @monologue 0x6
applymovement 0xFF @move2
waitmovement 0x0
applymovement 0x01 @move3
waitmovement 0x00
hidesprite 0x01
release
end
#org @move
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x00
#raw 0x11
#raw 0x03
#raw 0x13
#raw 0x01
#raw 0xFE
#org @monologue
= I heard from one of my minors that\nsomeone had been interfering, and\lI guess, no doubt, that he or she\lwas heading up the mountain,\ltrying to get into the next city.\pI figured I would try to head them\noff by running to the peak.\pBut I never imagined that he or\nshe would be so young.\pAnd seeing as this would not be a\nfair fight, I will let you go this\ltime.\pBut we shall meet again.
#org @move2
#raw 0x62
#raw 0x50
#raw 0xFE
#org @move3
#raw 0x1E
#raw 0x1E
#raw 0x60
#raw 0xFE