Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
chapter 4 title
Browse files Browse the repository at this point in the history
Signed-off-by: laqieer <[email protected]>
  • Loading branch information
laqieer committed Feb 21, 2020
1 parent 665e330 commit aab1821
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ process_gfx(GFX_SRCS font.grit title_screen.grit standing_sprite_Alfonse.grit mo
process_gfx_portrait(GFX_SRCS_PORTRAIT portrait_alfonse.grit portrait_Anna_commander.grit portrait_Sharena_princess.grit portrait_Bruno.grit portrait_Xander.grit portrait_Veronica.grit)

add_executable(${PROJECT_NAME} ${DIR_SRCS} ${GFX_SRCS} ${GFX_SRCS_PORTRAIT}
src/res/chapter_title/chapter_title_pre.s src/res/chapter_title/chapter_title_1.s src/res/chapter_title/chapter_title_2.s src/res/chapter_title/chapter_title_3.s
src/res/chapter_title/chapter_title_pre.s src/res/chapter_title/chapter_title_1.s src/res/chapter_title/chapter_title_2.s src/res/chapter_title/chapter_title_3.s src/res/chapter_title/chapter_title_4.s
src/res/map/map/map_chap_pre.s src/res/map/map/map_chap_1.s src/res/map/map/map_chap_2.s src/res/map/map/map_chap_3.s src/res/map/map/map_chap_4.s
src/res/map/event/event_chap_template.s src/res/map/event/event_chap_pre.s src/res/map/event/event_chap_1.s src/res/map/event/event_chap_2.s src/res/map/event/event_chap_3.s
src/res/character_palette/character_palette_Alfonse.s src/res/character_palette/character_palette_Anna.s src/res/character_palette/character_palette_Sharena.s src/res/character_palette/character_palette_Xander.s
Expand Down
2 changes: 2 additions & 0 deletions include/text_id.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@
#define TEXT_CHAP_3_OP_2 0x1253
#define TEXT_CHAP_3_ED 0x1254

#define TEXT_CHAP_4_TITLE 0x1255

#endif //FE7_JP_STUNNING_TRIBBLE_TEXT_ID_H
11 changes: 6 additions & 5 deletions src/chapter_title.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ extern u8 chapter_title_pre[];
extern u8 chapter_title_1[];
extern u8 chapter_title_2[];
extern u8 chapter_title_3[];
extern u8 chapter_title_4_lz[];

const u8 * chapterTitles[] = {
chapter_title_pre, //0x84090a4,
chapter_title_1, //0x8409464,
chapter_title_2, //0x84097c4,
chapter_title_3, //0x8409b1c,
0x8409ef0,
chapter_title_pre,
chapter_title_1,
chapter_title_2,
chapter_title_3,
chapter_title_4_lz,
0x840a280,
0x840a634,
0x840a9b0,
Expand Down
70 changes: 70 additions & 0 deletions src/res/chapter_title/chapter_title_4.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
/* Generated by BIN2S - please don't edit directly */
.section .rodata
.balign 4
.global chapter_title_4_lz_size
.global chapter_title_4_lz
chapter_title_4_lz:
.byte 16, 0, 8, 0, 63, 0, 0,240, 1,240, 1,240, 1,240, 1,240
.byte 1,240, 1,212,240, 1, 64, 1,160, 0, 3,122, 0, 6, 78, 0
.byte 0, 0,234,228, 0, 0, 74,183, 0, 1,160, 71,139, 0,122,228
.byte 184, 16, 28, 5,170, 8, 0, 0,212, 0, 3,228, 0, 3, 11,116
.byte 8, 0,144, 0, 7,160, 0, 7, 16, 3,160, 16, 58,170, 0, 33
.byte 93,160,186,187, 76, 0,160, 69, 68, 68,153,185, 75,199, 0, 91
.byte 68, 68, 68,238, 76,231,172, 4,136, 78, 68, 68, 10, 0, 33,173
.byte 170, 0, 10, 0,190,203,174, 10, 68, 68, 2,117,169, 74,199,187
.byte 136, 0, 30,199, 0,170,235,196,238, 68, 68,228,136,248,208,136
.byte 16, 47, 16, 86, 80, 3, 48, 1,222,221, 0, 1, 0, 76, 68, 0
.byte 0,205,204,128, 42, 80,208, 0, 3, 92, 16, 8,221,221,221,221
.byte 128, 0, 83, 68,204, 78,205,204,192, 68, 0, 13, 0, 93,228,206
.byte 14, 77,228, 2, 76,236,196,238,205,196, 16, 31,237, 0,208,204
.byte 204,196,192, 68, 68,220, 0,192,196,204, 0,192,228,221, 0,129
.byte 32, 7,196,205, 14,192,196,197, 16, 31, 8,204,204,204, 12, 0
.byte 62, 5,204,204, 0,236, 5,221,221, 93, 5,204,206, 4,204, 12
.byte 192, 4,236, 0, 3, 76, 12,192, 48,106, 0,118,224,228, 0,192
.byte 204,212, 0,204, 80, 68, 84,213, 0, 94,229,221, 0,142, 0, 26
.byte 78, 64, 30, 16,161, 0, 3, 76, 0, 38, 21,204, 69,220, 0, 79
.byte 222, 0, 30, 14, 32, 34,200, 80, 1, 0, 99,204, 76, 0,100,205
.byte 221,221, 0,196, 0,192,229, 12, 0, 76,228, 4,229,206, 68,228
.byte 77, 48, 29,192,236, 0, 12, 0, 77,206, 12, 0,192, 68, 16, 14
.byte 0,204, 0,231, 76, 76,220, 0, 4,192, 77,212, 14,208, 1,143
.byte 0, 0, 78,220, 0,223,196, 77, 1, 83, 0,198, 0, 69,197, 2
.byte 204,238, 78,229, 12,206, 0, 97, 78, 85, 68, 32, 97, 13, 0, 64
.byte 12, 0,227, 13, 0,227, 6,204,222,204,204,206, 0,104, 0,112
.byte 220, 24, 0, 0,206, 32, 63, 17, 52,196,204,205, 0,236, 68, 68
.byte 76,222,196,236,212,128, 17, 43,196, 68,197,204,204, 68,204,255
.byte 145, 78,240, 1,240, 1,240, 1,240, 1,240, 1,240, 1,240, 1
.byte 255,240, 1,240, 1,240, 1,240, 1,240, 1,240, 1,240, 1,240
.byte 1,255,240, 1,240, 1,240, 1,240, 1,240, 1,240, 1,240, 1
.byte 240, 1,248,240, 1,240, 1,240, 1,240, 1,227,248, 75,135,176
.byte 4,160,117,187,187,160, 2, 20,160,136, 45,136,187, 0, 18,186
.byte 0, 21, 2,151,128, 35,155,130, 19,243,228,172, 8, 0, 68, 3
.byte 236,228, 8,204, 8, 0,196, 0, 21,116,172, 0, 42, 0,136, 67
.byte 185,160, 3,231,160, 2,111,154, 8,172,153, 74,234, 0, 67,202
.byte 236,238, 4, 75,128,136,136, 74, 52, 79, 0,128, 16,170,235,228
.byte 3,247,196, 10,206,136, 32,136,168, 0, 30,141,231,238,206,139
.byte 7,135,136,136, 8,140,163,223,240, 1,112, 1,108,192, 19, 15
.byte 3,199,221,131, 77,112, 1,236,238, 10,224, 76, 14,238, 3,126
.byte 238, 4, 15,238,224, 0, 16, 80, 3, 66,218,220,192,212, 69,196
.byte 0,192,228,204, 12,208,197, 13, 0, 16, 77,204, 4, 3,164,196
.byte 0, 76,205,160, 3,204,192, 32, 79, 69, 84, 69, 12, 92, 72,196
.byte 19,239,192, 13, 0, 3, 4, 92,196, 3, 92, 4,238,238, 78, 4
.byte 19, 82, 32,125, 0,196, 0,205,224,196,205, 68, 76, 4, 12, 76
.byte 204,205, 12, 19,209, 76, 84,226, 0, 21, 99, 56, 0, 17,208, 68
.byte 236, 19,172, 13, 0, 0, 76, 77,196, 0, 84,205,222,192, 80,122
.byte 32, 1, 77,197, 12,224,196, 92, 2,228, 12,205,228, 76,213, 4
.byte 114,228, 72,208, 5, 19, 0,206,115,120, 78, 12,221,138, 32, 91
.byte 76, 12,205, 20,172,208, 3,247, 76,208, 4,108, 0,243,192, 3
.byte 191, 0, 0,197,204, 16,205,204,196, 1, 56,197,196,197,206, 75
.byte 206, 32, 3,196,197, 20, 71,222, 4, 19, 16, 31, 0, 12,204, 68
.byte 68, 4, 76, 78,222, 0, 4,206,224, 68, 4, 0,224,197, 72,196
.byte 48, 3, 68,237, 64,191, 68, 68,212,167, 5, 31,213, 32, 7,204
.byte 204, 48, 3, 16, 11, 97, 32,255,240, 1,240, 1,240, 1,240, 1
.byte 240, 1,240, 1,240, 1,240, 1,255,240, 1,240, 1,240, 1,240
.byte 1,240, 1,240, 1,240, 1,240, 1,252,240, 1,240, 1,240, 1
.byte 240, 1,240, 1, 32, 1, 0, 0

.global chapter_title_4_lz_end
chapter_title_4_lz_end:

.balign 4
chapter_title_4_lz_size: .int 920
1 change: 1 addition & 0 deletions src/text.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ const char* const texts[] = {
"一度退かせてもらうよ。" TCC_NEWLINE
"次の戦いで、決着をつけよう。" TCC_PUSH_A,

[TEXT_CHAP_4_TITLE] = "不屈なる猛者",
};

extern int lastTextID;
Expand Down

0 comments on commit aab1821

Please sign in to comment.