mirror of https://github.com/pret/pokeemerald.git
grammar
parent
3961ad70ab
commit
4ded2aea81
|
@ -33,7 +33,7 @@ static void Task_LearnedMove(u8 taskId)
|
||||||
```
|
```
|
||||||
If you were to stop here, TMs can still be given to Pokemon and you can still see the number in the bag. The next step will address this.
|
If you were to stop here, TMs can still be given to Pokemon and you can still see the number in the bag. The next step will address this.
|
||||||
## 2. Treat TMs as HMs in the bag
|
## 2. Treat TMs as HMs in the bag
|
||||||
`struct Item` has a field `importance`. If this field has a nonzero value, then the item is treated like a key item, and cannot be held, tossed, deposited in the PC, and it will not display an item count in the bag. Furthermore, items with a price of 0 cannot be sold.
|
`struct Item` has a field `importance`. If this field has a nonzero value, then the item is treated like a key item, and cannot be held, tossed, or deposited in the PC, and it will not display an item count in the bag. Furthermore, items with a price of 0 cannot be sold.
|
||||||
|
|
||||||
Edit [src/data/items.h](../blob/master/src/data/items.h):
|
Edit [src/data/items.h](../blob/master/src/data/items.h):
|
||||||
```diff
|
```diff
|
||||||
|
|
Loading…
Reference in New Issue