The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Fire Red Specials with Hacked engine.

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 September 17th, 2017 (11:18 AM). Edited September 17th, 2017 by Harlee Quinn.
Harlee Quinn's Avatar
Harlee Quinn Harlee Quinn is offline
 
Join Date: Aug 2017
Posts: 18
So i'm trying to do something fairly simple with JPANS hacked engine and the specials ingame.
This is the code I am using, special 0x9F calls the menu to select one Pokemon for a purpose, 0x62 is the Hacked engine special thats supposed to delete the pokemon selected.
Spoiler:
#dyn 0x740000
#org @start
lock
faceplayer
msgbox @text
callstd MSG_NORMAL
special 0x9F
waitspecial
special 0x62
release
end

#org @text
= Pick it.


This is what I've written as a test and I need to know, what am I doing wrong? I would think I'm not defining right point for the delete, but when I've used 0x9f then followed it with another special in a different script it functions properly and selected the pokemon I wanted it to.

Many thanks to those who take the time to reply.

UPDATE::
So I dunno what im doing wrong now... Special 0x9f isn't changing var 0x8004 to any other value then 0x0 like it says it does on JPANS breakdown of specials (google Research: Study on the special and special2 commands\ from this site, JPAN wrote it for Fire Red)
So any time I run that, I keep going to @kill1 no matter the result from special 0x9F. How can I fix this so that the pokemon I select is the one deleted by the script it goes to? Am I working off the wrong variable or, what am I doing wrong?
Spoiler:

#dyn 0x740000
#org @start
lock
faceplayer
msgbox @text
callstd MSG_NORMAL
special 0x9F
waitspecial
compare 0x8004 0x0
if 0x1 goto @kill1
compare 0x8004 0x1
if 0x1 goto @kill2
compare 0x8004 0x2
if 0x1 goto @kill3
compare 0x8004 0x3
if 0x1 goto @kill4
compare 0x8004 0x4
if 0x1 goto @kill5
compare 0x8004 0x5
if 0x1 goto @kill6
compare 0x8004 0x6
if 0x1 goto @start
msgbox @text
callstd MSG_NORMAL
release
end
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

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:16 AM.