The (Un)Used Item Obtained Fanfare
For BPRE v1.0
People who've played FR/LG know that the Level Up fanfare also plays any time you obtain an item (unless specified in a scripted event). The offsets that make that so are at
1A6765 and
1A6769. The former's value is that of the tune that plays whenever the XSE parameters MSG_FIND or MSG_OBTAIN functions are called (also, if one finds a hidden item). The latter value is the same, but only applies if the item is a TM or HM.
Both locations have their bytes as
01 01 in the ROM, which corresponds to song
0x101, the Level Up fanfare. You can change these values to refer to whatever tune you'd like. For the sake of making things feel a bit more correct, let's have the former location use the Item Obtained fanfare (
0x102) and the latter location use the TM/HM Obtained fanfare (
0x105). For this, change the line of bytes from 1A6763 to 1A676A from
to
Code:
03 31 [B]02 01[/B] 03 31 [B]05 01[/B]
Note that this doesn't apply to events that play tunes that are defined in the scripts themselves, like with XSE's "fanfare" command.