En Ossan

From CloudModding OoT Wiki
(Redirected from Ovl En Ossan)
Jump to: navigation, search
Actor 0x003D
ovl_En_Ossan
Version VRom VRam Size
Debug 00E78D10 00E7FF90 {{{ram-start}}} {{{ram-end}}} 7280
NTSC 1.0 00C6C5E0 00C72BC0 {{{ram-start}}} {{{ram-end}}} 65E0
PAL MQ 00E15D10 00E1C2F0 {{{ram-start}}} {{{ram-end}}} 65E0

Shops Entries

Version Rom Offset
NTSC 1.0 C71ED0
Debug E7EA4C

To create shops, ovl_En_Ossan simply spawns ovl_En_GirlA (0004, Shop Items) actors. These define which items are sold at what price, and the shopkeeper's dialog when the items are selected.

Format

iiii xxxx yyyy zzzz

i = Shop Item Index, as defined in ovl_En_GirlA. This value is used as the "variable" parameter when spawning the actor
x, y, z = x,y,z coordinates for spawning the ovl_En_GirlA actor.

First Record
Item x y z
000D 0032 0034 FFEC

Shops

Shopkeeper actors are for reference, and are not found in the entries.

Kokiri Shop

GlA X Y Z Get Item ID Cost Qt.
000D 0032 0034 FFEC Deku Shield 40 1
0000 0032 004C FFEC Deku Nuts (5) 15 5
0004 0050 0034 FFFD Deku Nuts (10) 30 10
0005 0050 004C FFFD Deku Stick 10 1
001D FFCE 0034 FFEC Deku Seeds (30) 30 30
002C FFCE 004C FFEC Arrows (10) 20 10
0001 FFB0 0034 FFFD Arrows (30) 60 30
0010 FFB0 004C FFFD Recovery Heart 10 16

Kakariko Potion Shop

  • Variable: 0001
  • Object Dependency: gameplay_keep (0001, Shared assets for actors (always loaded))
GlA X Y Z Get Item ID Cost Qt.
0009 0032 0034 FFEC Green Potion 30 1
0027 0032 004C FFEC Blue Fire 300 1
0008 0050 0034 FFFD Red Potion 30 1
002B 0050 004C FFFD Bottled Fairy 50 1
0000 FFCE 0034 FFEC Deku Nuts (5) 15 5
0028 FFCE 004C FFEC Bug 50 1
002A FFB0 0034 FFFD Poe 30 1
0007 FFB0 004C FFFD Fish 200 1

Bombchu Shop

  • Variable: 0002
  • Object Dependency: gameplay_keep (0001, Shared assets for actors (always loaded))
GlA X Y Z Get Item ID Cost Qt.
0018 0032 0034 FFEC Bombchu (10) 100 10
001C 0032 004C FFEC Bombchu (10) 100 10
0019 0050 0034 FFFD Bombchu (10) 100 10
0015 0050 004C FFFD Bombchu (10) 100 10
001A FFCE 0034 FFEC Bombchu (20) 180 20
0016 FFCE 004C FFEC Bombchu (20) 180 20
001B FFB0 0034 FFFD Bombchu (20) 180 20
0017 FFB0 004C FFFD Bombchu (20) 180 20

Market Potion Shop

  • Variable: 0003
  • Object Dependency: gameplay_keep (0001, Shared assets for actors (always loaded))
GlA X Y Z Get Item ID Cost Qt.
0009 0032 0034 FFEC Green Potion 30 1
0027 0032 004C FFEC Blue Fire 300 1
0008 0050 0034 FFFD Red Potion 30 1
002B 0050 004C FFFD Bottled Fairy 50 1
0000 FFCE 0034 FFEC Deku Nuts (5) 15 5
0028 FFCE 004C FFEC Bug 50 1
002A FFB0 0034 FFFD Poe 30 1
0007 FFB0 004C FFFD Fish 200 1

Market Bazaar

  • Variable: 0004
  • Object Dependency: gameplay_keep (0001, Shared assets for actors (always loaded))
GlA X Y Z Get Item ID Cost Qt.
000C 0032 0034 FFEC Hylian Shield 80 1
002F 0032 004C FFEC Bombs (5) 35 5
0000 0050 0034 FFFD Deku Nuts (5) 15 5
0010 0050 004C FFFD Recovery Heart 10 16
002C FFCE 0034 FFEC Arrows (10) 20 10
0002 FFCE 004C FFEC Arrows (50) 90 50
0005 FFB0 0034 FFFD Deku Stick 10 1
0001 FFB0 004C FFFD Arrows (30) 60 30

Kakariko Bazaar

  • Variable: 0005
  • Object Dependency: gameplay_keep (0001, Shared assets for actors (always loaded))
GlA X Y Z Get Item ID Cost Qt.
000C 0032 0034 FFEC Hylian Shield 80 1
0003 0032 004C FFEC Bombs (5) 25 5
0000 0050 0034 FFFD Deku Nuts (5) 15 5
0010 0050 004C FFFD Recovery Heart 10 16
002C FFCE 0034 FFEC Arrows (10) 20 10
0002 FFCE 004C FFEC Arrows (50) 90 50
0005 FFB0 0034 FFFD Deku Stick 10 1
0001 FFB0 004C FFFD Arrows (30) 60 30

Talon's Shop (Unused)

  • Variable: 0006
  • Object Dependency: gameplay_keep (0001, Shared assets for actors (always loaded))
GlA X Y Z Get Item ID Cost Qt.
0011 0032 0034 FFEC Lon Lon Milk & Bottle 100 1
0000 0032 004C FFEC Deku Nuts (5) 15 5
0004 0050 0034 FFFD Deku Nuts (10) 30 10
0010 0050 004C FFFD Recovery Heart 10 16
0012 FFCE 0034 FFEC Weird Egg 100 1
0005 FFCE 004C FFEC Deku Stick 10 1
0010 FFB0 0034 FFFD Recovery Heart 10 16
0010 FFB0 004C FFFD Recovery Heart 10 16

Zora Shop

  • Variable: 0007
  • Object Dependency: object_zo (00FE, Zora)
GlA X Y Z Get Item ID Cost Qt.
000F 0032 0034 FFEC Zora Tunic 300 1
002C 0032 004C FFEC Arrows (10) 20 10
0010 0050 0034 FFFD Recovery Heart 10 16
0001 0050 004C FFFD Arrows (30) 60 30
0000 FFCE 0034 FFEC Deku Nuts (5) 15 5
0002 FFCE 004C FFEC Arrows (50) 90 50
0007 FFB0 0034 FFFD Fish 200 1
0031 FFB0 004C FFFD Red Potion 50 1

Goron Shop

GlA X Y Z Get Item ID Cost Qt.
0003 0032 0034 FFEC Bombs (5) 25 5
0006 0032 004C FFEC Bombs (10) 50 10
002D 0050 0034 FFFD Bombs (20) 80 20
002E 0050 004C FFFD Bombs (30) 120 30
000E FFCE 0034 FFEC Goron Tunic 200 1
0010 FFCE 004C FFEC Recovery Heart 10 16
0030 FFB0 0034 FFFD Red Potion 40 1
0010 FFB0 004C FFFD Recovery Heart 10 16

Ingo's Shop (Unused)

  • Variable: 0009
  • Object Dependency: gameplay_keep (0001, Shared assets for actors (always loaded))
GlA X Y Z Get Item ID Cost Qt.
0013 0032 0034 FFEC [Ingo Milk] 10000 1
0013 0032 004C FFEC [Ingo Milk] 10000 1
0013 0050 0034 FFFD [Ingo Milk] 10000 1
0013 0050 004C FFFD [Ingo Milk] 10000 1
0014 FFCE 0034 FFEC [Ingo Egg] 10000 1
0014 FFCE 004C FFEC [Ingo Egg] 10000 1
0014 FFB0 0034 FFFD [Ingo Egg] 10000 1
0014 FFB0 004C FFFD [Ingo Egg] 10000 1

Happy Mask Shop

  • Variable: 000A
  • Object Dependency: gameplay_keep (0001, Shared assets for actors (always loaded))
GlA X Y Z Get Item ID Cost Qt.
0025 0032 0034 FFEC Gerudo Mask 0 1
0023 0032 004C FFEC Zora Mask 0 1
0022 0050 0034 FFFD Mask of Truth 0 1
0024 0050 004C FFFD Goron Mask 0 1
0020 FFCE 0034 FFEC Skull Mask 0 1
001E FFCE 004C FFEC Keaton Mask 0 1
0021 FFB0 0034 FFFD Bunny Hood 0 1
001F FFB0 004C FFFD Spooky Mask 0 1

Unused Shops

To load the alternate Bazaar, change the actor variable of the Bazaar shop keeper from 0004 to 0005. It's not that great, just cheaper bombs.

To load shop 0006 or 0009, change the variable for the Bazaar shop keeper to the one listed ones and replace the following objects in the Bazaar map.

00D8 to 00DF
00DC to 00DA

You can view the models fine, but the Description message ID, and the Buying message ID will have to be altered to make these shops completely functional again.

Console Output Strings

Original Text Translation
コキリの店 Kokiri Shop
薬屋 Potion Shop
夜の店 Night Shop
路地裏の店 Back Alley Shop
盾の店 Shield Shop
大人の店 Adult Shop
タロンの店 Talon's Shop
ゾーラの店 Zora Shop
ゴロン夜の店 Goron Night Shop
インゴーの店 Ingo's Shop
お面屋 Mask Shop
[41;37m引数がおかしいよ(arg_data=%d)!![m0 [41;37mFUNCTION IS ABNORMAL (arg_data=%d)!![m0
../z_en_oB1.c ../z_en_oB1.c
[41;37mバンクが無いよ!!(%s)[m0 [41;37mBANK DOESN'T EXIST!! (%s)[m0
../z_en_oB1.c ../z_en_oB1.c
[41;37m予備バンクが無いよ!!(%s)[m0 [41;37m NO SPARE BANKS!! (%s)[m0
../z_en_oB1.c ../z_en_oB1.c
[33m%s[%d]:★★★ 会話終了!! ★★★[m [33m%s[%d]:★★★ CONVERSATINO COMPLETE!! ★★★[m
../z_en_oB1.c ../z_en_oB1.c
[33m★★★ 会話開始!! ★★★[m [33m★★★ CONVERSATION START!! ★★★[m
「スティック左右で品物みてくれ!」 "MOVE THE JOYSTICK LEFT AND RIGHT TO EXAMINE THE GOODS!"
 %s[%d]: %s[%d]:[32mZOOMING!![m
[32mズーム中!![m
../z_en_oB1.c ../z_en_oB1.c
 %s[%d]: %s[%d]:[32mZOOMING!![m
[32mズーム中!![m
../z_en_oB1.c ../z_en_oB1.c
 %s[%d]: %s[%d]:[32mZOOMING!![m
[32mズーム中!![m
../z_en_oB1.c ../z_en_oB1.c
[33m初めて手にいれた!![m [33mOBTAINED FOR THE FIRST TIME!![m
   
[33m持ち上げ開始!![m [33mHOLDING ITEM UP START!![m
   
 %s[%d]: %s[%d]:[32mZOOMING!![m
[32mズーム中!![m
../z_en_oB1.c ../z_en_oB1.c
 %s[%d]: %s[%d]:[32mZOOMING!![m
[32mズーム中!![m
../z_en_oB1.c ../z_en_oB1.c
 %s[%d]: %s[%d]:[32mZOOMING!![m
[32mズーム中!![m
../z_en_oB1.c ../z_en_oB1.c
 %s[%d]: %s[%d]:[32mZOOMING!![m
[32mズーム中!![m
../z_en_oB1.c ../z_en_oB1.c
 %s[%d]: %s[%d]:[32mZOOMING!![m
[32mズーム中!![m
../z_en_oB1.c ../z_en_oB1.c
店主の依頼 ( %d ) SHOPKEEPER REQUEST ( %d )
 %s[%d]: %s[%d]:
[32mズーム中!![m [32mZOOMING!![m
../z_en_oB1.c ../z_en_oB1.c
[33m★★★ 続けるよ!! ★★★[m [33m★★★ CONTINUE!! ★★★[m
[33m★★★ やめるよ!! ★★★[m [33m★★★ QUIT!! ★★★[m
[41;37m★★★ 警告!! 棚がないよ!! ★★★[m [41;37m★★★ WARNING!! THERE AREN'T ANY SHELVES!! ★★★[m
[33m◇◇◇ 店のおやじ( %d ) 初期設定 ◇◇◇[m [33m◇◇◇ SHOPKEEPER ( %d ) INITIAL SETTINGS ◇◇◇[m
../z_en_oB1.c ../z_en_oB1.c
../z_en_oB1.c ../z_en_oB1.c
../z_en_oB1.c ../z_en_oB1.c
../z_en_oB1.c ../z_en_oB1.c
../z_en_oB1.c ../z_en_oB1.c
../z_en_oB1.c ../z_en_oB1.c
../z_en_oB1.c ../z_en_oB1.c
../z_en_oB1.c ../z_en_oB1.c
../z_en_oB1.c ../z_en_oB1.c
../z_en_oB1.c ../z_en_oB1.c
../z_en_oB1.c ../z_en_oB1.c
../z_en_oB1.c ../z_en_oB1.c
../z_en_oB1.c ../z_en_oB1.c
../z_en_oB1.c ../z_en_oB1.c
../z_en_oB1.c ../z_en_oB1.c
../z_en_oB1.c ../z_en_oB1.c
../z_en_oB1.c ../z_en_oB1.c
../z_en_oB1.c ../z_en_oB1.c
../z_en_oB1.c ../z_en_oB1.c
../z_en_oB1.c ../z_en_oB1.c
../z_en_oB1.c ../z_en_oB1.c
../z_en_oB1.c ../z_en_oB1.c

Color Changing

Item Select Cursor from Pulsing Green to Pulsing Blue (Debug ROM to match NTSC 1.0 colors)

E7C80C - Replace the first two bytes with 306F
E7C81C - Replace the first two bytes with 01AA