The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.

Reply
Click here to go to the first staff post in this thread.  
Thread Tools
  #851    
Old April 13th, 2013 (06:30 PM).
diegoisawesome's Avatar
diegoisawesome
Please understand
Community Supporter
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 17
Gender: Male
Nature: Quirky
Quote:
Originally Posted by PiplupGHacker View Post
Tried this too, still nothing. What irks me is I've been able to successfully compile and insert something into the script before. No idea if this makes any difference but here's that script:

Spoiler:

'-----------------------
#org 0x16582F
msgbox 0x817D80D '"Technology is incredible!\pYou can ..."
callstd 0x2
special 0x16F
end


'---------
' Strings
'---------
#org 0x17D80D
= Technology is incredible!\pYou can now emulate PS2\nand GBA games in HD on your PC!


(If you noticed, I just made it so that he activates the event to give you the National Dex, and changed his lines for lols. He works totally fine) The only difference I can see here is that when I compile that the windows very small, but when I compile the givepokemon script, I get a box saying "Dynamic offsets: @1 @2 @3 @4 @5 @6 @done @name @start" with what seems to be a hex address next to each and a copy button to copy the addresses to the clipboard :/
You need to copy the hex address next to @start and paste that into Advance-Map where it says "Script offset", then save.
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Reply With Quote
  #852    
Old April 13th, 2013 (06:41 PM). Edited April 13th, 2013 by PiplupGHacker.
PiplupGHacker's Avatar
PiplupGHacker
Keeping the dream alive.
 
Join Date: Mar 2007
Location: New Lenox, IL
Age: 17
Gender: Female
Nature: Lonely
Quote:
Originally Posted by diegoisawesome View Post
You need to copy the hex address next to @start and paste that into Advance-Map where it says "Script offset", then save.
(insert patrick I love you here, image was enormous so I just removed it)

Once again, I apologize for the idiocy. Had a feeling it was something stupid like that ._.
Thanks soo much though xD.

EDIT: Welp. Moar problems. Textbox won't open at all when I talked to him. This happened at first when I did the other one too, so I just assigned the script to someone else. Gonna try that but, thought I'd say that oddly enough after compiling the script shows up like this(could just be that it automatically shorthanded it or something):
Spoiler:

'-----------------------
#org 0xB339A5
checkflag 0x828
if 0x1 goto 0x8B33A06
msgbox 0x8B33A0F '"Hello.\nSorry to trouble you.\nI ca..."
compare LASTRESULT 0x1
if 0x1 goto 0x8B339C8
msgbox 0x8B33A70 '"That's okay.\pI'm sure someone else..."
release
end

'-----------------------
#org 0xB33A06
msgbox 0x8B33B18 '"Are you taking good care\nof Axew?"
release
end

'-----------------------
#org 0xB339C8
givepokemon 0x262 0x12 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox 0x8B33AA4 '" blackkfrrYou received an Axew!"
waitfanfare
closeonkeypress
setflag 0x828
msgbox 0x8B33AC5 '" blackkfrrWould you like to give a\..."
compare LASTRESULT 0x1
if 0x1 call 0x8B339FF
msgbox 0x8B33AFC '"Please take care of\nAxew."
release
end

'-----------------------
#org 0xB339FF
call 0x81A74EB
return

'-----------------------
#org 0x1A74EB
fadescreen 0x1
special 0x9E
waitstate
return


'---------
' Strings
'---------
#org 0xB33A0F
= Hello.\nSorry to trouble you.\nI can't take care\nof my Axew.\pCan you take care of\nit for me?

#org 0xB33A70
= That's okay.\pI'm sure someone else will\ntake it.

#org 0xB33B18
= Are you taking good care\nof Axew?

#org 0xB33AA4
= blackkfrrYou received an Axew!

#org 0xB33AC5
= blackkfrrWould you like to give a\nnickname to Axew?

#org 0xB33AFC
= Please take care of\nAxew.


EDIT2: Put it to girl next to the gym who talks about Clefairys, same thing happens. Error in my script?
__________________
Click above for my collab YouTube Let's Play channel!
Featuring games like Pokemon SoulSilver, Mystery Dungeon, and Persona 3: FES!
Reply With Quote
  #853    
Old April 17th, 2013 (06:09 AM).
GiorgosMih
Unhatched Egg
 
Join Date: Apr 2013
Gender: Male
Is there any script that makes a sprite follow the player?
Reply With Quote
  #854    
Old April 17th, 2013 (02:36 PM).
Shadowraze's Avatar
Shadowraze
Love and Peace
 
Join Date: Apr 2013
Location: Philippines
Age: 15
Gender: Male
Nature: Adamant
Send a message via Skype™ to Shadowraze
Quote:
Originally Posted by GiorgosMih View Post
Is there any script that makes a sprite follow the player?
Yes, you can just use an applymovement script. Make the script just like the players applymovement.

Though if you're talking about following you like in Pokemon Yellow then no. I don't think you can.
__________________
Reply With Quote
  #855    
Old April 18th, 2013 (12:26 AM).
Satoshi Ookami's Avatar
Satoshi Ookami
Memento Mori
Community Supporter
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 22
Gender: Male
Nature: Calm
Quote:
Originally Posted by Shadowraze View Post
Though if you're talking about following you like in Pokemon Yellow then no. I don't think you can.
Jambo did it... he never finished the routine completely yet, though...
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
Reply With Quote
  #856    
Old April 18th, 2013 (01:39 AM).
Shadowraze's Avatar
Shadowraze
Love and Peace
 
Join Date: Apr 2013
Location: Philippines
Age: 15
Gender: Male
Nature: Adamant
Send a message via Skype™ to Shadowraze
Quote:
Originally Posted by Ash493 View Post
Jambo did it... he never finished the routine completely yet, though...
I know that. But I do think he said something that completing the routine is almost near impossible. :3
__________________
Reply With Quote
  #857    
Old April 18th, 2013 (09:12 AM).
GiorgosMih
Unhatched Egg
 
Join Date: Apr 2013
Gender: Male
Quote:
Originally Posted by Shadowraze View Post
I know that. But I do think he said something that completing the routine is almost near impossible. :3
Well, I meant following like in Pokemon Yellow. I know it is almost impossible, but there should be a way. I mean if it was possible in Yellow, then it should be also in FR. Anyway, is there any way I can see that Jambo's script?
Reply With Quote
  #858    
Old April 18th, 2013 (09:17 AM).
Banjora Marxvile's Avatar
Banjora Marxvile
Oui Oui Si Si Ja Ja Da Da
 
Join Date: May 2008
Age: 20
Gender: Male
Nature: Lonely
Quote:
Originally Posted by GiorgosMih View Post
Well, I meant following like in Pokemon Yellow. I know it is almost impossible, but there should be a way. I mean if it was possible in Yellow, then it should be also in FR. Anyway, is there any way I can see that Jambo's script?
Incorrect, just because something was in a past game doesn't mean it's possible in other games. It kind of is possible, but it's really buggy, and Jambo as far as I know never released his version of the script to the public as it was buggy.
__________________

Man of Steel
He harbors no shame
Got cut a raw deal
But he holds no blame
Gone and forgot to feel
Numb for pretentious pain
As he spins the wheel
There's no loss nor no gain...


Nerves o
f Steel
He must remain
Even if it kills
To remember my name
A view to a thrill
Like Campari and Champagne
I'm on the rocks
Please tell me, What Is My Name?

Reply With Quote
  #859    
Old April 18th, 2013 (09:43 AM).
GiorgosMih
Unhatched Egg
 
Join Date: Apr 2013
Gender: Male
Quote:
Originally Posted by Banjora Marxvile View Post
Incorrect, just because something was in a past game doesn't mean it's possible in other games. It kind of is possible, but it's really buggy, and Jambo as far as I know never released his version of the script to the public as it was buggy.
Well, ok. I think i'll try to make an applymovement for the player and the sprite, then.
Reply With Quote
  #860    
Old April 18th, 2013 (07:26 PM).
PiplupGHacker's Avatar
PiplupGHacker
Keeping the dream alive.
 
Join Date: Mar 2007
Location: New Lenox, IL
Age: 17
Gender: Female
Nature: Lonely
Quote:
Originally Posted by PiplupGHacker View Post
(insert patrick I love you here, image was enormous so I just removed it)

Once again, I apologize for the idiocy. Had a feeling it was something stupid like that ._.
Thanks soo much though xD.

EDIT: Welp. Moar problems. Textbox won't open at all when I talked to him. This happened at first when I did the other one too, so I just assigned the script to someone else. Gonna try that but, thought I'd say that oddly enough after compiling the script shows up like this(could just be that it automatically shorthanded it or something):
Spoiler:

'-----------------------
#org 0xB339A5
checkflag 0x828
if 0x1 goto 0x8B33A06
msgbox 0x8B33A0F '"Hello.\nSorry to trouble you.\nI ca..."
compare LASTRESULT 0x1
if 0x1 goto 0x8B339C8
msgbox 0x8B33A70 '"That's okay.\pI'm sure someone else..."
release
end

'-----------------------
#org 0xB33A06
msgbox 0x8B33B18 '"Are you taking good care\nof Axew?"
release
end

'-----------------------
#org 0xB339C8
givepokemon 0x262 0x12 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox 0x8B33AA4 '" blackkfrrYou received an Axew!"
waitfanfare
closeonkeypress
setflag 0x828
msgbox 0x8B33AC5 '" blackkfrrWould you like to give a\..."
compare LASTRESULT 0x1
if 0x1 call 0x8B339FF
msgbox 0x8B33AFC '"Please take care of\nAxew."
release
end

'-----------------------
#org 0xB339FF
call 0x81A74EB
return

'-----------------------
#org 0x1A74EB
fadescreen 0x1
special 0x9E
waitstate
return


'---------
' Strings
'---------
#org 0xB33A0F
= Hello.\nSorry to trouble you.\nI can't take care\nof my Axew.\pCan you take care of\nit for me?

#org 0xB33A70
= That's okay.\pI'm sure someone else will\ntake it.

#org 0xB33B18
= Are you taking good care\nof Axew?

#org 0xB33AA4
= blackkfrrYou received an Axew!

#org 0xB33AC5
= blackkfrrWould you like to give a\nnickname to Axew?

#org 0xB33AFC
= Please take care of\nAxew.


EDIT2: Put it to girl next to the gym who talks about Clefairys, same thing happens. Error in my script?
Can I get some help with this?
My birthdays tomorrow and I want to get this shiz to work >.>
__________________
Click above for my collab YouTube Let's Play channel!
Featuring games like Pokemon SoulSilver, Mystery Dungeon, and Persona 3: FES!
Reply With Quote
  #861    
Old April 18th, 2013 (07:54 PM).
robin22gongon's Avatar
robin22gongon
 
Join Date: Sep 2012
Location: Want to know? VM me.
Age: 17
Gender: Male
Nature: Quirky
Send a message via Windows Live Messenger to robin22gongon
Quote:
Originally Posted by PiplupGHacker View Post
Can I get some help with this?
My birthdays tomorrow and I want to get this shiz to work >.>
Happy Birthday!
Code:
#dynamic 0xB00000

#org @start
lock
faceplayer
checkflag 0x828
if 0x1 goto @done
msgbox @1 0x5
compare LASTRESULT 0x1
if 0x1 goto @take
msgbox @2 0x6
release
end

#org @take
givepokemon 0x262 0x12 0x0 0x0 0x0 0x0
fanfare 0x13E
textcolor 0x02
msgbox @3 0x4
waitfanfare
closeonkeypress
textcolor 0x02
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @5 0x6
release
end

#org @name
call 0x1A74EB
return

#org @done
msgbox @6 0x6
release
end

#org @1
= Hello.\nSorry to trouble you.\nI can't take care\nof my Axew.\pCan you take care of\nit for me?

#org @2
= That's okay.\pI'm sure someone else will\ntake it.

#org @3
= You received an Axew!

#org @4
= Would you like to give a\nnickname to Axew?

#org @5
= Please take care of\nAxew.

#org @6
= Are you taking good care\nof Axew?
Note: You should have just modified the givepokemon script on the first page.

And if it still doesn't work, update your XSE to 1.1.1 or just use Gamre2020's Unofficial XSE in his Toolbox.
__________________
LET'S PARTY!
Reply With Quote
  #862    
Old April 18th, 2013 (09:14 PM).
PiplupGHacker's Avatar
PiplupGHacker
Keeping the dream alive.
 
Join Date: Mar 2007
Location: New Lenox, IL
Age: 17
Gender: Female
Nature: Lonely
Quote:
Originally Posted by robin22gongon View Post
Happy Birthday!
Code:
#dynamic 0xB00000

#org @start
lock
faceplayer
checkflag 0x828
if 0x1 goto @done
msgbox @1 0x5
compare LASTRESULT 0x1
if 0x1 goto @take
msgbox @2 0x6
release
end

#org @take
givepokemon 0x262 0x12 0x0 0x0 0x0 0x0
fanfare 0x13E
textcolor 0x02
msgbox @3 0x4
waitfanfare
closeonkeypress
textcolor 0x02
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @5 0x6
release
end

#org @name
call 0x1A74EB
return

#org @done
msgbox @6 0x6
release
end

#org @1
= Hello.\nSorry to trouble you.\nI can't take care\nof my Axew.\pCan you take care of\nit for me?

#org @2
= That's okay.\pI'm sure someone else will\ntake it.

#org @3
= You received an Axew!

#org @4
= Would you like to give a\nnickname to Axew?

#org @5
= Please take care of\nAxew.

#org @6
= Are you taking good care\nof Axew?
Note: You should have just modified the givepokemon script on the first page.

And if it still doesn't work, update your XSE to 1.1.1 or just use Gamre2020's Unofficial XSE in his Toolbox.

Oh, lawdy. First of all, thankies! Secondly, turns out I had a super old version of XSE or something, so I downloaded the unofficial and seemed to have made some progress. Now he actually talks to me! Whoo! Only problem is he just says "Are you taking care of Axew?" and I haven't even received it yet ._. is it because this flag is already used or something?
__________________
Click above for my collab YouTube Let's Play channel!
Featuring games like Pokemon SoulSilver, Mystery Dungeon, and Persona 3: FES!
Reply With Quote
  #863    
Old April 18th, 2013 (09:20 PM).
Shadowraze's Avatar
Shadowraze
Love and Peace
 
Join Date: Apr 2013
Location: Philippines
Age: 15
Gender: Male
Nature: Adamant
Send a message via Skype™ to Shadowraze
Quote:
Originally Posted by PiplupGHacker View Post
Oh, lawdy. First of all, thankies! Secondly, turns out I had a super old version of XSE or something, so I downloaded the unofficial and seemed to have made some progress. Now he actually talks to me! Whoo! Only problem is he just says "Are you taking care of Axew?" and I haven't even received it yet ._. is it because this flag is already used or something?
It's because you didn't put setflag 0x828 in the script. You may have received Axew although the Pokemon menu isn't showing.

Just put setflag 0x828 at the end of your script.
__________________
Reply With Quote
  #864    
Old April 19th, 2013 (04:55 AM).
PiplupGHacker's Avatar
PiplupGHacker
Keeping the dream alive.
 
Join Date: Mar 2007
Location: New Lenox, IL
Age: 17
Gender: Female
Nature: Lonely
Quote:
Originally Posted by Shadowraze View Post
It's because you didn't put setflag 0x828 in the script. You may have received Axew although the Pokemon menu isn't showing.

Just put setflag 0x828 at the end of your script.
Still didn't work after I did this. However, I changed the flag it checks and sets to 0x777. Any problem this is gonna cause in the future? Because it now works. And could I have a list of flags that I can use, or can I just put in any number?
__________________
Click above for my collab YouTube Let's Play channel!
Featuring games like Pokemon SoulSilver, Mystery Dungeon, and Persona 3: FES!
Reply With Quote
  #865    
Old April 19th, 2013 (01:19 PM).
Shadowraze's Avatar
Shadowraze
Love and Peace
 
Join Date: Apr 2013
Location: Philippines
Age: 15
Gender: Male
Nature: Adamant
Send a message via Skype™ to Shadowraze
Quote:
Originally Posted by PiplupGHacker View Post
Still didn't work after I did this. However, I changed the flag it checks and sets to 0x777. Any problem this is gonna cause in the future? Because it now works. And could I have a list of flags that I can use, or can I just put in any number?
There is a list of flags at the first post check it.
__________________
Reply With Quote
  #866    
Old April 20th, 2013 (03:43 AM).
Ksiazek Bartlomiej's Avatar
Ksiazek Bartlomiej
Rejishan awake...
 
Join Date: Jun 2008
Location: Takoabe Town (Region Thonsu)
Age: 21
Gender: Male
Nature: Hardy
Can you help me? I want add the new Pokemon Trade offset. I need to add extra one than three existing Trades in Pokemon Ruby. My task is add an trade your Mankey for Leafeon <Added to empty place holder> Can you help me with making script of trade?
__________________
- Thonsu Region will never die when Rejishan take care about them. Even the evilnesse of Team Mystic do not destroy land of Thonsu.

POKEMON DIRTY SUN - Comming Soon.
Reply With Quote
  #867    
Old April 20th, 2013 (07:28 AM).
Eren Jaeger's Avatar
Eren Jaeger
Pianoist
 
Join Date: Apr 2013
Location: EARTH
Gender: Male
Nature: Serious
Hey diego would you mind checking on this script?

Spoiler:
#dynamic 0x800000

#org @start
checkflag 0x828
lock
faceplayer
textcolor 0x00
if 0x1 goto @done
playsong 0x12E 0x0
applymovement 0x04 @move
applymovement 0xFF @move2
msgbox @hi 0x6
if 0x0 goto @start1
release
end

#org @start1
if 0x1 goto @done
showpokepic 0x1 0x0A 0x03
msgbox @1 0x5
compare 0x800D 0x0001
hidepokepic
if 0x0 goto @start2
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
closeonkeypress
msgbox @have 0x6
setflag 0x828
release
end

#org @start2
if 0x1 goto @done
showpokepic 0x4 0x0A 0x03
msgbox @2 0x5
compare 0x800D 0x0001
hidepokepic
if 0x0 goto @start3
givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
closeonkeypress
msgbox @have 0x6
setflag 0x828
release
end

#org @start3
if 0x1 goto @done
showpokepic 0x7 0x0A 0x03
msgbox @3 0x5
hidepokepic
compare LASTRESULT 0x1
if 0x0 goto @start1
givepokemon 0x7 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
closeonkeypress
msgbox @have 0x6
setflag 0x828
release
end

#org @done
msgbox @have 0x6
if 0x1 goto @door
setflag 828
release
end

#org @door
applymovement 0xFF @move3
setdooropened 0x23 0x0A
doorchange
applymovement 0x04 @move4
setdoorclosed 0x23 0x0A
doorchange

#org @move
#raw 0x61
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0xFE

#org @move2
#raw 0x2
#raw 0x62
#raw 0xFE

#org @move3
#raw 0x10
#raw 0x1

#org @move4
#raw 0x61
#raw 0x13
#raw 0x5
#raw 0x60

#org @hi
= Prof:Oak: Hello! First kid I met today! \nI came from the kanto region \nand I'm visiting my new lab here! \pSo what's your name lad? \n... ... ... ... ... ... ... \pI see! [Player]! Hey I'm giving out \nPOK\h1AMON today! \pWhy? It's my first visit! \nfirst visit! new people! \pWell [Player]! Do you know? \nIt's your luckiest day! \pBecause I'm giving you this \nThree POK\h1Aballs containing POK\h1AMON! \lBut be sure to take care \nof this POK\h1AMON you'll choose! \pThey're very rare [Player]! \nSo are you ready?!
#org @1
= Here! Choose! \nWould you like a BULBASAUR?

#org @2
= How about a CHARMANDER?

#org @3
= Maybe a SQUIRTLE?

#org @have
= Good Choice [Player]! \nI'll be expecting something \pmore from you! and.. \nNice to meet you [Player]! \pI'll be going! Bye!


It's hanging when the door opens then closed. What should I do?!
__________________
Music is art
Reply With Quote
  #868    
Old April 21st, 2013 (04:40 AM).
yozzyurubuza's Avatar
yozzyurubuza
Unhatched Egg
 
Join Date: Aug 2011
Gender: Male
Sometimes when I'm inserting/changing scripts/events, after saving it, my game messes up even though I inserted the scripts correctly. Is it normal for me to experience this?
Btw, I'm hacking pokemon emerald.
Reply With Quote
  #869    
Old April 21st, 2013 (04:59 AM).
robin22gongon's Avatar
robin22gongon
 
Join Date: Sep 2012
Location: Want to know? VM me.
Age: 17
Gender: Male
Nature: Quirky
Send a message via Windows Live Messenger to robin22gongon
Quote:
Originally Posted by yozzyurubuza View Post
Sometimes when I'm inserting/changing scripts/events, after saving it, my game messes up even though I inserted the scripts correctly. Is it normal for me to experience this?
Btw, I'm hacking pokemon emerald.
Use the Unofficial XSE Gamer2020 recently released. That one doesn't mess up Pokemon Emerald.
__________________
LET'S PARTY!
Reply With Quote
  #870    
Old April 21st, 2013 (08:57 AM). Edited April 21st, 2013 by yozzyurubuza.
yozzyurubuza's Avatar
yozzyurubuza
Unhatched Egg
 
Join Date: Aug 2011
Gender: Male
Quote:
Originally Posted by robin22gongon View Post
Use the Unofficial XSE Gamer2020 recently released. That one doesn't mess up Pokemon Emerald.
Thank you for the quick reply, I've downloaded it and gonna try it for a while.

Can someone check this pleeeeaasse?

Spoiler:
'---------------
#org 0xE3DE89
lockall
applymovement 0x19 0x8E3DEC2
waitmovement 0x0
msgbox 0x8E3DEC6 MSG_KEEPOPEN '"You can't pass here."
closeonkeypress
applymovement MOVE_PLAYER 0x8E3DEDD
waitmovement 0x0
applymovement 0x19 0x8E3DEC2
applymovement MOVE_PLAYER 0x8E3DEC2
waitmovement 0x0
applymovement 0x19 0x8E3DEE0
waitmovement 0x0
gotostd 0x8


'---------
' Strings
'---------
#org 0xE3DEC6
= You can't pass here.


'-----------
' Movements
'-----------
#org 0xE3DEC2
#raw 0x8 'Step Down (Normal)
#raw 0x8 'Step Down (Normal)
#raw 0xFE 'End of Movements

#org 0xE3DEDD
#raw 0x0 'Face Down
#raw 0xFE 'End of Movements

#org 0xE3DEE0
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x0 'Face Down
#raw 0xFE 'End of Movements


I kept on getting that gotostd 0x8 when I change it to anything. It's suppose to be releaseall,end.
Is there anything wrong in my script?
It is a script event in pokemon emerald.

The gotostd 0x8 activates the registration of the person to the pokenav.
Reply With Quote
  #871    
Old April 21st, 2013 (01:39 PM).
Shadowraze's Avatar
Shadowraze
Love and Peace
 
Join Date: Apr 2013
Location: Philippines
Age: 15
Gender: Male
Nature: Adamant
Send a message via Skype™ to Shadowraze
Quote:
Originally Posted by yozzyurubuza View Post
Thank you for the quick reply, I've downloaded it and gonna try it for a while.

Can someone check this pleeeeaasse?

Spoiler:
'---------------
#org 0xE3DE89
lockall
applymovement 0x19 0x8E3DEC2
waitmovement 0x0
msgbox 0x8E3DEC6 MSG_KEEPOPEN '"You can't pass here."
closeonkeypress
applymovement MOVE_PLAYER 0x8E3DEDD
waitmovement 0x0
applymovement 0x19 0x8E3DEC2
applymovement MOVE_PLAYER 0x8E3DEC2
waitmovement 0x0
applymovement 0x19 0x8E3DEE0
waitmovement 0x0
gotostd 0x8


'---------
' Strings
'---------
#org 0xE3DEC6
= You can't pass here.


'-----------
' Movements
'-----------
#org 0xE3DEC2
#raw 0x8 'Step Down (Normal)
#raw 0x8 'Step Down (Normal)
#raw 0xFE 'End of Movements

#org 0xE3DEDD
#raw 0x0 'Face Down
#raw 0xFE 'End of Movements

#org 0xE3DEE0
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x0 'Face Down
#raw 0xFE 'End of Movements


I kept on getting that gotostd 0x8 when I change it to anything. It's suppose to be releaseall,end.
Is there anything wrong in my script?
It is a script event in pokemon emerald.

The gotostd 0x8 activates the registration of the person to the pokenav.
Try repointing the offsets by naming them again with @script, @script2 and such. Then compile it and see if it works.
__________________
Reply With Quote
  #872    
Old April 22nd, 2013 (05:31 AM).
yozzyurubuza's Avatar
yozzyurubuza
Unhatched Egg
 
Join Date: Aug 2011
Gender: Male
Quote:
Originally Posted by Shadowraze View Post
Try repointing the offsets by naming them again with @script, @script2 and such. Then compile it and see if it works.
Thanks alot! I got it changed now.
Reply With Quote
  #873    
Old April 22nd, 2013 (08:36 PM).
destinedjagold's Avatar
destinedjagold
Oh Hai Thar~ 'ω'
Community Supporter
 
Join Date: May 2007
Location: Philippines
Gender: Male
Nature: Careful
Quote:
Originally Posted by kaedearagaki View Post
Hey diego would you mind checking on this script?

Spoiler:
#dynamic 0x800000

#org @start
checkflag 0x828 <-- place this in error 1
lock
faceplayer
textcolor 0x00
[error 1]
if 0x1 goto @done
playsong 0x12E 0x0
applymovement 0x04 @move
applymovement 0xFF @move2
[error 2]
msgbox @hi 0x6
[error 3]
if 0x0 goto @start1 <-- I would assume that this is still under your [checkflag 0x828] command.
release
end
I am not going to fix your script. It's up to you to do so, however, I will try and help you understand your common mistakes.
Corrections and notes are under your SPOILER tag.
Hopefully, this'll help you avoid the mistakes in the future.

Explanation is under here...
Spoiler:
error 1 - commands [lock] and [faceplayer] are generally located at the first lines of the script. also, the command [checkflag] should always be followed by the [if] command.
error 2 - an [applymovement] code, or a group of [applymovement] codes should always be followed by [waitmovement x] code, where the x is either 0 or the person number of an NPC moving.
error 3 - you need to place your [checkflag] command here again, since your [if] statement has nothing to compare with.


Quote:
Originally Posted by kaedearagaki View Post
It's hanging when the door opens then closed. What should I do?!
That is because you didn't properly end your script. The address [door] lacks the codes [release] and [end], and other things if you plan on adding a few more after that.
__________________
Reply With Quote
  #874    
Old April 23rd, 2013 (08:40 PM).
Eren Jaeger's Avatar
Eren Jaeger
Pianoist
 
Join Date: Apr 2013
Location: EARTH
Gender: Male
Nature: Serious
Quote:
Originally Posted by destinedjagold View Post
I am not going to fix your script. It's up to you to do so, however, I will try and help you understand your common mistakes.
Corrections and notes are under your SPOILER tag.
Hopefully, this'll help you avoid the mistakes in the future.

Explanation is under here...
Spoiler:
error 1 - commands [lock] and [faceplayer] are generally located at the first lines of the script. also, the command [checkflag] should always be followed by the [if] command.
error 2 - an [applymovement] code, or a group of [applymovement] codes should always be followed by [waitmovement x] code, where the x is either 0 or the person number of an NPC moving.
error 3 - you need to place your [checkflag] command here again, since your [if] statement has nothing to compare with.




That is because you didn't properly end your script. The address [door] lacks the codes [release] and [end], and other things if you plan on adding a few more after that.
Man.. this is so confusing.. O_O but anyways, thanks!
__________________
Music is art
Reply With Quote
  #875    
Old April 29th, 2013 (04:56 PM).
HidoranBlaze's Avatar
HidoranBlaze
 
Join Date: Apr 2013
Age: 18
Gender: Male
thanks for the awesome guide!
oh and can i ask a question?
i'm trying to edit the champion's script in pokemon emerald using xse
how would you do that? i can't open the script using advanced map
i've tried opening the map script using header but all i'm getting is a bunch of setvar
can you help me? and could you explain setvar again (sorry i'm a noob and i'm a visual learner)
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 08:04 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.