Skip to content

Commit

Permalink
Changes to many files
Browse files Browse the repository at this point in the history
  • Loading branch information
Truthkey committed Jul 13, 2024
1 parent cd3d6e0 commit fa3be1b
Show file tree
Hide file tree
Showing 6 changed files with 111 additions and 10 deletions.
13 changes: 10 additions & 3 deletions docs/bbs/file/type/mission.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
|--------|-------
Expand All @@ -77,17 +79,22 @@ 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
| 1 | Obtain Item
| 2 | Obtain Command

### General Path

| Value | Description
|--------|-------
| 0 | GENERAL_PATH_START
Expand Down
30 changes: 30 additions & 0 deletions docs/bbs/memory only/CampCmd.md
Original file line number Diff line number Diff line change
@@ -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
43 changes: 38 additions & 5 deletions docs/bbs/memory only/CampWork.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
| 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
12 changes: 12 additions & 0 deletions docs/bbs/memory only/CmdWork.md
Original file line number Diff line number Diff line change
@@ -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
10 changes: 9 additions & 1 deletion docs/bbs/memory only/GameInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
| 0x4 | uint32[3] | Padding

## GAME INFO RELATED ENUM

| Name | Value | Description
|-----------------|----------------|------------
| START_PLAYTIME | 0x0 |
| MAX_PLAYTIME_S | 0x36EE7F |
| MAX_PLAYTIME_F | 0xCDFE5C4 |
13 changes: 12 additions & 1 deletion docs/bbs/memory only/StatusInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
| 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 |

0 comments on commit fa3be1b

Please sign in to comment.