PHO - Pokémon Hackers Online

PHO - Pokémon Hackers Online (http://pokemonhackersonline.com/index.php)
-   Archive (http://pokemonhackersonline.com/forumdisplay.php?f=180)
-   -   Fire Red Bank System (http://pokemonhackersonline.com/showthread.php?t=14219)

DarkPsychic 17th July 2013 06:11 PM

Fire Red Bank System
 
http://s10.postimg.org/ugee981hl/pag...nstruction.png

This thread was made to help others add a Bank System to FR.
This is the second time I will have redone this thread but this time it is for the better.

Until I can acquire permission from the original thread owner to port the tutorials to PHO.
I will merely post links to the needed ASM and since Bela has posted a Bank script here in the thread, I hope others use this thread to share their Bank scripts as well.

For now lets get started

First you will need the "Minute Routines Frame Structure"

Once you have that done you will need "Introducing ASM to your Bank scripts"


With all that done now you need a Bank Script and also Multi-Choice editor to add the words Withdraw, Deposit and Balance...

I will be updating this thread from hear on out and will post the Bank Script I have that also includes an ATM as well...

I also hope others will post there Bank Scripts as well and if any one needs help or has questions just post a detailed comment so that if helpful enough I can post them here in the main post...

Credit goes to-
The community in general for its the efforts of many that make this all possible....

karatekid552 17th July 2013 09:00 PM

When I said those were scripts, I meant that you had found the actual scripting commands. Meaning you found the routine that is called when the script reaches the command "addmoney" and such.

On the second part, yes, you are correct. You will have to find the, most likely, battle script/regular script that runs at the end of a trainer battle that pays you money.

DarkPsychic 19th July 2013 05:43 AM

So this code is technically useless then?

The Real code I need to find is the two you just mentioned then right?

karatekid552 27th July 2013 12:32 AM

The routine at 080D7868 loads the message which says "PLAYER got $XXX for winning!". So, somewheres linking to that routine should be the routine that pays money in battle. Theoretically...

DarkPsychic 22nd November 2013 11:31 PM

Alright then....

Sorry it has been awhile since I have been on, but am back now ^_^

I will be looking into this with what little knowledge I have on ASM as I have not had the time to really get my mind right and study. But I will see what I can do if anything at all.

I am hoping Someone eventually makes a good Pokémon GBA ASM video tutorial...
Maybe with your new Thumb IDE I will be able to finish this Idea of a Bank System so I may be able to re-vamp this thread with a actual meaningful purpose.

Thank you for the help you have given as well though ^_^

mewthree9000 25th November 2013 05:08 PM

I agree, we need more ASM Video tutorials. I like the progress in this thread though. I need to follow up on this later when I'm on my PC.

DarkPsychic 9th December 2013 07:56 PM

Some ASM video tutorials would be amazingly helpful...

I am still trying to find some one who understands this so I can get a start on my mod...
So if you know anyone or have any documentation that could help me that would be amazing...

Le pug 14th December 2013 10:27 PM

I talked to Bela, who has a bank in her Pokemon FR hack. Here is a screenshot:

http://oi41.tinypic.com/2vcb5o0.jpg

I was interested so I asked her how she did it. She told me no ASM is needed.

She said she uses addvar and subvar, and a dedicated variable that the bank balance used.

I'm not too sure but she mentioned this to me when I was discussing a feature I was trying to implement into my hack, she provided that info. If you're shooting for ASM though, she said she thinks it'd be better but I mean the way she has it seems good enough for me.

DarkPsychic 22nd December 2013 11:13 PM

^_^ Why Thank you Le pug

Hmm...
Would you happen to know what her hack is called?
And is she still active these days?

Also Does anyone know if we even still have ASM hackers in the community anymore?
Cause I just can't find any up to date asm/thumb tutorials that center around Pokémon Fire Red. I have tried to learn C, C++ and Qbasic but lose interest fast for the fact that it has nothing to do with what has inspired me to want to program in the first place... I feel that if I am not learning through hacking fire red then there is no point... I don't want to sit here for 2years just so I can "Eventually" write the Asm code that I need for this project... I learned XSE pretty fast I just wish I could get this hex editing, asm writing , and rom hacking down =(
Not only is this giving me a headache but now I have to figure out how to add more than 5 evolutions for one Pokémon to the game. So that Eevee can have all of its evolutions, Then figure out how to either make Yape to work with it or learn C#.net or Vb.net then make a new yape tool...... >_<
EHHH (*Hand to face*)
I am so lost at this point

Miksy91 22nd December 2013 11:36 PM

Quote:

Originally Posted by DarkPsychic (Post 127609)
Also Does anyone know if we even still have ASM hackers in the community anymore?
Cause I just can't find any up to date asm/thumb tutorials that center around Pokémon Fire Red. I have tried to learn C, C++ and Qbasic but lose interest fast for the fact that it has nothing to do with what has inspired me to want to program in the first place... I feel that if I am not learning through hacking fire red then there is no point... I don't want to sit here for 2years just so I can "Eventually" write the Asm code that I need for this project... I learned XSE pretty fast I just wish I could get this hex editing, asm writing , and rom hacking down =(

Well I personally don't see scripting code with XSE as hacking at all. That's programming and there is a slight difference. Of course, the two techniques go hand in hand and good programmers are often also good rom hackers, and the other way around.

If you want to learn how to create code and hack data structures (= this is what rom hacking basically is), you first have to study how the number systems (binary and hexadecimal along with 10-number based decimal) work and get familiar with them. Then, you're ready for starting to re-write all kinds of data with a hex editor and by practising, you ought to become "okay" with all kinds of data structures. Start off simple by editing short byte-tables and later on, try for exmaple to figure out how several hacking tools work and try to make yourself comfortable without them (for example, learn to create new trainers without the usage of A-trainer or other trainer editing utilities).

Understanding data structures helps you understand routines that use them - this is where asm comes to hacking.

All in all, rom hacking in a nutshell;
ASM (coding)
Pointers (links between asm routines and hex data)
Hex data (data that asm routines use)
Script code in a pokemon game = One among the several kinds of hex data structures

I personally learned by starting to play around with a hex editor and step by step, got better and better at hacking. One day, I started writing script codes with a hex editor and not long after that, took the first steps to writing asm routines.

Quote:

Originally Posted by DarkPsychic (Post 127609)
Not only is this giving me a headache but now I have to figure out how to add more than 5 evolutions for one Pokémon to the game. So that Eevee can have all of its evolutions, Then figure out how to either make Yape to work with it or learn C#.net or Vb.net then make a new yape tool...... >_<
EHHH (*Hand to face*)
I am so lost at this point

The creator of that tool would have probably programmed it to allow more than 5 evolutions if it was possible with the current game-engine. However, this is now one of the things that you need new asm routines for.
For one reason or another, the game doesn't allow more than 5 evolutions for one pokemon unless you modify the game's code to make it a possibility. That's probably not very simple since it might not be just about editing a byte or two, but to re-write some large routine as whole. Knowing how to program well is a useful skill when it comes to writing routines that serve for new functionalities in game. One could get literally anything out of the rom with the skill and right mindset.


All times are GMT. The time now is 02:22 PM.

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.
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