diff --git a/docs/bbs/file/type/mission.md b/docs/bbs/file/type/mission.md index a1a323153..8701d7709 100644 --- a/docs/bbs/file/type/mission.md +++ b/docs/bbs/file/type/mission.md @@ -62,9 +62,11 @@ Here's the full list of files that use this format. Bonuses are rewards you receive as the boss is defeated or the event is over. -The type of bonus to receive. It is not possible to give two rewards of the same type. +The type of bonus to receive. -Bonuses cannot give you debug commands or abilities/enchantments. +Bonuses cannot give you **debug commands or abilities/enchantments/d-links**. Any command style can be given at any time. + +**It is not possible to give two rewards of the same type.** | Value | Description |--------|------- @@ -77,10 +79,14 @@ Bonuses cannot give you debug commands or abilities/enchantments. Presents are rewards you receive after the battle phase is over. -The type of present to receive. Presents cannot give you debug commands or abilities/enchantments. +This field controls the type of present to receive. + +Presents cannot give you **debug commands or abilities/enchantments**. Giving command styles out of order can also result in a crash. Trying to give items that don't belong to the specific character result in a crash. +**It is possible to get two presents of the same type.** + | Value | Description |--------|------- | 0 | None @@ -88,6 +94,7 @@ Trying to give items that don't belong to the specific character result in a cra | 2 | Obtain Command ### General Path + | Value | Description |--------|------- | 0 | GENERAL_PATH_START diff --git a/docs/bbs/memory only/CampCmd.md b/docs/bbs/memory only/CampCmd.md new file mode 100644 index 000000000..0cae433a4 --- /dev/null +++ b/docs/bbs/memory only/CampCmd.md @@ -0,0 +1,30 @@ +# CAMP CMD WORK + +This isn't a file, but a memory region in the executable. + +## CAMP COMMAND DATA + +| Offset | Type | Description +|---------|--------|------------ +| 0x0 | [COMMAND](./Command.md#Command) | Command Data +| 0x8 | uint16 | Camp Command Flag + +### CAMP COMMAND FLAG + +First 8 bits belong to the Board command, the second 8 bits to the Camp Menu command. + +| Bit | Length | Description +|---------|--------|------------ +| 0 | 1 | fgBdDel +| 1 | 1 | fgBdTmpNew +| 2 | 1 | fgBdInvalid +| 3 | 1 | fgBdRef +| 4 | 1 | fgBdTmpGet +| 5 | 1 | fgBdTake +| 6 | 1 | fgBdCard +| 7 | 1 | fgBdPanelSet +| 8 | 2 | Padding +| 10 | 1 | Master Notice +| 11 | 1 | Master +| 12 | 1 | Item +| 13 | 3 | fgSet \ No newline at end of file diff --git a/docs/bbs/memory only/CampWork.md b/docs/bbs/memory only/CampWork.md index 41ac6fe7f..eb8a660b8 100644 --- a/docs/bbs/memory only/CampWork.md +++ b/docs/bbs/memory only/CampWork.md @@ -6,12 +6,12 @@ This isn't a file, but a memory region in the executable. | Offset | Type | Description |---------|--------|------------ -| 0x0 | CmdWork | Command Work +| 0x0 | [CmdWork](./CmdWork.md) | Command Work | 0x18CA | Unknown | Unknown | 0x18CB | Unknown | Unknown -| 0x18CC | AbilityFlag[30] | Ability Flags -| 0x1944 | EtcFlag[55] | Etc Flags -| 0x197B | HelpFlag[40] | Help Flags +| 0x18CC | [AbiFlag](#Ability-Flag)[30] | Ability Flags +| 0x1944 | [EtcFlag](#Etc-Flag)[55] | Etc Flags +| 0x197B | [HelpFlag](#Help-Flag)[40] | Help Flags | 0x19A3 | NickNameWork | Nickname Work | 0x19C9 | Unknown | Unknown | 0x19CA | Unknown | Unknown @@ -31,4 +31,37 @@ This isn't a file, but a memory region in the executable. | 0x27FA | uint16 | Deck Shortcut | 0x27FC | uint16[4][2] | Arena Flag Array | 0x280C | int8 | Number of Trophy Info -| 0x280D | uint8[7] | Padding \ No newline at end of file +| 0x280D | uint8[7] | Padding + + +### ABILITY FLAG + + +| Bit | Length | Description +|-----|--------|------------ +| 0 | 11 | Padding +| 11 | 3 | Master Notice +| 14 | 2 | fgNewReport +| 16 | 2 | fgNewCamp +| 18 | 5 | Master On +| 23 | 3 | Master +| 26 | 3 | Equip +| 29 | 3 | Total + +### ETC FLAG + + +| Bit | Length | Description +|---------|--------|------------ +| 0 | 4 | Padding +| 4 | 2 | fgNewReport +| 6 | 2 | fgNewCamp + +### HELP FLAG + + +| Bit | Length | Description +|---------|--------|------------ +| 0 | 3 | Padding +| 3 | 3 | Category +| 6 | 2 | fgNewCamp diff --git a/docs/bbs/memory only/CmdWork.md b/docs/bbs/memory only/CmdWork.md new file mode 100644 index 000000000..424591442 --- /dev/null +++ b/docs/bbs/memory only/CmdWork.md @@ -0,0 +1,12 @@ +# CMD WORK + +This isn't a file, but a memory region in the executable. + +## COMMAND WORK DATA + +| Offset | Type | Description +|---------|--------|------------ +| 0x0 | [CampCmd](./CampCmd.md)[569] | Command Work +| 0x163A | int16 | Camp Command +| 0x1654 | int16 | Maximum Camp Commands +| 0x166E | [CmdFlag](./CmdFlag.md)[302] | Command Flags \ No newline at end of file diff --git a/docs/bbs/memory only/GameInfo.md b/docs/bbs/memory only/GameInfo.md index 871005b9e..8af6925c8 100644 --- a/docs/bbs/memory only/GameInfo.md +++ b/docs/bbs/memory only/GameInfo.md @@ -7,4 +7,12 @@ This isn't a file, but a memory region in the executable. | Offset | Type | Description |---------|--------|------------ | 0x0 | uint32 | Play Time -| 0x4 | uint32[3] | Padding \ No newline at end of file +| 0x4 | uint32[3] | Padding + +## GAME INFO RELATED ENUM + +| Name | Value | Description +|-----------------|----------------|------------ +| START_PLAYTIME | 0x0 | +| MAX_PLAYTIME_S | 0x36EE7F | +| MAX_PLAYTIME_F | 0xCDFE5C4 | \ No newline at end of file diff --git a/docs/bbs/memory only/StatusInfo.md b/docs/bbs/memory only/StatusInfo.md index 685396f21..d9c0268b2 100644 --- a/docs/bbs/memory only/StatusInfo.md +++ b/docs/bbs/memory only/StatusInfo.md @@ -32,4 +32,15 @@ This isn't a file, but a memory region in the executable. | 0xB96 | uint16 | Player Weapon ID | 0xB98 | uint16 | Selected Finisher | 0xB9A | uint16 | Ability Points? -| 0xB9C | int16[14] | Padding \ No newline at end of file +| 0xB9C | int16[14] | Padding + +## STATUS INFO RELATED ENUM + +| Name | Value | Description +|-----------------|----------------|------------ +| START_ARMOR_COLOR | 0xFF808080 | +| ARMOR_COLOR_MIN | 0x40 | +| ARMOR_COLOR_MAX | 0xC0 | +| MAX_LEVEL | 0x63 | +| MAX_MEDAL | 0x1869F | +| MAX_MUNNIE | 0xF423F | \ No newline at end of file