Translating code for potion refill in level two