SaffronCity_MrPsychicsHouse_MapScripts:: .byte 0 SaffronCity_MrPsychicsHouse_EventScript_MrPsychic:: lock faceplayer goto_if_set FLAG_GOT_TM29_FROM_MR_PSYCHIC, SaffronCity_MrPsychicsHouse_EventScript_AlreadyGotTM29 msgbox SaffronCity_MrPsychicsHouse_Text_YouWantedThis checkitemspace ITEM_TM29, 1 compare VAR_RESULT, FALSE goto_if_eq SaffronCity_MrPsychicsHouse_EventScript_NoRoomForTM29 giveitem_msg SaffronCity_MrPsychicsHouse_Text_ReceivedTM29FromMrPsychic, ITEM_TM29 msgbox SaffronCity_MrPsychicsHouse_Text_ExplainTM29 setflag FLAG_GOT_TM29_FROM_MR_PSYCHIC release end SaffronCity_MrPsychicsHouse_EventScript_NoRoomForTM29:: msgbox SaffronCity_MrPsychicsHouse_Text_YouveNoRoom release end SaffronCity_MrPsychicsHouse_EventScript_AlreadyGotTM29:: msgbox SaffronCity_MrPsychicsHouse_Text_ExplainTM29 release end