Random Number Generator

The Random Number Generator, or RNG, is the computing method that Golden Sun and Golden Sun: The Lost Age use to determine the occurrence of seemingly random events in the game, such as chance monster battles and the chances of said monsters dropping rare items. The games use separate RNG calculators for in battle and out of battle events.

GameFAQs has a guide detailing the system (this guide also contain pre-determined methods for obtaining items).

Manipulation
The Random Number Generator is not so random as its name would suggest, and it actually relies on player actions to determine the "random" events. By utilizing the Random Number Generator, the game can be manipulated in a way to achieve a desired outcome (a monster dropping a rare item, for instance) one hundred percent of the time, if the correct methods are followed.

In its simplest explanation, enemy drops are determined by the set of actions that occur during combat. The game starts with a preprogrammed seed value on a hard reset, which then changes according to a set formula. Each kind of action in battle causes a different number of steps to occur on this function. The result is that if one knows how many steps the function has taken, the value of the random number generator can be determined, and that's the only thing one needs to know about it. When the game begins following a hard reset, the game starts with "0 RNs," which also guarantees that the party will get a first strike on their first random encounter following a hard reset. The magic number for an enemy to drop their item is RN 31. But the process of guaranteeing an item drop is slightly more complicated than this.

The Djinn Method
The Djinn Method, sometimes called the Dark Panther Method (named after a GameFAQs user, one of the first to discover it), is a way to make rare item drops more common. It is often called the DP method or Djinn kill method. What it entails is:
 * Killing a monster with a Djinni.
 * The Djinni must be of the element that monster has the lowest resistance to; if a monster has 127 Venus resist, 100 each Mercury and Mars resist, and 48 Jupiter resist (In other words, the Mad Demon), you must kill it with a Jupiter Djinni.
 * The character that unleashes the Djinni must have a higher power in that element than the monster has resistance; not normally a problem, except with the Mad Demon. Often when killing the Mad Demon, it is necessary to have a Jupiter Adept unleash the fatal blow.

The Djinn method works by lowering the rarity of an item in the game's internal classification method, allowing it to be acquired more easily. The result is that any monster that is killed with a Djinni of the element they are weak to and dies on the 31st RN is guaranteed to drop its item, regardless of its rarity.

Using the RNG
Manipulation of the RNG is far simpler than all this makes it sound. It is easiest to think of the value as starting at 0 and counting up towards 31. Each action increases the count by a certain value, as follows:


 * First strike in battle: 1 RN
 * Attack Psynergy: 2 RN per target
 * Healing Psynergy: 2 RN per party member targeted
 * Support Psynergy: 1 RN per party member targeted
 * Status Psynergy: 1 RN per target
 * Defend: 0 RN
 * Attack Djinni: 2 RN
 * Enemy Actions: 1 RN per enemy on the field - 2 instead for each Phoenix and Fire Bird enemy, 3 for each Wonder Bird. This only applies on turns in which enemies would act, so it does not apply to the first strike.
 * Enemy Death: 1 RN

Since the enemy dies on RN 31, the Djinni attacks on RN 29, and the first strike takes RN 1, the number of RNs the party needs to "consume" during battles depends on the number of enemies participating:


 * 1 Enemy: 25 RNs
 * 2 Enemy: 24 RNs
 * 3 Enemy: 23 RNs

The simplest method is the one with two enemies, which includes nearly every battle in which an enemy of interest to RNG manipulation can be encountered. For this, the party simply needs to use four attack Psynergies on the first turn, followed by two more on the second turn, then unleashing a Djinni of the element the enemy is weak to for the kill. If the enemies can't withstand six attack Psynergy, or if the party member with the appropriate Djinni is too fast, Wish or Aura can be used in place of two attack Psynergy. For one or three enemies, one Support or Status Psynergy (such as Impact) must be used. Regardless of method, as long as the appropriate number of RNs are consumed before the Djinni is unleashed, the enemy will drop its item with 100% certainty.

Example Method
Save the game and do a hard reset in the area where the monster that drops the item you need appears. Run around to get in a battle. If the encounter consists of a formation of 2 monsters, with at least one of them being the monster you want, proceed. If not, do another hard reset and try again.

During battle, have the entire party use multi-targeting Psynergy on the targets in the first turn, and since a battle right after a hard reset always involve your party attacking first where possible, the monsters will not be able to act. During the second turn, use two multi-targeting Psynergy on the enemies, and have the third party member (or fourth, if one of the three party members that act before uses Defend) unleash an attack Djinni of the element the monster is weak to on the monster. If by this point, the monster flashes in color and dies, you will obtain the drop of that monster at the end of the battle, however rare it is. If the monster does not die then (either dies too soon or doesn't die by this step), adjust the power of your attacks until you get it just right.

This method works as long as your party members are all faster than your enemies, and there is no monster that can act multiple rounds per turn on the other side. You may also need to juggle Djinn around your party in order to make sure the member with the killing Djinni is slow enough to act third or last.

Level RNG (GS1 only)
The general trend in the Golden Sun series, like all RPGs, is that you grow stronger as you level up. However, in the first game the RNG can be exploited to produce higher stat increases per level. This has one immediate effect, and one long term effect; with higher stats, you can choose to level less during a complete run through. The second, long term effect of using Level RNG methods is passing these RNG'd stats over to the second game, where the RNG methods shown below don't work. It's easiest to explain by example: Let us start with Isaac. In GS1 a typical level up for Isaac would look something like this (in the order of HP / PP / Attack / Defense / Agility)

7 / 3 / 4 / 2 / 3

However, by exploiting the RNG, you can get a perfect level up like this:

8 / 3 / 4 / 2 / 4

Perfect level ups like this are different for each playable character; go here for the full list by level.

By leveling up randomly, it is possible to achieve perfect level ups, but perfect leveling becomes increasingly harder the higher level you are.

Level RNG Methods
The general method for Level RNG is saving in an area, resetting, getting into a battle with an enemy, and finally killing it. (Note that when resetting it doesn't have to be a hard reset like item RNG, soft resets work too, but attacking first or being surprised by the enemy during battle DOES affect the outcome of this method). Here's the trick: It's how you kill the enemy that affects what level up numbers you receive. This is the list of what effects the numbers upon killing an enemy:

•Unleashes

•Offensive (Battle only) Psynergy

•Critical Hits

•Normal Attacks

•Offensive Djinn

•Summons

For most cases when using item RNG, you want to stick to Attacking and offensive Psynergy for the best results. (The values you get upon level up do depend upon which enemy you kill to receive the necessary experience points required to reach the next level)

Example Method
The following method is for a Perfect level up (Guaranteed to work) for Isaac: For this to work, Isaac needs to have the Ninja Blade as his weapon (It can be on anyone who can wield it, but for this example it will be equipped on Isaac), he needs to be missing 10 EXP or less to the next level, and has to be in the first room of Goma Cave (The one where you have use Move to knock down the rock blocking the path). You would save, soft reset, then run around to get into a battle. The first monster you encounter should be a single Skeleton. If you attack first, or if the Skeleton surprised your party, soft reset and try again, as this method requires a standard start. If it is a normal start, have Isaac attack the Skeleton (with the Ninja Blade), and everyone else defend. If done correctly and the skeleton dies, regardless of what happened (Unleash, critical hit or normal attack) Isaac should receive something similar to the following level up:

HP boost +8 PP boost +3 Attack boost +4 Defense boost +2 Agility boost +4

In other words, a perfect level up. Note that the maximum numbers you can get from methods like these go down the higher level you are, so that if you are above level 39 the PP boost would be +2 instead of +3, etc.

Level RNG information
For a more in depth guide to level RNG in Golden Sun, Go to the Golden Sun Level RNG Guide.

See the Level RNG list for the highest stat boosts possible for each character at each level.