Skip to content

Commit

Permalink
Add PaperJerome26 to MineEast room
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsteele committed Sep 5, 2024
1 parent 995fb9c commit a6d7b0f
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/dialog.asm
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
.IMPORT DataA_Dialog_PaperJerome22_sDialog
.IMPORT DataA_Dialog_PaperJerome23_sDialog
.IMPORT DataA_Dialog_PaperJerome24_sDialog
.IMPORT DataA_Dialog_PaperJerome26_sDialog
.IMPORT DataA_Dialog_PaperJerome27_sDialog
.IMPORT DataA_Dialog_PaperJerome28_sDialog
.IMPORT DataA_Dialog_PaperJerome29_sDialog
Expand Down Expand Up @@ -526,6 +527,7 @@ _Finish:
d_entry t, PaperJerome22, DataA_Dialog_PaperJerome22_sDialog
d_entry t, PaperJerome23, DataA_Dialog_PaperJerome23_sDialog
d_entry t, PaperJerome24, DataA_Dialog_PaperJerome24_sDialog
d_entry t, PaperJerome26, DataA_Dialog_PaperJerome26_sDialog
d_entry t, PaperJerome27, DataA_Dialog_PaperJerome27_sDialog
d_entry t, PaperJerome28, DataA_Dialog_PaperJerome28_sDialog
d_entry t, PaperJerome29, DataA_Dialog_PaperJerome29_sDialog
Expand Down
1 change: 1 addition & 0 deletions src/dialog.inc
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ kDialogEntryCutscene = $ff ; ends the dialog and starts a new cutscene
PaperJerome22
PaperJerome23
PaperJerome24
PaperJerome26
PaperJerome27
PaperJerome28
PaperJerome29
Expand Down
1 change: 1 addition & 0 deletions src/newgame.asm
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ _SetFlags:
.byte eFlag::UpgradeRam3
.byte eFlag::BreakerLava
.byte eFlag::UpgradeOpSync
.byte eFlag::PaperJerome26 ; room: MineEast
.byte eFlag::PaperJerome09 ; room: MineNorth
.byte eFlag::BossMine
.byte eFlag::UpgradeRam4
Expand Down
13 changes: 11 additions & 2 deletions src/paper.asm
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@
.IMPORT DataA_Text2_PaperJerome23_Page2_u8_arr
.IMPORT DataA_Text2_PaperJerome24_Page1_u8_arr
.IMPORT DataA_Text2_PaperJerome24_Page2_u8_arr
.IMPORT DataA_Text2_PaperJerome26_Page1_u8_arr
.IMPORT DataA_Text2_PaperJerome26_Page2_u8_arr
.IMPORT DataA_Text2_PaperJerome27_Page1_u8_arr
.IMPORT DataA_Text2_PaperJerome27_Page2_u8_arr
.IMPORT DataA_Text2_PaperJerome27_Page3_u8_arr
Expand Down Expand Up @@ -305,7 +307,7 @@ Ram_CollectedPapers_u8_arr: .res kPaperGridCols
d_byte eFlag::PaperJerome23, eDialog::PaperJerome23
d_byte eFlag::PaperJerome24, eDialog::PaperJerome24
d_byte eFlag::PaperJerome25, 0 ; TODO
d_byte eFlag::PaperJerome26, 0 ; TODO
d_byte eFlag::PaperJerome26, eDialog::PaperJerome26
d_byte eFlag::PaperJerome27, eDialog::PaperJerome27
d_byte eFlag::PaperJerome28, eDialog::PaperJerome28
d_byte eFlag::PaperJerome29, eDialog::PaperJerome29
Expand Down Expand Up @@ -357,7 +359,7 @@ Ram_CollectedPapers_u8_arr: .res kPaperGridCols
d_byte eFlag::PaperJerome23, eArea::Core ; room: CoreLock
d_byte eFlag::PaperJerome24, eArea::City ; room: CityBuilding1
d_byte eFlag::PaperJerome25, $ff ; TODO
d_byte eFlag::PaperJerome26, $ff ; TODO
d_byte eFlag::PaperJerome26, eArea::Mine ; room: MineEast
d_byte eFlag::PaperJerome27, eArea::Lava ; room: LavaTunnel
d_byte eFlag::PaperJerome28, eArea::Temple ; room: TempleChevet
d_byte eFlag::PaperJerome29, eArea::Mermaid ; room: MermaidElevator
Expand Down Expand Up @@ -876,6 +878,13 @@ _Right:
dlg_Done
.ENDPROC

.EXPORT DataA_Dialog_PaperJerome26_sDialog
.PROC DataA_Dialog_PaperJerome26_sDialog
dlg_Text Paper, DataA_Text2_PaperJerome26_Page1_u8_arr
dlg_Text Paper, DataA_Text2_PaperJerome26_Page2_u8_arr
dlg_Done
.ENDPROC

.EXPORT DataA_Dialog_PaperJerome27_sDialog
.PROC DataA_Dialog_PaperJerome27_sDialog
dlg_Text Paper, DataA_Text2_PaperJerome27_Page1_u8_arr
Expand Down
8 changes: 7 additions & 1 deletion src/rooms/mine_east.asm
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ _Platforms_sPlatform_arr:
_Actors_sActor_arr:
: D_STRUCT sActor
d_byte Type_eActor, eActor::BadFirefly
d_word PosX_i16, $00e8
d_word PosX_i16, $00e4
d_word PosY_i16, $00b0
d_byte Param_byte, (bBadFirefly::ThetaMask & $00) | bBadFirefly::FlipH
D_END
Expand All @@ -247,6 +247,12 @@ _Devices_sDevice_arr:
d_byte BlockCol_u8, 13
d_byte Target_byte, kLiftMachineIndex
D_END
D_STRUCT sDevice
d_byte Type_eDevice, eDevice::Paper
d_byte BlockRow_u8, 9
d_byte BlockCol_u8, 15
d_byte Target_byte, eFlag::PaperJerome26
D_END
.assert * - :- <= kMaxDevices * .sizeof(sDevice), error
.byte eDevice::None
_Passages_sPassage_arr:
Expand Down
2 changes: 1 addition & 1 deletion src/rooms/mine_east.bg
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ GGGEGGGB EAEB ECEFEFEFEFEJ
EMEMEMEH ECED CL ANEG
EMEMEIEDAN CP AP EG
EMEPEH CL EG
EMEMED AO CL EG
EMEMED AO CL GKEG
EMEMEH AN CN EG
EMEMEKGEGDGNGL CL EG
EMEMEMEIED CLAN EG
Expand Down
14 changes: 13 additions & 1 deletion src/text/text2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Honor. Valor. All fine
qualities.#

@PaperJerome09_Page2
But I fear they are
But I regret they are
fast losing sight of
what they claim their
convictions stand for.#
Expand Down Expand Up @@ -277,6 +277,18 @@ change humans before
they aren't remotely
human anymore?#

@PaperJerome26_Page1
Day 26: Once their
frustration with us
boiled over, the orcs
attacked.#

@PaperJerome26_Page2
It was more riot than
war, but the conflict
lasted five years. The
mermaids were no help.#

@PaperJerome27_Page1
Day 27: By 2250 things
had settled down a
Expand Down

0 comments on commit a6d7b0f

Please sign in to comment.