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

Commit

Permalink
bugfix: hidden treasure is area event instead of location event
Browse files Browse the repository at this point in the history
Signed-off-by: laqieer <[email protected]>
  • Loading branch information
laqieer committed Feb 22, 2020
1 parent cc7a010 commit c0d191f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions res/map/event/event_chap_5.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ ITGV SlimSword
ENDA

LocationBasedEvents:
LOCA 10 GetSlimSword [5, 2] 0
WORD 0x205 // a bug of EA Core's C mode
END_MAIN

MiscBasedEvents:
CauseGameOverIfLordDies
DefeatAll(EndingScene)
POIN 0x7AA5D // a bug of EA Core's C mode
AREA 10 GetSlimSword [5, 2] [5, 2]
WORD 0x02050205 // a bug of EA Core's C mode
END_MAIN

BeginningScene:
Expand Down
6 changes: 3 additions & 3 deletions src/res/map/event/event_chap_5.s
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ GetSlimSword:
.byte 0x59, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
.byte 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
LocationBasedEvents:
.byte 0x05, 0x00, 0x0A, 0x00
.word GetSlimSword
.byte 0x05, 0x02, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
MiscBasedEvents:
.byte 0x01, 0x00, 0x00, 0x00, 0x1C, 0xF7, 0xD6, 0x08, 0x65, 0x00, 0x00, 0x00
.byte 0x0E, 0x00, 0x00, 0x00
.word EndingScene
.byte 0x5D, 0xAA, 0x07, 0x08
.byte 0x0B, 0x00, 0x0A, 0x00
.word GetSlimSword
.byte 0x05, 0x02, 0x05, 0x02
.byte 0x00, 0x00, 0x00, 0x00
BeginningScene:
.byte 0x30, 0x00, 0x00, 0x00
Expand Down

0 comments on commit c0d191f

Please sign in to comment.