Metal64
Member
- Joined
- Aug 3, 2022
- Messages
- 14
I've hacked the original aladdin for sega genesis (1993) extensively for yearss, so I decided to share my findings in here.
-----------------------------------------------------------------------------------------------
initial quantities of lifes in practice mode
0x1b0048
00 35
initial quantities of lifes in normal mode
0x1b0056
00 33
initial quantities of lifes in difficult mode
0x1b0064
00 32
initial quantities of apples in practice mode
0x1aa670
31 35
initial quantities of apples in normal mode
0x1aa67e
31 30
initial quantities of apples in difficult mode
0x1aa68c
30 35
initial quantities of gems (all mode)
0x1aa666
30 30
In the game, the aladdin's life limit is "9" (00 39).
Example: If you want to change the initial life amount in the normal mode from "3" to "7", you will need to use "00 37". Do not use "30 37" (07), as this will glitch the amount of life
apples and gems have a limit of "99" (39 39).
dec to hex
08 = 30 38
18 = 31 38
32 = 33 32
99 = 39 39
--------------------------------------------------------------------------------------------------------------------------
Commands
"START"
"UP"
"DOWN"
"LEFT"
"RIGHT"
"A"
"B"
"C"
Entities Data
-----------------------------------------------------------------------------------------------
initial quantities of lifes in practice mode
0x1b0048
00 35
initial quantities of lifes in normal mode
0x1b0056
00 33
initial quantities of lifes in difficult mode
0x1b0064
00 32
initial quantities of apples in practice mode
0x1aa670
31 35
initial quantities of apples in normal mode
0x1aa67e
31 30
initial quantities of apples in difficult mode
0x1aa68c
30 35
initial quantities of gems (all mode)
0x1aa666
30 30
In the game, the aladdin's life limit is "9" (00 39).
Example: If you want to change the initial life amount in the normal mode from "3" to "7", you will need to use "00 37". Do not use "30 37" (07), as this will glitch the amount of life
apples and gems have a limit of "99" (39 39).
dec to hex
08 = 30 38
18 = 31 38
32 = 33 32
99 = 39 39
--------------------------------------------------------------------------------------------------------------------------
Commands
"START"
Code:
1b3208 0839000500FFF155 BTST #$ 5, $FFF1555.1
1b3219 4e75 rts
"UP"
Code:
1b3212 0839000000FFF156 BTST #$ 0, $FFF1556.1
1b321A 4e75 rts
"DOWN"
Code:
1b321C 0839000100FFF156 BTST #$ 1, $FFF1556.1
1b3224 4e75 rts
"LEFT"
Code:
1b3216 0839000200FFF156 BTST #$ 2, $FFF1556.1
1b322E 4e75 rts
"RIGHT"
Code:
1b3230 0839000300FFF156 BTST #$ 3, $FFF1556.1
1b3238 4e75 rts
"A"
Code:
1b323A 0839000400FFF155 BTST #$ 4, $FFF1555.1
1b3242 4e75 rts
"B"
Code:
1b3244 0839000400FFF156 BTST #$ 4, $FFF1556.1
1b324C 4e75 rts
"C"
Code:
1b324E 0839000500FFF156 BTST #$ 5, $FFF1556.1
1b3256 4e75 rts
Entities Data
Code:
00 - nothing
01 - flagpole
02 -
03 - iago
04 - boss iago
05 - bats
06 - pot thrower
07 - snake 2 stage
08 -
09 -
0a - knife juggler
0b - fish
0c - shiva statue
0d -
0e - snake charmer
0f - snake of the snake charmer
10 - Razoul
11 - cobra jaffar
12 - jaffar
13 - Gazeem
14 - apple thief
15 - stealing apple (power of the apple thief)
16 - skeleton
17 - ghost
18 - cave boss (5 stage)
19 -
1a - red statue
1b -
1c -
1d - Fazahl
1e - Zagoolien
1f - Hakim
20 -
21-
22 -
23 - pot that give you gem
24 -
25 -
26 -
27 -
28 -
29 - release abu
2a - pot of the pot thrower
2b - 3 stage key to market
2c - spit of the fish
2d - all knifes
2e - projectile of the shiva statues
2f - barrel
30 - fire of cave boss
31 - bones
32 - lava splash
33 -
34 - genie tokens
35 - apples
36 - black lamp
37 - magic lamp (5th stage)
38 -
39 -
3a - gem
3b - gem in the pot
3c - level complete
3d - scrab 1 (2 stage)
3e - scrab dust
3f - scrab halve cutscene
40 - apples
41 - abu token
42 - apples slice
43 - checkpoint
44 - genie heart
45 -
46 - life
47 - flute
48 - flute
49 - flute
4a - flute
4b - flute
4c - flute
4d - jaffar tractor
4e - genie hands spring
4f - genie spring
50 - genie ballon explode
51 - genie ballon ?
52- stationary genie hand plataform
53- rotary genie hand plataform
54- giant rock (rug ride stage)
55- falling block stage 2
56-
57-
58- disappearing blocks
59- spawn ghost
5a-
5b-
5c-
5d-
5e- magic carpet
5f- magic carpet lying down (9 stage)
60- magic carpet (7 stage)
61-
62- plataform sink
63-
64-
65- camel
66-
67- flamingo
68-
69- plataform
6a-
6b-
6c-
6d -
6e-
6f-
70- block
71-
72-
73-
74- plataform cave (waterfall)
75-
76- falling platafom cave
77-
78-
79- spike in the ground (2 stage)
7a-
7b- fire of the cobra jaffar
7c- pot that contain the magic rope
7d- giant rock
7e- peddler’s stall
7f- spit dromedary
80-
81-
82-
83- aladdin
84-
85-
86-
87- merchant
88-
89- rocks of cave plataform
8a- cave boss 1º plataform
8b- cave boss 2º plataform
8c- fire in charcoal
8d-
8e-
8f-