/
scrubs.event
60 lines (55 loc) · 1.29 KB
/
scrubs.event
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#ifndef bottleScrubItem
#define bottleScrubItem 0x1C
#endif
#ifndef bottleScrubSub
#define bottleScrubSub 0xFF
#endif
#ifndef gripScrubItem
#define gripScrubItem 0x44
#endif
#ifndef gripScrubSub
#define gripScrubSub 0xFF
#endif
//#ifndef stoneScrubItem
// #define stoneScrubItem 0x5C
//#endif
//#ifndef stoneScrubSub
// #define stoneScrubSub 0xFF
//#endif
PUSH; ORG $28D70; jumpToHack(scrubHackBottle); POP
ALIGN 4
scrubHackBottle:
#incbin "asm/scrubHack.dmp"
POIN scrubTable
POIN $28D7B
PUSH; ORG $28D80; jumpToHack(scrubHackGrip); POP
ALIGN 4
scrubHackGrip:
#incbin "asm/scrubHack.dmp"
POIN scrubTable
POIN $28D89
//PUSH; ORG $28D4C; jumpToHack(scrubHackStone); POP
//ALIGN 4
//scrubHackStone:
//#incbin "asm/scrubHack.dmp"
//POIN scrubTable
//POIN $28D55
ALIGN 4
scrubTable: //POIN scrub's shop data; SHORT newItemID newItemSubID
POIN $CC0B8; SHORT bottleScrubItem bottleScrubSub
POIN $CC0A0; SHORT gripScrubItem gripScrubSub
//POIN $CC0DC; SHORT stoneScrubItem stoneScrubSub
WORD 0 0 //terminator
//fix grip scrub flag
PUSH; ORG $29130; jumpToHack(gripScrub1); POP
ALIGN 4
gripScrub1:
#incbin "asm/gripScrub1.dmp"
PUSH; ORG $2916C; jumpToHack(gripScrub2); POP
ALIGN 4
gripScrub2:
#incbin "asm/gripScrub2.dmp"
PUSH; ORG $29200; jumpToHack(gripScrub3); POP
ALIGN 4
gripScrub3:
#incbin "asm/gripScrub3.dmp"