EventScript and Text Documentation
In event_script.s. Also renamed a couple events for consistency/detail.
This commit is contained in:
@@ -390,11 +390,11 @@ static const u8 *GetInteractedMetatileScript(struct MapPosition *position, u8 me
|
||||
if (MetatileBehavior_IsBookShelf(metatileBehavior) == TRUE)
|
||||
return EventScript_BookShelf;
|
||||
if (MetatileBehavior_IsPokeCenterBookShelf(metatileBehavior) == TRUE)
|
||||
return EventScript_PokemonCenterBookshelf;
|
||||
return EventScript_PokemonCenterBookShelf;
|
||||
if (MetatileBehavior_IsVase(metatileBehavior) == TRUE)
|
||||
return EventScript_Vase;
|
||||
if (MetatileBehavior_IsTrashCan(metatileBehavior) == TRUE)
|
||||
return EventScript_TrashCan;
|
||||
return EventScript_EmptyTrashCan;
|
||||
if (MetatileBehavior_IsShopShelf(metatileBehavior) == TRUE)
|
||||
return EventScript_ShopShelf;
|
||||
if (MetatileBehavior_IsBlueprint(metatileBehavior) == TRUE)
|
||||
|
||||
@@ -447,7 +447,7 @@ static EWRAM_DATA struct TempWallyStruct *gUnknown_0203CE80 = 0;
|
||||
|
||||
extern u8 *const gPocketNamesStringsTable[];
|
||||
extern u8* gReturnToXStringsTable[];
|
||||
extern const u8 EventScript_2736B3[];
|
||||
extern const u8 EventScript_SelectWithoutRegisteredItem[];
|
||||
extern const u16 gUnknown_0860F074[];
|
||||
|
||||
void ResetBagScrollPositions(void)
|
||||
@@ -1900,7 +1900,7 @@ bool8 UseRegisteredKeyItemOnField(void)
|
||||
else
|
||||
gSaveBlock1Ptr->registeredItem = ITEM_NONE;
|
||||
}
|
||||
ScriptContext1_SetupScript(EventScript_2736B3);
|
||||
ScriptContext1_SetupScript(EventScript_SelectWithoutRegisteredItem);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user