summaryrefslogtreecommitdiff
path: root/Infinitely-reusable-TMs.md
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2019-02-10 01:24:40 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2019-02-10 01:24:40 -0500
commit8417fc7953a0efeb0cff4337afdd7142d82d65a2 (patch)
tree19887512d7ea699d18e581253f93baf3e3fe3e34 /Infinitely-reusable-TMs.md
parent78a35734a9ecb1fa67a19b1f696a659c3ba68f38 (diff)
Edit
Diffstat (limited to 'Infinitely-reusable-TMs.md')
-rw-r--r--Infinitely-reusable-TMs.md17
1 files changed, 9 insertions, 8 deletions
diff --git a/Infinitely-reusable-TMs.md b/Infinitely-reusable-TMs.md
index 91ea008..b53a8d5 100644
--- a/Infinitely-reusable-TMs.md
+++ b/Infinitely-reusable-TMs.md
@@ -315,19 +315,20 @@ First, edit [maps/MrPsychicsHouse.asm](..blobs/master/maps/MrPsychicsHouse.asm):
```diff
MrPsychic:
- faceplayer
- opentext
+ faceplayer
+ opentext
- checkevent EVENT_GOT_TM29_PSYCHIC
+ checkitem TM_PSYCHIC_M
- iftrue .AlreadyGotItem
- writetext MrPsychicText1
- buttonsound
- verbosegiveitem TM_PSYCHIC_M
- iffalse .Done
+ iftrue .AlreadyGotItem
+ writetext MrPsychicText1
+ buttonsound
+ verbosegiveitem TM_PSYCHIC_M
+ iffalse .Done
- setevent EVENT_GOT_TM29_PSYCHIC
+ ...
```
-This change just makes the check an item check instead of event check so that if TM29 has been purchased from the Celadon Game Corner Mr. Psychic doesn't give the player another one.
+This change just makes the check an item check instead of event check, so that if TM29 has been purchased from the Celadon Game Corner, Mr. Psychic won't give the player another one.
Now edit [maps/DarkCaveBlackthornEntrance.asm](../blob/master/maps/DarkCaveBlackthornEntrance.asm):