// the first code in this sequence is the check
IFAT 0x8 0x7D4C1 // if (asm_cond) {
MNCH 0x23 // Jerme's version
STAL 1
_0x1
ELSE 0x9 // } else {
ENIF 0x8
MNCH 0x24 // Kenneth's version
STAL 1
_0x1
ENIF 0x9 // }so i went to the offset specified and disassembled the condition code
r0 - no matter, clobbered anyway
r1 - 0x0800D569 probably the interpreter
r2 - 0x00
r3 - 0x08B907C0
r4 - 0x02024F00
r5 - 0x48
r6 - 0x02024F56
r7 - 0x08B90E48
r8 - 0x08B90E4C
r9 - 0x00
r10 - 0x00
r11 - 0x03007DFC
r12 - 0x03
sp - 0x03007DA0
lr - 0x0800D575
pc - 0x0807D4C0
0807D4C0 B510 push {r4,r14} @ Self-explanatory
0807D4C2 4806 ldr r0,=#0x8CB8984 @ offset of list for Jerme - 06 00 08 00 09 00 04 00
@ corresponds to guy, dorcas, bartre, raven respectively
0807D4C4 F7FFFFC0 bl #0x807D448 @ r0 = sum of guy/dorcas/bartre/raven
0807D4C8 1C04 mov r4,r0 @ store r0
0807D4CA 4805 ldr r0,=#0x8CB898E @ load another offset for Kenneth - 13 00 10 00 12 00 1B 00 11 00
@ Erk, Lucius, Renault (!), Priscilla, Serra
@ Apparently Renault is also checked for this, although his level is set at 0 at this time
@ maybe this is an indication that he was meant to be recruitable for then? Beats me.
0807D4CC F7FFFFBC bl #0x807D448 @ add their levels
0807D4D0 0424 lsl r4,r4,#0x10 @ r4 = (short) r4
0807D4D2 0400 lsl r0,r0,#0x10 @ r0 = (short) r0
0807D4D4 4284 cmp r4,r0 @ if r4 <= r0 (if physical units levels <= magical)
0807D4D6 D805 bhi #0x807D4E4 @ ^
0807D4D8 2000 mov r0,#0x0 @ return false
0807D4DA E004 b #0x807D4E6
0807D4DC 8984 ldrh r4,[r0,#0xC] @ Pointers
0807D4DE 08CB lsr r3,r1,#0x3 @ ^
0807D4E0 898E ldrh r6,[r1,#0xC] @ ^
0807D4E2 08CB lsr r3,r1,#0x3 @ ^
0807D4E4 2001 mov r0,#0x1 @ else (physical > mag): return true (Jerme)
@ This means that Jerme only shows up if and only if your physical units are higher
@ which fits in with the idea that "Kenneth's Chapter is the default".
0807D4E6 BC10 pop {r4}
0807D4E8 BC02 pop {r1}
0807D4EA 4708 bx r1Notice that Renault is included in the "magic users" group.
The log as well as my personal thoughts on the matter can be found here.
Edited by Camtech, 21 April 2012 - 11:45 AM.










