PHO - Pokémon Hackers Online
Go Back   PHO - Pokémon Hackers Online > Discussion Board > Archive

Notices

Archive Old threads that serve no purpose are here.

 
 
Thread Tools Display Modes
Old 16th August 2013, 09:58 PM   #1
Chaos Rush
Neophyte
 
Chaos Rush's Avatar
 
Join Date: Sep 2011
Posts: 21
Chaos Rush
Default Friendship Checker for FireRed

I noticed that many hacks lack this, because of how well-hidden this feature was within FR/LG.

Friendship Checker for FireRed:
Code:
#dynamic 0x800000
#org @Main
lock
faceplayer
msgbox @msgmain MSG_KEEPOPEN
special2 LASTRESULT 0xE6
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto @zero
compare 0x8000 0x1
if 0x1 goto @one
compare 0x8000 0x2
if 0x1 goto @two
compare 0x8000 0x3
if 0x1 goto @three
compare 0x8000 0x4
if 0x1 goto @four
compare 0x8000 0x5
if 0x1 goto @five
compare 0x8000 0x6
if 0x1 goto @six
release
end

#org @zero
msgbox @msg0 MSG_KEEPOPEN
release
end

#org @one
msgbox @msg1 MSG_KEEPOPEN
release
end

#org @two
msgbox @msg2 MSG_KEEPOPEN
release
end

#org @three
msgbox @msg3 MSG_KEEPOPEN
release
end

#org @four
msgbox @msg4 MSG_KEEPOPEN
release
end

#org @five
msgbox @msg5 MSG_KEEPOPEN
release
end

#org @six
msgbox @msg6 MSG_KEEPOPEN
release
end

#org @msgmain
= Let me see your Pokémon.\pI'll check to see how much it\nlikes you.\pOh.\nYour Pokémon[.]

#org @msg0
= This is a little hard for me to say[.]\pYour Pokémon simply detests you.\nDoesn't that make you uncomfortable?

#org @msg1
= It's very wary.\nIt has scary viciousness in its eyes.\lIt doesn't like you much at all.

#org @msg2
= It's not very used to you yet.\nIt neither loves nor hates you.

#org @msg3
= It's getting used to you.\nIt seems to believe in you.

#org @msg4
= It likes you quite a lot.\nIt seems to want to be babied a little.

#org @msg5
= It seems to be very happy.\nIt obviously likes you a whole lot.

#org @msg6
= It adores you.\nIt can't possibly love you any more.\lI even feel happy seeing it.
The messages are taken from Pokemon Emerald. In fact, I basically took the script from Emerald and changed the specials and variables to the FireRed ones.

There actually is a Friendship checker in FireRed, as Daisy acts as one after you beat the Elite Four. However, it appears no one has yet to take apart the script to create a separate friendship checker, so I've done that to save you guys some trouble.
Chaos Rush is offline  
Likes Gal, Foxz, karatekid552 liked this post
Sponsored Links
Old 17th August 2013, 11:18 AM   #2
Gal
Beginner
 
Join Date: Jul 2013
Location: Israel
Posts: 36
Gal
Default

Nice, woow, I like it! Good job, Chaos! (I hope that's okay I will call you like that )

I think I will use it in my hack
__________________
Odd Jokes:

Spoiler:
#1 - I saw Saw
#2 - Mateo's name is NOT Matt!
#3 - Karatekid is a n00b ROM hacker (;
#4 - LaZ doesn't like deadly metal music (;
#5 - Mateo doesn't like Flannery
#6 - Mateo is a bad guy ;(
#7 - Enough jokes about Mateo (;
#8 - I EM 7 YIRZ OLD
#9 - Ann Oldman
#10 - Stunfisk
#11 - Smexy Lotads
Gal is offline  
 

Tags
checker, firered, friendship, [Document]

Thread Tools
Display Modes

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. The time now is 05:22 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc. User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo.
Pokémon Hackers Online (PHO) is in no way affiliated with or endorsed by Nintendo LLC, Creatures, GAMEFREAK inc,
The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast.
All forum/site content (unless noted otherwise) and site designs are © 2006-2013 Pokémon Hackers Online (PHO).
Green Charizard Christos TreeckoLv100

"Black 2" by ARTPOP. Kyurem artwork by XOUS.

no new posts