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
  #51    
Old July 9th, 2014, 10:24 AM
Rambon99's Avatar
Rambon99
 
Join Date: Jul 2014
Location: Caracas Venezuela
Gender: Male
Nature: Lonely
I did set the flag in a different script and it seemed to work, but I don't know why do anything in this one. I'll also put that script if you'd like to take a look at it.
Spoiler:
#dynamic 0x71B2FE
#org @start
lock
checkflag 0x213
if 0x1 goto @stop
msgbox @1 0x6
setflag 0x213
release
end

#org @stop
msgbox @2 0x6
release
end

#org @1
=\[black_fr]Mom: Hey sweetie could you come down here?\p\[red_fr][PLAYER]:Moooom! I'm on the computer!\p\[black_fr]Mom:COME DOWN HERE GODDAMNIT!

#org @2
=\[black_fr]Mom: I CAN HEAR YOU ON THAT FUNKIN MACHINE! \nCOME DOWN HERE NOW!
__________________
Omg spriterz pls! Right nao I'm looking for someone who can sprite decently to help me on my game! I don't have any money but I can give lots of love and kisses ;3. PM for mo' info'!
Reply With Quote
  #52    
Old July 9th, 2014, 06:31 PM
karatekid552's Avatar
karatekid552
What happens if I push it?....
 
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
Send a message via AIM to karatekid552 Send a message via Windows Live Messenger to karatekid552 Send a message via Skype™ to karatekid552
Quote:
Originally Posted by Rambon99 View Post
I did set the flag in a different script and it seemed to work, but I don't know why do anything in this one. I'll also put that script if you'd like to take a look at it.
Spoiler:
#dynamic 0x71B2FE
#org @start
lock
checkflag 0x213
if 0x1 goto @stop
msgbox @1 0x6
setflag 0x213
release
end

#org @stop
msgbox @2 0x6
release
end

#org @1
=\[black_fr]Mom: Hey sweetie could you come down here?\p\[red_fr][PLAYER]:Moooom! I'm on the computer!\p\[black_fr]Mom:COME DOWN HERE GODDAMNIT!

#org @2
=\[black_fr]Mom: I CAN HEAR YOU ON THAT FUNKIN MACHINE! \nCOME DOWN HERE NOW!
What results do you get from this script?

Flag 0x213 is not known for any use. It may not exist and therefore result in reseting each time it is used by overwrite from other data.
__________________

Paired with Simba
Reply With Quote
  #53    
Old July 11th, 2014, 08:34 AM
Gorrioncillo
 
Join Date: Nov 2013
Gender: Male
as you know, this flags/varibles have to be safe in the .sav, where are the offset for this, or where can i see for it on the ram
Reply With Quote
  #54    
Old July 12th, 2014, 08:15 PM
karatekid552's Avatar
karatekid552
What happens if I push it?....
 
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
Send a message via AIM to karatekid552 Send a message via Windows Live Messenger to karatekid552 Send a message via Skype™ to karatekid552
Quote:
Originally Posted by Gorrioncillo View Post
as you know, this flags/varibles have to be safe in the .sav, where are the offset for this, or where can i see for it on the ram
In the ram, flags are shifted around by DMA every cycle of the mainloop. Using ASM and dumping the offset found by the flag return function is the only way to locate a flag at a specific cycle. I have long lost the offset of said function but it is labeled in Knizz's IDB file if I remember right.
__________________

Paired with Simba
Reply With Quote
  #55    
Old September 29th, 2014, 05:45 AM
NG55's Avatar
NG55
 
Join Date: Sep 2009
Location: Barrie, Ontario, Canada
Gender: Male
What are the flags in LeafGreen that are safe. I'm making a hack through Blue's perspective (and later Leaf's) and I think it'd be easier to use LeafGreen for the names at the beginning. There are multiple instances of the names when I look for them in A-text, so I don't want to screw anything up.
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 06:31 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.