diff options
author | mid-kid <esteve.varela@gmail.com> | 2018-03-14 13:28:36 +0100 |
---|---|---|
committer | mid-kid <esteve.varela@gmail.com> | 2018-03-14 13:28:36 +0100 |
commit | 97c511cd2f271252cbc9e9746668081422231ca5 (patch) | |
tree | 35ef1cb72e871ef34e2b0011e514edae2b9cbcb7 /engine/routines/printitemdescription.asm | |
parent | baa0dc5a963a79843b37888bcfe1d2dfe833ade9 (diff) |
Organize the engine/ directory, take 2
Renamed `game` to `games` and `menu` to `menus`.
Moved some functions from `engine/routines/` to their fitting subdirectories.
Made two new subdirectories:
* engine/rtc: Contains all RTC-related things. Menus, hardware, misc
functions.
* engine/items: Contains all item-related things. Pack, item effects,
other item handlers.
Diffstat (limited to 'engine/routines/printitemdescription.asm')
-rw-r--r-- | engine/routines/printitemdescription.asm | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/engine/routines/printitemdescription.asm b/engine/routines/printitemdescription.asm deleted file mode 100644 index 2a9007b97..000000000 --- a/engine/routines/printitemdescription.asm +++ /dev/null @@ -1,31 +0,0 @@ -PrintItemDescription: ; 0x1c8955 -; Print the description for item [wCurSpecies] at de. - - ld a, [wCurSpecies] - cp TM01 - jr c, .not_a_tm - - ld [wCurItem], a - push de - farcall GetTMHMItemMove - pop hl - ld a, [wd265] - ld [wCurSpecies], a - predef PrintMoveDesc - ret - -.not_a_tm - push de - ld hl, ItemDescriptions - ld a, [wCurSpecies] - dec a - ld c, a - ld b, 0 - add hl, bc - add hl, bc - ld e, [hl] - inc hl - ld d, [hl] - pop hl - jp PlaceString -; 0x1c8987 |