2.5 KiB
2.5 KiB
- If the listtype isn't a questboard list
- Determine the text to render and if we are going to render at all via SetText according to the listtype
- Create a white 9Box at the bottom left portion of the screen that will have the description
- If
sell:- Set the HUD to show the berry count.
- Set flagvar 10 to half the buying price rounded down of the item obtained from
itemdataaccording to the listtype as the item type andoptionas the item id clamped from 1 to 999. - Prepend the input string prepared earlier with the secondary string obtained earlier followed by
-+ the sell price display line with a Currency command at MenuText 49 + |line|
- Calls SetText in non Dialogue mode with the following:
- |single||singlebreak, + itemdescbreak (This is 10.5 normally) +
|+ the final text determined earlier BubblegumSansfont- no linebreak
- no tridimensional
- position at (-5.25, 0.6)
- no cameraoffset
- size at (0.75, 0.75)
- parent is the 9Box created earlier
- no caller
- |single||singlebreak, + itemdescbreak (This is 10.5 normally) +
- Set
listdescboxas the 9Box created earlier.
- If the currently selected quest isn't None:
- Create the
listdescbox. - Render an image of the quest id
option's author usinglibraryspritesfrom the index obtained in BoardQuestData which will have a name ofImageand a tag ofText. - Calls SetText with the following in non Dialogue mode:
text: |size,0.75||sort,1| + TheBy:from MenuText 104 ++ The author of the quest idoptionobtained fromboardquestdata+ |line||halfline| + TheDifficulty:from MenuText 105 ++ |Stars, + The amount of filled in stars of the quest idoptionobtained fromboardquestdata+|.position: (12, 0.35).parent:listdescbox.
- Create the