The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Script wont release

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old May 5th, 2014 (3:51 AM).
Rezordaxx's Avatar
Rezordaxx Rezordaxx is offline
Asks many questions!
 
Join Date: Aug 2013
Location: The Netherlands
Age: 24
Gender: Male
Nature: Relaxed
Posts: 290
Hi I have made this script :

Spoiler:
'---------------
#org 0x815AA0
lock
applymovement MOVE_PLAYER 0x8813680
showpokepic 0xD 0x0 0x4
msgbox 0x8815BB9 MSG_NORMAL '"And thats where we stand\ngreat ki..."
hidepokepic
showpokepic 0xE 0x0 0x4
msgbox 0x8815CEA MSG_NORMAL '"Hhmm....\nGoku... Well you certain..."
hidepokepic
showpokepic 0xD 0x0 0x4
msgbox 0x8815D77 MSG_NORMAL '"Yes King Yemma he is."
hidepokepic
showpokepic 0x1 0x0 0x4
msgbox 0x8815D8F MSG_NORMAL '"Hey does everybody\nend up here Ka..."
hidepokepic
showpokepic 0xD 0x0 0x4
msgbox 0x8815DB6 MSG_NORMAL '"Thats right."
hidepokepic
showpokepic 0x1 0x0 0x4
msgbox 0x8815DC5 MSG_NORMAL '"Did Raditz?"
hidepokepic
showpokepic 0xD 0x0 0x4
msgbox 0x8815DD3 MSG_NORMAL '"Yes everyone comes to this\nchecki..."
hidepokepic
showpokepic 0x1 0x0 0x4
msgbox 0x8815E38 MSG_NORMAL '"Hey!\nDid a guy named Raditz\pcame..."
hidepokepic
showpokepic 0xD 0x0 0x4
msgbox 0x8815E71 MSG_NORMAL '"Goku!\nYou must adress him as King..."
hidepokepic
showpokepic 0xE 0x0 0x4
msgbox 0x8816288 MSG_NORMAL '"Huhmmm.\nLet me see.\pOh yes!\nYou..."
hidepokepic
showpokepic 0x1 0x0 0x4
msgbox 0x88162D2 MSG_NORMAL '"Did he fight you?"
hidepokepic
showpokepic 0xE 0x0 0x4
msgbox 0x88162E6 MSG_NORMAL '"Yes he did!\nBut I got him in my Y..."
hidepokepic
showpokepic 0x1 0x0 0x4
msgbox 0x8816328 MSG_NORMAL '"Huuhh\nIncredible! Wow you must be..."
hidepokepic
showpokepic 0xD 0x0 0x4
msgbox 0x881637B MSG_NORMAL '"Uhm well yeahh...\nKing Yemma is t..."
hidepokepic
showpokepic 0xE 0x0 0x4
msgbox 0x88163EF MSG_NORMAL '"KAMI I HEARD THAT!\nYOU LITTLE WEA..."
hidepokepic
showpokepic 0xD 0x0 0x4
msgbox 0x8816453 MSG_NORMAL '"Forgive me I didnt know\nyour ears..."
hidepokepic
showpokepic 0xE 0x0 0x4
msgbox 0x88164A3 MSG_NORMAL '"Kami you are starting\nto annoy me..."
hidepokepic
showpokepic 0xD 0x0 0x4
msgbox 0x88165C5 MSG_NORMAL '"Goku stick to it now!\nDont let sn..."
hidepokepic
showpokepic 0x1 0x0 0x4
msgbox 0x8816602 MSG_NORMAL '"Well I am really not sure\nwhat to..."
hidepokepic
setvar 0x4016 0x3
release

'---------
' Strings
'---------
#org 0x815BB9
= And thats where we stand\ngreat king Yemma.\pThe other two Saiyans are\non there way to earth right now\pFor this reason we humbly ask you\nTo allow Goku to seek training\pfrom the great KingKai himself\nWith your permission ofcourse.\pThere is no hope for our planet\nif Goku doesnt recieve KingKai's training.

#org 0x815CEA
= Hhmm....\nGoku... Well you certainly\phave a service record that allows\nyou to reach KingKai But are\pyou prepared to travel\nalong snake way?

#org 0x815D77
= Yes King Yemma he is.

#org 0x815D8F
= Hey does everybody\nend up here Kami?

#org 0x815DB6
= Thats right.

#org 0x815DC5
= Did Raditz?

#org 0x815DD3
= Yes everyone comes to this\ncheckin station and King Yemma\pdecides what to do\nwith them after that.

#org 0x815E38
= Hey!\nDid a guy named Raditz\pcame here not to long ago?

#org 0x815E71
= Goku!\nYou must adress him as King Yemma!

#org 0x816288
= Huhmmm.\nLet me see.\pOh yes!\nYour brother I send him ahead.\pWhat a case.

#org 0x8162D2
= Did he fight you?

#org 0x8162E6
= Yes he did!\nBut I got him in my Yemma lock\pand overpowered him.

#org 0x816328
= Huuhh\nIncredible! Wow you must be strong!\pHey forget KingKai\nI wanna train here!

#org 0x81637B
= Uhm well yeahh...\nKing Yemma is to bussy\pto take pupils\nWhisper: "Be quiet!\pKingKai is stronger that King Yemma!"

#org 0x8163EF
= KAMI I HEARD THAT!\nYOU LITTLE WEASEL!\pIll remember that when I\nam passing sentence on you hahaha!

#org 0x816453
= Forgive me I didnt know\nyour ears where so big!\pI mean so good!\nOhhh myyy....

#org 0x8164A3
= Kami you are starting\nto annoy me!\pWell I forgive you this time\nGoku can try to make it to\pKingKai's if he really wants to.\nIll call a guide for you\pnow go and wait outside!\nOh and Goku!\pYou need to be really carefull\nnot to fall of snakeway!\pShould you fall of there is\nno comming back!

#org 0x8165C5
= Goku stick to it now!\nDont let snakeway wear\pon your mind!

#org 0x816602
= Well I am really not sure\nwhat to expect.\pBut ill try my very best\nto make it to KingKai's planet!\pBye now ill guess I\nsee ya in about one year.


'-----------
' Movements
'-----------
#org 0x813680
#raw 0x1 'Face Up

but when the script ends it wont let me walk...

and how do I remove a pokemon in the party via script?
__________________

My hack
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old May 5th, 2014 (4:27 AM).
Spherical Ice's Avatar
Spherical Ice Spherical Ice is online now
 
Join Date: Nov 2007
Location: Leicester, UK
Age: 25
Posts: 5,251
You need to add the end command after release. As for the latter, there are multiple ASM routines that have been made to erase a Pokémon from your party, so try looking around the Research and Development subforum.
__________________
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old May 5th, 2014 (4:29 AM).
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
To answer your first question, you need an "end" command after release to stop the script.

If you're hacking Fire Red, this tutorial should cover how to release a specific Pokémon from your party.
__________________

A Pokemon that is discriminated!
Support squirtle and make it everyone's favourite.
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old May 5th, 2014 (4:55 AM). Edited May 5th, 2014 by Logan.
Rezordaxx's Avatar
Rezordaxx Rezordaxx is offline
Asks many questions!
 
Join Date: Aug 2013
Location: The Netherlands
Age: 24
Gender: Male
Nature: Relaxed
Posts: 290
Quote:
Originally Posted by Spheal View Post
To answer your first question, you need an "end" command after release to stop the script.

If you're hacking Fire Red, this tutorial should cover how to release a specific Pokémon from your party.
Quote:
Originally Posted by Spherical Ice View Post
You need to add the end command after release. As for the latter, there are multiple ASM routines that have been made to erase a Pokémon from your party, so try looking around the Research and Development subforum.
LOOOOLL how could I forget to do that .... shame on me...

thanks i will look in the tutorial

Quote:
Originally Posted by Spheal View Post
To answer your first question, you need an "end" command after release to stop the script.

If you're hacking Fire Red, this tutorial should cover how to release a specific Pokémon from your party.
is is not the kind of thing i was looking for i just want to delete the pokemon wihtout the player knowing it has been deleted
__________________

My hack
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old May 5th, 2014 (5:07 AM).
Spherical Ice's Avatar
Spherical Ice Spherical Ice is online now
 
Join Date: Nov 2007
Location: Leicester, UK
Age: 25
Posts: 5,251
http://www.pokecommunity.com/showthread.php?t=210016#asm

This part of the tutorial does indeed tell you how to achieve what you wanted. Assuming you have also inserted the routine at 0x8800000, your script could literally just be:

Code:
#dynamic 0x800000

#org @start
setvar 0x8005 0x19 // 0x19 being the hex number for Pikachu
call @snippet1
release
end

#org @snippet1
callasm 0x800001
return
and it would release your Pikachu (obviously just change the hex code for a different Pokémon, or somehow get 0x8005 to equal the species of a Pokémon in a specific slot (with special 0x9F being the best option for this, but you don't want that I guess)). You don't have to include the messages etc.
__________________
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old May 5th, 2014 (6:01 AM).
Rezordaxx's Avatar
Rezordaxx Rezordaxx is offline
Asks many questions!
 
Join Date: Aug 2013
Location: The Netherlands
Age: 24
Gender: Male
Nature: Relaxed
Posts: 290
Quote:
Originally Posted by Spherical Ice View Post
http://www.pokecommunity.com/showthread.php?t=210016#asm

This part of the tutorial does indeed tell you how to achieve what you wanted. Assuming you have also inserted the routine at 0x8800000, your script could literally just be:

Code:
#dynamic 0x800000

#org @start
setvar 0x8005 0x19 // 0x19 being the hex number for Pikachu
call @snippet1
release
end

#org @snippet1
callasm 0x800001
return
and it would release your Pikachu (obviously just change the hex code for a different Pokémon, or somehow get 0x8005 to equal the species of a Pokémon in a specific slot (with special 0x9F being the best option for this, but you don't want that I guess)). You don't have to include the messages etc.
Allright thanks
I have added end to the script but it still wont release me...
__________________

My hack
Reply With Quote
  #7   Link to this post, but load the entire thread.  
Old May 5th, 2014 (6:09 AM).
Spherical Ice's Avatar
Spherical Ice Spherical Ice is online now
 
Join Date: Nov 2007
Location: Leicester, UK
Age: 25
Posts: 5,251
What did you set 0x8005 to?
__________________
Reply With Quote
  #8   Link to this post, but load the entire thread.  
Old May 5th, 2014 (6:22 AM).
Rezordaxx's Avatar
Rezordaxx Rezordaxx is offline
Asks many questions!
 
Join Date: Aug 2013
Location: The Netherlands
Age: 24
Gender: Male
Nature: Relaxed
Posts: 290
Quote:
Originally Posted by Spherical Ice View Post
What did you set 0x8005 to?
I was talking about the first script :p
__________________

My hack
Reply With Quote
  #9   Link to this post, but load the entire thread.  
Old May 5th, 2014 (6:26 AM).
Spherical Ice's Avatar
Spherical Ice Spherical Ice is online now
 
Join Date: Nov 2007
Location: Leicester, UK
Age: 25
Posts: 5,251
Oh, the movements list needs #raw 0xFE at the end too. It would help if you were more specific about what is going wrong, though.
__________________
Reply With Quote
  #10   Link to this post, but load the entire thread.  
Old May 5th, 2014 (6:29 AM). Edited May 5th, 2014 by Orifiel.
Orifiel's Avatar
Orifiel Orifiel is offline
Priestess
 
Join Date: Aug 2013
Location: Tokyo, Japan
Gender: Female
Nature: Lonely
Posts: 413
There's no waitmovement on your script, I guess. Fixed your script.

Code:

Code:
'---------------
#org 0x815AA0
lock
applymovement MOVE_PLAYER 0x8813680
waitmovement 0x0
showpokepic 0xD 0x0 0x4
msgbox 0x8815BB9 MSG_NORMAL '"And thats where we stand\ngreat ki..."
hidepokepic
showpokepic 0xE 0x0 0x4
msgbox 0x8815CEA MSG_NORMAL '"Hhmm....\nGoku... Well you certain..."
hidepokepic
showpokepic 0xD 0x0 0x4
msgbox 0x8815D77 MSG_NORMAL '"Yes King Yemma he is."
hidepokepic
showpokepic 0x1 0x0 0x4
msgbox 0x8815D8F MSG_NORMAL '"Hey does everybody\nend up here Ka..."
hidepokepic
showpokepic 0xD 0x0 0x4
msgbox 0x8815DB6 MSG_NORMAL '"Thats right."
hidepokepic
showpokepic 0x1 0x0 0x4
msgbox 0x8815DC5 MSG_NORMAL '"Did Raditz?"
hidepokepic
showpokepic 0xD 0x0 0x4
msgbox 0x8815DD3 MSG_NORMAL '"Yes everyone comes to this\nchecki..."
hidepokepic
showpokepic 0x1 0x0 0x4
msgbox 0x8815E38 MSG_NORMAL '"Hey!\nDid a guy named Raditz\pcame..."
hidepokepic
showpokepic 0xD 0x0 0x4
msgbox 0x8815E71 MSG_NORMAL '"Goku!\nYou must adress him as King..."
hidepokepic
showpokepic 0xE 0x0 0x4
msgbox 0x8816288 MSG_NORMAL '"Huhmmm.\nLet me see.\pOh yes!\nYou..."
hidepokepic
showpokepic 0x1 0x0 0x4
msgbox 0x88162D2 MSG_NORMAL '"Did he fight you?"
hidepokepic
showpokepic 0xE 0x0 0x4
msgbox 0x88162E6 MSG_NORMAL '"Yes he did!\nBut I got him in my Y..."
hidepokepic
showpokepic 0x1 0x0 0x4
msgbox 0x8816328 MSG_NORMAL '"Huuhh\nIncredible! Wow you must be..."
hidepokepic
showpokepic 0xD 0x0 0x4
msgbox 0x881637B MSG_NORMAL '"Uhm well yeahh...\nKing Yemma is t..."
hidepokepic
showpokepic 0xE 0x0 0x4
msgbox 0x88163EF MSG_NORMAL '"KAMI I HEARD THAT!\nYOU LITTLE WEA..."
hidepokepic
showpokepic 0xD 0x0 0x4
msgbox 0x8816453 MSG_NORMAL '"Forgive me I didnt know\nyour ears..."
hidepokepic
showpokepic 0xE 0x0 0x4
msgbox 0x88164A3 MSG_NORMAL '"Kami you are starting\nto annoy me..."
hidepokepic
showpokepic 0xD 0x0 0x4
msgbox 0x88165C5 MSG_NORMAL '"Goku stick to it now!\nDont let sn..."
hidepokepic
showpokepic 0x1 0x0 0x4
msgbox 0x8816602 MSG_NORMAL '"Well I am really not sure\nwhat to..."
hidepokepic
setvar 0x4016 0x3
release

'---------
' Strings
'---------
#org 0x815BB9
= And thats where we stand\ngreat king Yemma.\pThe other two Saiyans  are\non there way to earth right now\pFor this reason we humbly ask  you\nTo allow Goku to seek training\pfrom the great KingKai  himself\nWith your permission ofcourse.\pThere is no hope for our  planet\nif Goku doesnt recieve KingKai's training.

#org 0x815CEA
= Hhmm....\nGoku... Well you certainly\phave a service record that  allows\nyou to reach KingKai But are\pyou prepared to travel\nalong  snake way?

#org 0x815D77
= Yes King Yemma he is.

#org 0x815D8F
= Hey does everybody\nend up here Kami?

#org 0x815DB6
= Thats right.

#org 0x815DC5
= Did Raditz?

#org 0x815DD3
= Yes everyone comes to this\ncheckin station and King Yemma\pdecides what to do\nwith them after that.

#org 0x815E38
= Hey!\nDid a guy named Raditz\pcame here not to long ago?

#org 0x815E71
= Goku!\nYou must adress him as King Yemma!

#org 0x816288
= Huhmmm.\nLet me see.\pOh yes!\nYour brother I send him ahead.\pWhat a case.

#org 0x8162D2
= Did he fight you?

#org 0x8162E6
= Yes he did!\nBut I got him in my Yemma lock\pand overpowered him.

#org 0x816328
= Huuhh\nIncredible! Wow you must be strong!\pHey forget KingKai\nI wanna train here!

#org 0x81637B
= Uhm well yeahh...\nKing Yemma is to bussy\pto take pupils\nWhisper: "Be quiet!\pKingKai is stronger that King Yemma!"

#org 0x8163EF
= KAMI I HEARD THAT!\nYOU LITTLE WEASEL!\pIll remember that when I\nam passing sentence on you hahaha!

#org 0x816453
= Forgive me I didnt know\nyour ears where so big!\pI mean so good!\nOhhh myyy....

#org 0x8164A3
= Kami you are starting\nto annoy me!\pWell I forgive you this  time\nGoku can try to make it to\pKingKai's if he really wants to.\nIll  call a guide for you\pnow go and wait outside!\nOh and Goku!\pYou need  to be really carefull\nnot to fall of snakeway!\pShould you fall of  there is\nno comming back!

#org 0x8165C5
= Goku stick to it now!\nDont let snakeway wear\pon your mind!

#org 0x816602
= Well I am really not sure\nwhat to expect.\pBut ill try my very  best\nto make it to KingKai's planet!\pBye now ill guess I\nsee ya in  about one year.


'-----------
' Movements
'-----------
#org 0x813680
#raw 0x1 'Face Up
#raw 0xFE
__________________
~ Pair | Character | Previously L96 ~
Reply With Quote
  #11   Link to this post, but load the entire thread.  
Old May 5th, 2014 (7:26 AM). Edited May 5th, 2014 by Christos.
Rezordaxx's Avatar
Rezordaxx Rezordaxx is offline
Asks many questions!
 
Join Date: Aug 2013
Location: The Netherlands
Age: 24
Gender: Male
Nature: Relaxed
Posts: 290
Quote:
Originally Posted by Spherical Ice View Post
Oh, the movements list needs #raw 0xFE at the end too. It would help if you were more specific about what is going wrong, though.
Thanks ill try it.
sorry ill be more specific next time

The first script works now. I will try the delete pokemon script later.
__________________

My hack
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content
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

Forum Jump


All times are GMT -8. The time now is 9:12 AM.