Permalink
Browse files

Updated raws to latest

  • Loading branch information...
StanHash committed Nov 9, 2017
1 parent 50a35d7 commit dd8f4b54a298a33da59147f84069caa207593c8d
@@ -38,7 +38,7 @@ CHECK_ACTIVE, 0x2E21, 4, -game:FE8 -indexMode:8
#Following commands check various things about a selected unit.
#Like all unit-targeting commands in FE8, special inputs are:
# 0xFFFF: checks active unit (currently selected for moving/attacking)
# 0xFFFF: checks active unit (currently selected for moving/attacking, or set using SET_ACTIVE)
# 0xFFFE: checks unit at coordinates stored to Memory slot 0xB
# 0xFFFD: checks unit of ID stored to Memory slot 0x2
@@ -70,8 +70,20 @@ CHECK_ALLEGIANCE, 0x3325, 4, -game:FE8 -indexMode:8
CHECK_COORDS, 0x3326, 4, -game:FE8 -indexMode:8
Character, 2, 2
#Stores character class index into slot 0xC
CHECK_CLASS, 0x3327, 4, -game:FE8 -indexMode:8
Character, 2, 2
#Stores character luck into slot 0xC
CHECK_LUCK, 0x3328, 4, -game:FE8 -indexMode:8
Character, 2, 2
#Stores the char id of unit at given position into Slot 0xC (not really useful since most codes allowing for char ids allow for use slot B for position too, via 0xFFFE)
CHECK_AT, 0x2E20, 4, -game:FE8 -indexMode:8
Position, 2, 2, -coordinates:2 -preferredBase:10
#Checks if given unit is in Area defined by Rect (X, Y, X+W, Y+H) and stores 0 (false) or 1 (true) to slot 0xC accordingly
CHECK_INAREA, 0x3640, 8, -game:FE8 -indexMode:8
Char, 2, 2
TopLeftPos, 4, 2, -coordinates:2 -preferredBase:10
Size, 6, 2, -coordinates:2 -preferredBase:10
@@ -36,6 +36,10 @@ SMUL, 0x0622, 4, -game:FE8 -indexMode:8
SDIV, 0x0623, 4, -game:FE8 -indexMode:8
Slots, 2, 2
#Modulo of values in slots X and Y
SMOD, 0x0624, 4, -game:FE8 -indexMode:8
Slots, 2, 2
#Binary AND of slots X and Y.
SAND, 0x0625, 4, -game:FE8 -indexMode:8
Slots, 2, 2
@@ -0,0 +1,7 @@
#Shows movement & attack range for unit
SHOW_ATTACK_RANGE, 0x3120, 4, -game:FE8 -indexMode:8
Char, 2, 2
#Hides currently displayed movement & attack range
HIDE_ATTACK_RANGE, 0x3121, 4, -game:FE8 -indexMode:8
@@ -35,3 +35,23 @@ SET_SOMETHING, 0x342D, 4, -game:FE8 -indexMode:8
#Removes unit completely if word 0x89A2C80 is found at region of $02024E68
DISA_IF, 0x342E, 4, -game:FE8 -indexMode:8
Character, 2, 2
#Sets unit as currently active unit (will make it accessible through char 0xFFFF, and more)
SET_ACTIVE, 0x3820, 4, -game:FE8 -indexMode:8
Char, 2, 2
#Changes Unit Class (weapon ranks, stats, etc stay the same)
RECLASS, 0x3540, 8, -game:FE8 -indexMode:8
Char, 2, 2
Class, 4, 2
#Changes Unit Class (class becomes default class for given char id)
RECLASS_FROMCHAR, 0x3540, 8, -game:FE8 -indexMode:8
Char, 2, 2
0x00, 4, 2, -fixed
From, 6, 2
#Units switch classes... somewhat (the first unit will gain the *default* class of the second unit, while the second unit *will* get the class the first unit was in beforehand)
SWITCH_CLASSES, 0x3541, 8, -game:FE8 -indexMode:8
Char1, 2, 2
Char2, 4, 2
@@ -94,3 +94,23 @@ LOAD3, 0x2C42, 8, -game:FE8 -indexMode:8
LOAD4, 0x2C43, 8, -game:FE8 -indexMode:8
Value1, 2, 2
0x0, 4, 4, -fixed
#Loads one Ally unit with it's default parameters (will set the "drop last item" flag)
SPAWN_ALLY, 0x3240, 8, -game:FE8 -indexMode:8
Char, 2, 2
Position, 4, 2, -coordinates:2 -preferredBase:10
#Loads one NPC unit with it's default parameters (will set the "drop last item" flag)
SPAWN_NPC, 0x3241, 8, -game:FE8 -indexMode:8
Char, 2, 2
Position, 4, 2, -coordinates:2 -preferredBase:10
#Loads one Enemy unit with it's default parameters (will set the "drop last item" flag)
SPAWN_ENEMY, 0x3242, 8, -game:FE8 -indexMode:8
Char, 2, 2
Position, 4, 2, -coordinates:2 -preferredBase:10
#This unit will dissapear at the end of events (?)
SPAWN_CUTSCENE_ALLY, 0x324F, 8, -game:FE8 -indexMode:8
Char, 2, 2
Position, 4, 2, -coordinates:2 -preferredBase:10
@@ -16,7 +16,6 @@ _0x1320, 0x1320, 8, -game:FE8 -indexMode:8
#Music to change to.
Music ID, 4, 2
_0x1A22, 0x1A22, 4, -game:FE8 -indexMode:8
_0x1A25, 0x1A25, 4, -game:FE8 -indexMode:8
@@ -58,22 +57,6 @@ _0x2D20, 0x2D20, 4, -game:FE8 -indexMode:8
#0x3 is other
#0x4 is gold
_0x3240, 0x3240, 8, -game:FE8 -indexMode:8
Unit, 2, 2
Space ??, 4, 2
_0x3242, 0x3242, 8, -game:FE8 -indexMode:8
Value1, 2, 2
Value2, 4, 2
_0x3640, 0x3640, 8, -game:FE8 -indexMode:8
Value1, 2, 2
Value2, 4, 2
Value3, 6, 2
_0x412F, 0x412F, 4, -game:FE8 -indexMode:8
Value1, 2, 2
@@ -137,7 +120,7 @@ _0xC220, 0xC220, 4, -game:FE8 -indexMode:8
_0x3427, 0x3427, 4, -game:FE8 -indexMode:8
Character, 2, 2
#backwards compatibility, use SMOD instead
SLOTS_UNKNOWN, 0x0624, 4, -game:FE8 -indexMode:8
Slots, 2, 2

0 comments on commit dd8f4b5

Please sign in to comment.