QUEST MENU PUBLIC SOURCE CODE
- Public source code for side quest menu hack
- This system is an organization tool for the player to track their side quests or tasks throughout the game.
Features:
- Hacks the PC Item Storage to show side quests instead of pc items.
- Quests that have yet to be 'unlocked' show up as '??????'
- Quest Description includes an item image chosen by the developer (see src/description.asm)
- Allows player to keep track of active and completed quests
- Includes a short description and potential for further details if the player forgets what their current quest is
Compilation:
- Install GNU make and DevkitARM (see pokecommunity forums for further detail)
- Place a bpre0.gba in the extracted folder
- Edit insertion address at bottom of insert.s
- Edit all custom RAM definitions in src/headers/defs.asm 4a. The activation flags cause the quest name to appear in the menu. You need number of activation flags in succession starting at flag 0x"ActiveFlags", and completion flags in succession, starting from "CompletionFlags"
- Make table of quest names at bottom of src/quest_names.asm
- Make table of quest descriptions/item IDs in src/quest_descriptions.asm
- Make table of quest details in src/quest_selected.asm
- Open command prompt at this directory and type 'make'
How to Use:
-
In a script (XSE): writebytetooffset 0x1 [QUESTFLAG_RAM] // set the hack ram flag
fadescreen 0x1
callasm 0x80EBCD9 // open the menu
waitstate
-
No need to reset the flag, the callback function takes care of this.
Old Example: https://imgur.com/QMNaMDN
credits to koople